So out of nowhere after its been working fine, this morning I turned on my pc and went to connect to my vpn and it connected fine, however it seems none of my computers internet is at all routing through the VPN at all even tho its connected. I also noticed the errors "unable to redirect default gateway -- VPN gate paramerter ( --route-gateway or ifconfig)" and after some research it seems that this is my issue. I just cant seem to figure out how to fix it after 4 hours of trying, any suggestions? I tried adding "redirect-gateway def1" to my resolved.conf and then restarting the pc but still the same thing happens. What I don't understand is its been working completely fine for months and now today boom this issue. Would appreciate any suggestions, I am on ubuntu linux, and super new to linux!
Mon Jan 8 19:14:11 2018 us=248905 LZO compression initializing Mon Jan 8 19:14:11 2018 us=249220 Control Channel MTU parms [ L:1624 D:1210 EF:40 EB:0 ET:0 EL:3 ] Mon Jan 8 19:14:11 2018 us=279415 Data Channel MTU parms [ L:1624 D:1450 EF:124 EB:406 ET:0 EL:3 ] Mon Jan 8 19:14:11 2018 us=279618 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1572,tun-mtu 1500,proto TCPv4_CLIENT,comp-lzo,cipher AES-256-CBC,auth SHA256,keysize 256,key-method 2,tls-client' Mon Jan 8 19:14:11 2018 us=279681 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1572,tun-mtu 1500,proto TCPv4_SERVER,comp-lzo,cipher AES-256-CBC,auth SHA256,keysize 256,key-method 2,tls-server' Mon Jan 8 19:14:11 2018 us=279762 TCP/UDP: Preserving recently used remote address: [AF_INET]172.98.73.9:1194 Mon Jan 8 19:14:11 2018 us=279882 Socket Buffers: R=[87380->87380] S=[16384->16384] Mon Jan 8 19:14:11 2018 us=279964 Attempting to establish TCP connection with [AF_INET]172.98.73.9:1194 [nonblock] Mon Jan 8 19:14:12 2018 us=280544 TCP connection established with [AF_INET]172.98.73.9:1194 Mon Jan 8 19:14:12 2018 us=280695 TCP_CLIENT link local: (not bound) Mon Jan 8 19:14:12 2018 us=280760 TCP_CLIENT link remote: [AF_INET]172.98.73.9:1194 WRMon Jan 8 19:14:12 2018 us=752497 TLS: Initial packet from [AF_INET]172.98.73.9:1194, sid=cb43d3ae fe261473 WMon Jan 8 19:14:12 2018 us=752797 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this WRWRRRWWRWRWRRWWRWRRRWWRWRWRRWWRWRRRWWRWRWRRRWWRWRWRWRMon Jan 8 19:14:14 2018 us=968282 VERIFY OK: depth=1, C=SM, ST=CA, L=Serravalle, O=Sareta S.r.l., Serravalle (R.S.M.), OU=SpyOFF.com, CN=ovpngw.spyoff.com, name=SpyOFF, emailAddress=
support@spyoff.com Mon Jan 8 19:14:14 2018 us=969049 Validating certificate key usage Mon Jan 8 19:14:14 2018 us=969098 ++ Certificate has key usage 00a0, expects 00a0 Mon Jan 8 19:14:14 2018 us=969130 VERIFY KU OK Mon Jan 8 19:14:14 2018 us=969262 Validating certificate extended key usage Mon Jan 8 19:14:14 2018 us=969302 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication Mon Jan 8 19:14:14 2018 us=969335 VERIFY EKU OK Mon Jan 8 19:14:14 2018 us=969366 VERIFY OK: depth=0, C=SM, ST=CA, L=Serravalle, O=Sareta S.r.l., Serravalle (R.S.M.), OU=SpyOFF.com, CN=.spyoff.com, name=SpyOFF, emailAddress=
support@spyoff.com RRWWRWRWRWRRWWRWRWRWRRWWMon Jan 8 19:14:15 2018 us=783589 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA Mon Jan 8 19:14:15 2018 us=783726 [.spyoff.com] Peer Connection Initiated with [AF_INET]172.98.73.9:1194 Mon Jan 8 19:14:16 2018 us=956364 SENT CONTROL [*.spyoff.com]: 'PUSH_REQUEST' (status=1) WRRRRMon Jan 8 19:14:17 2018 us=212260 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 172.16.1.1,route 172.16.1.1,topology net30,ping 10,ping-restart 120' Mon Jan 8 19:14:17 2018 us=212514 OPTIONS IMPORT: timers and/or timeouts modified Mon Jan 8 19:14:17 2018 us=212554 OPTIONS IMPORT: --ifconfig/up options modified Mon Jan 8 19:14:17 2018 us=212574 OPTIONS IMPORT: route options modified Mon Jan 8 19:14:17 2018 us=212595 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified Mon Jan 8 19:14:17 2018 us=212671 Data Channel MTU parms [ L:1572 D:1450 EF:72 EB:406 ET:0 EL:3 ] Mon Jan 8 19:14:17 2018 us=212976 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key Mon Jan 8 19:14:17 2018 us=213030 Data Channel Encrypt: Using 256 bit message hash 'SHA256' for HMAC authentication Mon Jan 8 19:14:17 2018 us=213068 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key Mon Jan 8 19:14:17 2018 us=213121 Data Channel Decrypt: Using 256 bit message hash 'SHA256' for HMAC authentication Mon Jan 8 19:14:17 2018 us=213426 ROUTE_GATEWAY 192.168.0.1/255.255.255.0 IFACE=wlo1 HWADDR=e0:94:67:55:2c:9c Mon Jan 8 19:14:17 2018 us=213476 OpenVPN ROUTE: OpenVPN needs a gateway parameter for a --route option and no default was specified by either --route-gateway or --ifconfig options Mon Jan 8 19:14:17 2018 us=213511 OpenVPN ROUTE: failed to parse/resolve route for host/network: 172.16.1.1 Mon Jan 8 19:14:17 2018 us=214286 TUN/TAP device tun0 opened Mon Jan 8 19:14:17 2018 us=214364 TUN/TAP TX queue length set to 100 Mon Jan 8 19:14:17 2018 us=214461 NOTE: unable to redirect default gateway -- VPN gateway parameter (--route-gateway or --ifconfig) is missing Mon Jan 8 19:14:17 2018 us=214637 Initialization Sequence Completed
and heres my resolved.conf file
[Resolve]
DNS=8.8.4.4
FallbackDNS=8.8.8.8
Domains=
LLMNR=yes
DNSSEC=no
Cache=yes
DNSStubListener=udp
redirect-gateway def1