Kim Puleston
Regular Contributor
Hey Chaps,
So I seem to be having issues accessing the internet after I activate the VPN. A little history first
Router: GT:AC5300
Firmware: 3.0.0.4.384.20648
My WAN is on a Static IP to my main gateway
DNS Servers are set to Open DNS
My VPN Provider is Torguard
I am using OpenVPN as my VPN Method
All other settings on the router are defaults as I wanted to test the VPN without any other influences that I may accidently put into place.
As soon as I disable the VPN connection my internet is back in full swing. For clarity sakes, please see below a VPN connection log.
.................................................................................................................................
Apr 12 19:39:40 vpnclient5[9788]: OpenVPN 2.3.2 arm-buildroot-linux-gnueabi [SSL (OpenSSL)] [LZO] [EPOLL] [eurephia] [MH] [IPv6] built on Mar 26 2018
Apr 12 19:39:40 vpnclient5[9788]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Apr 12 19:39:40 vpnclient5[9788]: Control Channel Authentication: using 'static.key' as a OpenVPN static key file
Apr 12 19:39:40 vpnclient5[9788]: Outgoing Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
Apr 12 19:39:40 vpnclient5[9788]: Incoming Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
Apr 12 19:39:40 vpnclient5[9788]: Socket Buffers: R=[524288->524288] S=[524288->524288]
Apr 12 19:39:40 vpnclient5[9789]: UDPv4 link local: [undef]
Apr 12 19:39:40 vpnclient5[9789]: UDPv4 link remote: [AF_INET]88.150.181.10:1912
Apr 12 19:39:40 vpnclient5[9789]: TLS: Initial packet from [AF_INET]88.150.181.10:1912, sid=bedcc0ec fd3d7eca
Apr 12 19:39:40 vpnclient5[9789]: WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Apr 12 19:39:41 vpnclient5[9789]: VERIFY OK: depth=1, C=US, ST=FL, L=Orlando, O=TorGuard, OU=VPN, CN=TG-OVPN-CA, name=TorGuard, emailAddress=sysadmin@torguard.net
Apr 12 19:39:41 vpnclient5[9789]: Validating certificate key usage
Apr 12 19:39:41 vpnclient5[9789]: ++ Certificate has key usage 00a0, expects 00a0
Apr 12 19:39:41 vpnclient5[9789]: VERIFY KU OK
Apr 12 19:39:41 vpnclient5[9789]: Validating certificate extended key usage
Apr 12 19:39:41 vpnclient5[9789]: ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Apr 12 19:39:41 vpnclient5[9789]: VERIFY EKU OK
Apr 12 19:39:41 vpnclient5[9789]: VERIFY OK: depth=0, C=US, ST=FL, L=Orlando, O=TorGuard, OU=VPN, CN=TG-OVPN-CA, name=TorGuard, emailAddress=sysadmin@torguard.net
Apr 12 19:39:41 vpnclient5[9789]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1602', remote='link-mtu 1570'
Apr 12 19:39:41 vpnclient5[9789]: WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1532', remote='tun-mtu 1500'
Apr 12 19:39:41 vpnclient5[9789]: WARNING: 'cipher' is used inconsistently, local='cipher AES-256-CBC', remote='cipher AES-128-CBC'
Apr 12 19:39:41 vpnclient5[9789]: WARNING: 'keysize' is used inconsistently, local='keysize 256', remote='keysize 128'
Apr 12 19:39:41 vpnclient5[9789]: Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Apr 12 19:39:41 vpnclient5[9789]: Data Channel Encrypt: Using 256 bit message hash 'SHA256' for HMAC authentication
Apr 12 19:39:41 vpnclient5[9789]: Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Apr 12 19:39:41 vpnclient5[9789]: Data Channel Decrypt: Using 256 bit message hash 'SHA256' for HMAC authentication
Apr 12 19:39:41 vpnclient5[9789]: Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Apr 12 19:39:41 vpnclient5[9789]: [TG-OVPN-CA] Peer Connection Initiated with [AF_INET]88.150.181.10:1912
Apr 12 19:39:43 vpnclient5[9789]: SENT CONTROL [TG-OVPN-CA]: 'PUSH_REQUEST' (status=1)
Apr 12 19:39:43 vpnclient5[9789]: PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 10.9.0.1,dhcp-option DNS 10.8.0.1,route 10.35.0.1,topology net30,ping 5,ping-restart 30,ifconfig 10.35.0.6 10.35.0.5'
Apr 12 19:39:43 vpnclient5[9789]: OPTIONS IMPORT: timers and/or timeouts modified
Apr 12 19:39:43 vpnclient5[9789]: OPTIONS IMPORT: --ifconfig/up options modified
Apr 12 19:39:43 vpnclient5[9789]: OPTIONS IMPORT: route options modified
Apr 12 19:39:43 vpnclient5[9789]: OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Apr 12 19:39:43 vpnclient5[9789]: TUN/TAP device tun15 opened
Apr 12 19:39:43 vpnclient5[9789]: TUN/TAP TX queue length set to 100
Apr 12 19:39:43 vpnclient5[9789]: do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Apr 12 19:39:43 vpnclient5[9789]: /sbin/ifconfig tun15 10.35.0.6 pointopoint 10.35.0.5 mtu 1500
Apr 12 19:39:43 vpnclient5[9789]: /etc/openvpn/ovpnc-up 5 tun15 1500 1602 10.35.0.6 10.35.0.5 init
Apr 12 19:39:43 vpnclient5[9789]: Initialization Sequence Completed
Apr 12 19:40:13 vpnclient5[9789]: [TG-OVPN-CA] Inactivity timeout (--ping-restart), restarting
Apr 12 19:40:13 vpnclient5[9789]: SIGUSR1[soft,ping-restart] received, process restarting
Apr 12 19:40:13 vpnclient5[9789]: Restart pause, 2 second(s)
Apr 12 19:40:15 vpnclient5[9789]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Apr 12 19:40:15 vpnclient5[9789]: Socket Buffers: R=[524288->524288] S=[524288->524288]
Apr 12 19:40:55 vpnclient5[9789]: RESOLVE: Cannot resolve host address: uk.torguardvpnaccess.com: Name or service not known
.............................................................................................
I see that it fails to resolve to the VPN address. I did check with my provider and they state the service is operating normally which I confirmed by using the Torguard PC application and it connected just fine.
Any ideas ?
Thanks guys.
So I seem to be having issues accessing the internet after I activate the VPN. A little history first
Router: GT:AC5300
Firmware: 3.0.0.4.384.20648
My WAN is on a Static IP to my main gateway
DNS Servers are set to Open DNS
My VPN Provider is Torguard
I am using OpenVPN as my VPN Method
All other settings on the router are defaults as I wanted to test the VPN without any other influences that I may accidently put into place.
As soon as I disable the VPN connection my internet is back in full swing. For clarity sakes, please see below a VPN connection log.
.................................................................................................................................
Apr 12 19:39:40 vpnclient5[9788]: OpenVPN 2.3.2 arm-buildroot-linux-gnueabi [SSL (OpenSSL)] [LZO] [EPOLL] [eurephia] [MH] [IPv6] built on Mar 26 2018
Apr 12 19:39:40 vpnclient5[9788]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Apr 12 19:39:40 vpnclient5[9788]: Control Channel Authentication: using 'static.key' as a OpenVPN static key file
Apr 12 19:39:40 vpnclient5[9788]: Outgoing Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
Apr 12 19:39:40 vpnclient5[9788]: Incoming Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
Apr 12 19:39:40 vpnclient5[9788]: Socket Buffers: R=[524288->524288] S=[524288->524288]
Apr 12 19:39:40 vpnclient5[9789]: UDPv4 link local: [undef]
Apr 12 19:39:40 vpnclient5[9789]: UDPv4 link remote: [AF_INET]88.150.181.10:1912
Apr 12 19:39:40 vpnclient5[9789]: TLS: Initial packet from [AF_INET]88.150.181.10:1912, sid=bedcc0ec fd3d7eca
Apr 12 19:39:40 vpnclient5[9789]: WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Apr 12 19:39:41 vpnclient5[9789]: VERIFY OK: depth=1, C=US, ST=FL, L=Orlando, O=TorGuard, OU=VPN, CN=TG-OVPN-CA, name=TorGuard, emailAddress=sysadmin@torguard.net
Apr 12 19:39:41 vpnclient5[9789]: Validating certificate key usage
Apr 12 19:39:41 vpnclient5[9789]: ++ Certificate has key usage 00a0, expects 00a0
Apr 12 19:39:41 vpnclient5[9789]: VERIFY KU OK
Apr 12 19:39:41 vpnclient5[9789]: Validating certificate extended key usage
Apr 12 19:39:41 vpnclient5[9789]: ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Apr 12 19:39:41 vpnclient5[9789]: VERIFY EKU OK
Apr 12 19:39:41 vpnclient5[9789]: VERIFY OK: depth=0, C=US, ST=FL, L=Orlando, O=TorGuard, OU=VPN, CN=TG-OVPN-CA, name=TorGuard, emailAddress=sysadmin@torguard.net
Apr 12 19:39:41 vpnclient5[9789]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1602', remote='link-mtu 1570'
Apr 12 19:39:41 vpnclient5[9789]: WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1532', remote='tun-mtu 1500'
Apr 12 19:39:41 vpnclient5[9789]: WARNING: 'cipher' is used inconsistently, local='cipher AES-256-CBC', remote='cipher AES-128-CBC'
Apr 12 19:39:41 vpnclient5[9789]: WARNING: 'keysize' is used inconsistently, local='keysize 256', remote='keysize 128'
Apr 12 19:39:41 vpnclient5[9789]: Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Apr 12 19:39:41 vpnclient5[9789]: Data Channel Encrypt: Using 256 bit message hash 'SHA256' for HMAC authentication
Apr 12 19:39:41 vpnclient5[9789]: Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Apr 12 19:39:41 vpnclient5[9789]: Data Channel Decrypt: Using 256 bit message hash 'SHA256' for HMAC authentication
Apr 12 19:39:41 vpnclient5[9789]: Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Apr 12 19:39:41 vpnclient5[9789]: [TG-OVPN-CA] Peer Connection Initiated with [AF_INET]88.150.181.10:1912
Apr 12 19:39:43 vpnclient5[9789]: SENT CONTROL [TG-OVPN-CA]: 'PUSH_REQUEST' (status=1)
Apr 12 19:39:43 vpnclient5[9789]: PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 10.9.0.1,dhcp-option DNS 10.8.0.1,route 10.35.0.1,topology net30,ping 5,ping-restart 30,ifconfig 10.35.0.6 10.35.0.5'
Apr 12 19:39:43 vpnclient5[9789]: OPTIONS IMPORT: timers and/or timeouts modified
Apr 12 19:39:43 vpnclient5[9789]: OPTIONS IMPORT: --ifconfig/up options modified
Apr 12 19:39:43 vpnclient5[9789]: OPTIONS IMPORT: route options modified
Apr 12 19:39:43 vpnclient5[9789]: OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Apr 12 19:39:43 vpnclient5[9789]: TUN/TAP device tun15 opened
Apr 12 19:39:43 vpnclient5[9789]: TUN/TAP TX queue length set to 100
Apr 12 19:39:43 vpnclient5[9789]: do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Apr 12 19:39:43 vpnclient5[9789]: /sbin/ifconfig tun15 10.35.0.6 pointopoint 10.35.0.5 mtu 1500
Apr 12 19:39:43 vpnclient5[9789]: /etc/openvpn/ovpnc-up 5 tun15 1500 1602 10.35.0.6 10.35.0.5 init
Apr 12 19:39:43 vpnclient5[9789]: Initialization Sequence Completed
Apr 12 19:40:13 vpnclient5[9789]: [TG-OVPN-CA] Inactivity timeout (--ping-restart), restarting
Apr 12 19:40:13 vpnclient5[9789]: SIGUSR1[soft,ping-restart] received, process restarting
Apr 12 19:40:13 vpnclient5[9789]: Restart pause, 2 second(s)
Apr 12 19:40:15 vpnclient5[9789]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Apr 12 19:40:15 vpnclient5[9789]: Socket Buffers: R=[524288->524288] S=[524288->524288]
Apr 12 19:40:55 vpnclient5[9789]: RESOLVE: Cannot resolve host address: uk.torguardvpnaccess.com: Name or service not known
.............................................................................................
I see that it fails to resolve to the VPN address. I did check with my provider and they state the service is operating normally which I confirmed by using the Torguard PC application and it connected just fine.
Any ideas ?
Thanks guys.