Skip to content

No connection when I stop Openvpn from ui #924

Answered by billz
malex2005 asked this question in Q&A
Discussion options

You must be logged in to vote

That's an odd one. It's possible that the route created for the tun0 interface isn't being properly removed. To check for this, drop to the shell and execute journalctl | grep openvpn. For example, this sequence is typical when OpenVPN is stopped:

raspberrypi sudo[22418]: www-data : TTY=unknown ; PWD=/var/www/html ; USER=root ; COMMAND=/bin/systemctl stop openvpn-client@client
raspberrypi openvpn[22322]: event_wait : Interrupted system call (code=4)
raspberrypi openvpn[22322]: /sbin/ip route del 192.145.80.123/32
raspberrypi openvpn[22322]: /sbin/ip route del 0.0.0.0/1
raspberrypi openvpn[22322]: /sbin/ip route del 128.0.0.0/1
raspberrypi openvpn[22322]: Closing TUN/TAP interface
raspberr…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@malex2005
Comment options

Answer selected by malex2005
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #923 on June 01, 2021 15:30.