IOS App disconnect shuts down server Tap adapter

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
naturalforce
OpenVpn Newbie
Posts: 1
Joined: Tue Feb 05, 2013 1:27 am

IOS App disconnect shuts down server Tap adapter

Post by naturalforce » Tue Feb 05, 2013 1:54 am

Hello All,

Has anyone ran into a situation where disconnecting the VPN connection (via OpenVPN IOS App) causes the OpenVPN server TAP adapter to disconnect/terminate? When this happens, the OpenVPN .ovpn (server side) profile needs reconnected/relaunched to allow further VPN connections. Just wondering if this is a bug or something. Funny thing is, if I connect remotely using a Windows machine and the same client .ovpn profile, the server TAP adapter stays up once I disconnect.

The following are the last few lines of the log (server side) during client VPN disconnect:

Mon Feb 04 20:46:54 2013 us=703125 TCP/UDP: Closing socket
Mon Feb 04 20:46:54 2013 us=703125 Closing TUN/TAP interface
Mon Feb 04 20:46:54 2013 us=718750 SIGTERM[soft,remote-exit] received, process exiting
Mon Feb 04 20:46:54 2013 us=718750 MANAGEMENT: >STATE:1360028814,EXITING,remote-exit,,

Does this indicate that the OpenVPN IOS App is sending a "SIGTERM" causing the server side termination? If so, is there anyway to prevent this signal from being transmitted or acted upon.

Any help would be appreciated.

I'm running OpenVPN 2.3.0 i686-w64-mingw32 on the server and the latest (only) revision of the OpenVPN IOS App.

User avatar
jamesyonan
OpenVPN Inc.
Posts: 169
Joined: Thu Jan 24, 2013 12:13 am

Re: IOS App disconnect shuts down server Tap adapter

Post by jamesyonan » Tue Feb 05, 2013 11:44 pm

The "SIGTERM" you are seeing on the server is not a real SIGTERM signal that affects the whole server process. It only affects the specific client instance object on the server that is serving the client.

James

Post Reply