LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   OpenVPN disconnect (https://www.linuxquestions.org/questions/linux-networking-3/openvpn-disconnect-287352/)

allelopath 02-07-2005 01:09 PM

OpenVPN disconnect
 
I am using OpenVPN to connect to a remote server,.
I do so with this command:
/usr/sbin/openvpn --remote 123.45.678.90 --dev tunX

To disconnect, I did a ctrl-z
Apparently this doesn't really disconnect, because when i reconnect, i get this msg:

Mon Feb 7 12:02:42 2005 0[0]: OpenVPN 1.6_rc4 i686-pc-linux-gnu [SSL] [LZO] [PTHREAD] built on Oct 2 2004
Mon Feb 7 12:02:42 2005 1[0]: ******* WARNING *******: all encryption and authentication features disabled -- all data will be tunnelled ascleartext
Mon Feb 7 12:02:42 2005 2[0]: Socket bind failed on local address [undef]:5000: Address already in use
Mon Feb 7 12:02:42 2005 3[0]: Exiting

How do I really disconnect?

neo77777 02-07-2005 09:24 PM

ctrl-z will suspend the job, not abort it. try ctrl-z and then type bg - it will send the job to background as if you typed
command &
to bring it back to foreground, ctrl-z and fg, and ctrl-c will abort the job in foreground.

allelopath 02-07-2005 10:46 PM

ok thanks


All times are GMT -5. The time now is 01:16 PM.