suddenly can no longer access internet through an OpenVPN connection

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
sixpiece
OpenVpn Newbie
Posts: 4
Joined: Thu May 27, 2021 7:08 pm

suddenly can no longer access internet through an OpenVPN connection

Post by sixpiece » Thu May 27, 2021 7:11 pm

Hello,

I set up an Open VPN connection, it was working beautifully for 2 months and now suddenly it has stopped working.

Can I fix it or since it is a VPS should I just destroy it and start again? Is there any way to be able to diagnose the error?

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: suddenly can no longer access internet through an OpenVPN connection

Post by TinCanTech » Thu May 27, 2021 7:45 pm

See your log files.

viewtopic.php?f=30&t=22603

sixpiece
OpenVpn Newbie
Posts: 4
Joined: Thu May 27, 2021 7:08 pm

Re: suddenly can no longer access internet through an OpenVPN connection

Post by sixpiece » Thu May 27, 2021 7:59 pm

here is a small section from the log:

Code: Select all

client2/104.215.148.63:63978 PUSH: Received control message: 'PUSH_REQUEST'
client2/104.215.148.63:63978 SENT CONTROL [client2]: 'PUSH_REPLY,redirect-gateway def1,route 192.168.0.0 255.255.255.0,dhcp-option DNS 212.102.225.2,dhcp-option DNS 212.51.17.1,route-gateway 10.8.0.1,topology subnet,ping 20,ping-restart 60,ifconfig 10.8.0.2 255.255.255.0,peer-id 0,cipher AES-256-GCM' (status=1)
client2/104.215.148.63:63978 Data Channel: using negotiated cipher 'AES-256-GCM'
client2/104.215.148.63:63978 Data Channel Encrypt: Cipher 'AES-256-GCM' initialized with 256 bit key
client2/104.215.148.63:63978 Data Channel Decrypt: Cipher 'AES-256-GCM' initialized with 256 bit key
client2/104.215.148.63:63978 SIGTERM[soft,remote-exit] received, client-instance exiting
104.215.148.63:51501 TLS: Initial packet from [AF_INET]104.215.148.63:51501, sid=396ae166 5688a60d
104.215.148.63:51501 VERIFY OK: depth=1, CN=Easy-RSA CA
104.215.148.63:51501 VERIFY OK: depth=0, CN=client2
104.215.148.63:51501 peer info: IV_VER=3.git::58b92569
104.215.148.63:51501 peer info: IV_PLAT=ios
104.215.148.63:51501 peer info: IV_NCP=2
104.215.148.63:51501 peer info: IV_TCPNL=1
104.215.148.63:51501 peer info: IV_PROTO=2
104.215.148.63:51501 peer info: IV_LZO_STUB=1
104.215.148.63:51501 peer info: IV_COMP_STUB=1
104.215.148.63:51501 peer info: IV_COMP_STUBv2=1
104.215.148.63:51501 peer info: IV_AUTO_SESS=1
104.215.148.63:51501 peer info: IV_GUI_VER=net.openvpn.connect.ios_3.2.3-3760
104.215.148.63:51501 peer info: IV_SSO=openurl
104.215.148.63:51501 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
104.215.148.63:51501 [client2] Peer Connection Initiated with [AF_INET]104.215.148.63:51501
client2/104.215.148.63:51501 MULTI_sva: pool returned IPv4=10.8.0.2, IPv6=(Not enabled)
client2/104.215.148.63:51501 MULTI: Learn: 10.8.0.2 -> client2/104.215.148.63:51501
client2/104.215.148.63:51501 MULTI: primary virtual IP for client2/104.215.148.63:51501: 10.8.0.2
client2/104.215.148.63:51501 PUSH: Received control message: 'PUSH_REQUEST'
client2/104.215.148.63:51501 SENT CONTROL [client2]: 'PUSH_REPLY,redirect-gateway def1,route 192.168.0.0 255.255.255.0,dhcp-option DNS 212.102.225.2,dhcp-option DNS 212.51.17.1,route-gateway 10.8.0.1,topology subnet,ping 20,ping-restart 60,ifconfig 10.8.0.2 255.255.255.0,peer-id 0,cipher AES-256-GCM' (status=1)
client2/104.215.148.63:51501 Data Channel: using negotiated cipher 'AES-256-GCM'
client2/104.215.148.63:51501 Data Channel Encrypt: Cipher 'AES-256-GCM' initialized with 256 bit key
client2/104.215.148.63:51501 Data Channel Decrypt: Cipher 'AES-256-GCM' initialized with 256 bit key
client2/104.215.148.63:51501 SIGTERM[soft,remote-exit] received, client-instance exiting
104.215.148.63:57800 TLS: Initial packet from [AF_INET]104.215.148.63:57800, sid=05fd7ae4 90f36a4c
104.215.148.63:57800 VERIFY OK: depth=1, CN=Easy-RSA CA
104.215.148.63:57800 VERIFY OK: depth=0, CN=client2
104.215.148.63:57800 peer info: IV_VER=3.git::58b92569
104.215.148.63:57800 peer info: IV_PLAT=ios
104.215.148.63:57800 peer info: IV_NCP=2
104.215.148.63:57800 peer info: IV_TCPNL=1
104.215.148.63:57800 peer info: IV_PROTO=2
104.215.148.63:57800 peer info: IV_LZO_STUB=1
104.215.148.63:57800 peer info: IV_COMP_STUB=1
104.215.148.63:57800 peer info: IV_COMP_STUBv2=1
104.215.148.63:57800 peer info: IV_AUTO_SESS=1
104.215.148.63:57800 peer info: IV_GUI_VER=net.openvpn.connect.ios_3.2.3-3760
104.215.148.63:57800 peer info: IV_SSO=openurl
104.215.148.63:57800 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
104.215.148.63:57800 [client2] Peer Connection Initiated with [AF_INET]104.215.148.63:57800
client2/104.215.148.63:57800 MULTI_sva: pool returned IPv4=10.8.0.2, IPv6=(Not enabled)
client2/104.215.148.63:57800 MULTI: Learn: 10.8.0.2 -> client2/104.215.148.63:57800
client2/104.215.148.63:57800 MULTI: primary virtual IP for client2/104.215.148.63:57800: 10.8.0.2
client2/104.215.148.63:57800 PUSH: Received control message: 'PUSH_REQUEST'
client2/104.215.148.63:57800 SENT CONTROL [client2]: 'PUSH_REPLY,redirect-gateway def1,route 192.168.0.0 255.255.255.0,dhcp-option DNS 212.102.225.2,dhcp-option DNS 212.51.17.1,route-gateway 10.8.0.1,topology subnet,ping 20,ping-restart 60,ifconfig 10.8.0.2 255.255.255.0,peer-id 0,cipher AES-256-GCM' (status=1)
client2/104.215.148.63:57800 Data Channel: using negotiated cipher 'AES-256-GCM'
client2/104.215.148.63:57800 Data Channel Encrypt: Cipher 'AES-256-GCM' initialized with 256 bit key
client2/104.215.148.63:57800 Data Channel Decrypt: Cipher 'AES-256-GCM' initialized with 256 bit key
client2/104.215.148.63:57800 SIGTERM[soft,remote-exit] received, client-instance exiting

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: suddenly can no longer access internet through an OpenVPN connection

Post by TinCanTech » Thu May 27, 2021 8:13 pm

Looks fine to me.

sixpiece
OpenVpn Newbie
Posts: 4
Joined: Thu May 27, 2021 7:08 pm

Re: suddenly can no longer access internet through an OpenVPN connection

Post by sixpiece » Thu May 27, 2021 9:08 pm

it's not working for some reason... It was working great and then all of a sudden no more traffic..

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: suddenly can no longer access internet through an OpenVPN connection

Post by TinCanTech » Thu May 27, 2021 9:26 pm

Quote from Confuser: If no more traffic then safe to cross highway

sixpiece
OpenVpn Newbie
Posts: 4
Joined: Thu May 27, 2021 7:08 pm

Re: suddenly can no longer access internet through an OpenVPN connection

Post by sixpiece » Thu May 27, 2021 9:53 pm

I mean I can no longer use it to browse the web... as I was doing...

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: suddenly can no longer access internet through an OpenVPN connection

Post by TinCanTech » Thu May 27, 2021 10:14 pm

Which script did you use to install it.

Post Reply