2.3.3 OpenVPN client Connecting / Disconnecting accoring to Logs - but its not



  • EDIT:- Resolved - A bit of Google Fu turned up this - https://forum.pfsense.org/index.php?topic=79363.0

    So according to my system logs my OpenVPN client is connecting / disconnecting constantly - however as far as i can tell its not doing that at all.

    Feb 24 12:30:51 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:30:51 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:30:51 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:30:51 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:30:41 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:30:41 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:30:41 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:30:41 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:30:31 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:30:31 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:30:31 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:30:31 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:30:21 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:30:21 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:30:21 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:30:21 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:30:11 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:30:11 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:30:11 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:30:11 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:30:01 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:30:01 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:30:01 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:30:01 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:29:51 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:29:51 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:29:51 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:29:51 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:29:41 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:29:41 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:29:41 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:29:41 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:29:31 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:29:31 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:29:31 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:29:31 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:29:21 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:29:21 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:29:21 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:29:21 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:29:11 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:29:11 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:29:11 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:29:11 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:29:01 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:29:01 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:29:01 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:29:01 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:28:51 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:28:51 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:28:51 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:28:51 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:28:41 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:28:41 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:28:41 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:28:41 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:28:31 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:28:31 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:28:31 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:28:31 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:28:20 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:28:20 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:28:20 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:28:20 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:28:10 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:28:10 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:28:10 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:28:10 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:28:00 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:28:00 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:28:00 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:28:00 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:27:50 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:27:50 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:27:50 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:27:50 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:27:40 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:27:40 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:27:40 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:27:40 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:27:30 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:27:30 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:27:30 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:27:30 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:27:20 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:27:20 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:27:20 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:27:20 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:27:10 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:27:10 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:27:10 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:27:10 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:27:00 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:27:00 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:27:00 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:27:00 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:26:50 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:26:50 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:26:50 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:26:50 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:26:40 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:26:40 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:26:40 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:26:40 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:26:30 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:26:30 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:26:30 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:26:30 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:26:20 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:26:20 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:26:20 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:26:20 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:26:10 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:26:10 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:26:10 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:26:10 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:26:00 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:26:00 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:26:00 	openvpn 	72131 	MANAGEMENT: CMD 'state 1'
    Feb 24 12:26:00 	openvpn 	72131 	MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
    Feb 24 12:25:50 	openvpn 	72131 	MANAGEMENT: Client disconnected
    Feb 24 12:25:50 	openvpn 	72131 	MANAGEMENT: CMD 'status 2'
    Feb 24 12:25:50 	openvpn 	72131 	MANAGEMENT: CMD 'state 1' 
    

    Any ideas as to why im getting these log messages - seemed to start after 2.3.3 upgrade but that's maybe because i started checking the logs a bit more after the upgrade so i cant be 100%

    I route several computers via the VPN and i only have one client configured. Each of these machines has no issues with access to the internet, i don't experience any outage, a continuous ping to 8.8.8.8 also has 0 drops and my VPN IP is shown if i search for whats my ip on google etc from a VPN router machine. So im not sure whats going on here.


  • Rebel Alliance Developer Netgate

    That is not a client connecting/disconnecting. It's the GUI polling information for the widget or openvpn status. Your OpenVPN instance must be set for a verboseness level that logs that info.


Log in to reply