Hi, very strange thing happened to me today. Earlier today I was at a hotel and used OpenVPN with my netgear flawlessly. Then I traveled to another hotel this evening, and now OpenVPN connects but doesn't route, i.e. my IP is the hotel's IP rather than my VPN. This means I cannot RDP throughout my network unfortunately.
I troubleshot for about an hour and I
1) added some items to config "route-gateway 192.168.1.1"
2) ensured I was running client as admin
3) Remoted using TeamViewer and made sure that the NetGear VPN server selected "Route all internet traffic through router" and rebooted
This cleared up the previous route failures, but I'm still not getting an IP address in the Windows Taskbar Notification hover and still not routing into the VPN (still getting hotel's IP).
While it's not absolutely necessary that I fix this at this exact moment since I can use TeamViewer, TV is very slow and I'm curious to fix this - any help would be appreciated?
Sorry, just an amateur and wear multiple hats in a small business, so not an expert at this stuff, but it was very frustrating that it was working in AM but not PM and nothing was changed either on my side or in the office (it's Sunday so closed).
client
dev tap
proto udp
dev-node NETGEAR-VPN
remote XX.XX.XX.XX 12974
route-gateway 192.168.1.1
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
cipher AES-128-CBC
comp-lzo
verb 4
Most recent log - no unusual warnings or failures
Sun Oct 04 21:09:17 2020 us=181526 OpenVPN 2.4.7 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 25 2019
Sun Oct 04 21:09:17 2020 us=181526 Windows version 6.2 (Windows 8 or greater) 64bit
Sun Oct 04 21:09:17 2020 us=181526 library versions: OpenSSL 1.1.0j 20 Nov 2018, LZO 2.10
Enter Management Password:
Sun Oct 04 21:09:17 2020 us=182518 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Sun Oct 04 21:09:17 2020 us=182518 Need hold release from management interface, waiting...
Sun Oct 04 21:09:17 2020 us=660187 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Sun Oct 04 21:09:17 2020 us=762513 MANAGEMENT: CMD 'state on'
Sun Oct 04 21:09:17 2020 us=762831 MANAGEMENT: CMD 'log all on'
Sun Oct 04 21:09:18 2020 us=70762 MANAGEMENT: CMD 'echo all on'
Sun Oct 04 21:09:18 2020 us=75697 MANAGEMENT: CMD 'bytecount 5'
Sun Oct 04 21:09:18 2020 us=79405 MANAGEMENT: CMD 'hold off'
Sun Oct 04 21:09:18 2020 us=81395 MANAGEMENT: CMD 'hold release'
Sun Oct 04 21:09:18 2020 us=81395 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Sun Oct 04 21:09:18 2020 us=107679 LZO compression initializing
Sun Oct 04 21:09:18 2020 us=107679 Control Channel MTU parms [ L:1654 D:1212 EF:38 EB:0 ET:0 EL:3 ]
Sun Oct 04 21:09:18 2020 us=107679 Data Channel MTU parms [ L:1654 D:1450 EF:122 EB:411 ET:32 EL:3 ]
Sun Oct 04 21:09:18 2020 us=107679 Local Options String (VER=V4): 'V4,dev-type tap,link-mtu 1590,tun-mtu 1532,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Sun Oct 04 21:09:18 2020 us=107679 Expected Remote Options String (VER=V4): 'V4,dev-type tap,link-mtu 1590,tun-mtu 1532,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Sun Oct 04 21:09:18 2020 us=107679 TCP/UDP: Preserving recently used remote address: [AF_INET]XX.XX.XX.XX:12974
Sun Oct 04 21:09:18 2020 us=107679 Socket Buffers: R=[65536->65536] S=[65536->65536]
Sun Oct 04 21:09:18 2020 us=107679 UDP link local: (not bound)
Sun Oct 04 21:09:18 2020 us=107679 UDP link remote: [AF_INET]XX.XX.XX.XX:12974
Sun Oct 04 21:09:18 2020 us=107679 MANAGEMENT: >STATE:1601867358,WAIT,,,,,,
Sun Oct 04 21:09:18 2020 us=668079 MANAGEMENT: >STATE:1601867358,AUTH,,,,,,
Sun Oct 04 21:09:18 2020 us=668583 TLS: Initial packet from [AF_INET]XX.XX.XX.XX:12974, sid=5369f77d 83ec8fcf
Sun Oct 04 21:09:21 2020 us=650043 VERIFY OK: depth=1, C=TW, ST=TW, L=Taipei, O=netgear, OU=netgear, CN=netgear, emailAddress=mail@netgear.com
Sun Oct 04 21:09:21 2020 us=653979 VERIFY OK: depth=0, C=TW, ST=TW, O=netgear, OU=netgear, CN=netgear, emailAddress=mail@netgear.com
Sun Oct 04 21:09:23 2020 us=885782 Control Channel: TLSv1, cipher SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Sun Oct 04 21:09:23 2020 us=885782 [netgear] Peer Connection Initiated with [AF_INET]XX.XX.XX.XX:12974
Sun Oct 04 21:09:24 2020 us=651589 Key [AF_INET]XX.XX.XX.XX:12974 [0] not initialized (yet), dropping packet.
Sun Oct 04 21:09:24 2020 us=651589 MANAGEMENT: >STATE:1601867364,GET_CONFIG,,,,,,
Sun Oct 04 21:09:24 2020 us=682670 SENT CONTROL [netgear]: 'PUSH_REQUEST' (status=1)
Sun Oct 04 21:09:24 2020 us=941354 PUSH: Received control message: 'PUSH_REPLY,route 192.168.1.0 255.255.255.0,route-delay 5,redirect-gateway def1,route-gateway dhcp,ping 10,ping-restart 120'
Sun Oct 04 21:09:24 2020 us=972663 OPTIONS IMPORT: timers and/or timeouts modified
Sun Oct 04 21:09:24 2020 us=972663 OPTIONS IMPORT: route options modified
Sun Oct 04 21:09:24 2020 us=972663 OPTIONS IMPORT: route-related options modified
Sun Oct 04 21:09:24 2020 us=972663 Data Channel MTU parms [ L:1590 D:1450 EF:58 EB:411 ET:32 EL:3 ]
Sun Oct 04 21:09:24 2020 us=973095 Outgoing Data Channel: Cipher 'AES-128-CBC' initialized with 128 bit key
Sun Oct 04 21:09:24 2020 us=973095 Outgoing Data Channel: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Oct 04 21:09:24 2020 us=973095 Incoming Data Channel: Cipher 'AES-128-CBC' initialized with 128 bit key
Sun Oct 04 21:09:24 2020 us=973095 Incoming Data Channel: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Oct 04 21:09:24 2020 us=973095 interactive service msg_channel=0
Sun Oct 04 21:09:24 2020 us=983510 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 I=24 HWADDR=b4:86:55:f5:01:05
Sun Oct 04 21:09:25 2020 us=2381 open_tun
Sun Oct 04 21:09:25 2020 us=3844 TAP-WIN32 device [NETGEAR-VPN] opened: \\.\Global\{5A4A5763-65A5-4414-8238-8B982129BFD0}.tap
Sun Oct 04 21:09:25 2020 us=3844 TAP-Windows Driver Version 9.23
Sun Oct 04 21:09:25 2020 us=3844 TAP-Windows MTU=1500
Sun Oct 04 21:09:25 2020 us=4341 Successful ARP Flush on interface [13] {5A4A5763-65A5-4414-8238-8B982129BFD0}
Sun Oct 04 21:09:28 2020 us=794027 Extracted DHCP router address: 192.168.1.1
Sun Oct 04 21:09:30 2020 us=467452 TEST ROUTES: 2/2 succeeded len=1 ret=1 a=0 u/d=up
Sun Oct 04 21:09:30 2020 us=467945 C:\windows\system32\route.exe ADD XX.XX.XX.XX MASK 255.255.255.255 192.168.1.1
Sun Oct 04 21:09:30 2020 us=483317 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=55 and dwForwardType=4
Sun Oct 04 21:09:30 2020 us=483813 Route addition via IPAPI succeeded [adaptive]
Sun Oct 04 21:09:30 2020 us=483895 C:\windows\system32\route.exe ADD 0.0.0.0 MASK 128.0.0.0 192.168.1.1
Sun Oct 04 21:09:30 2020 us=500236 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=55 and dwForwardType=4
Sun Oct 04 21:09:30 2020 us=500236 Route addition via IPAPI succeeded [adaptive]
Sun Oct 04 21:09:30 2020 us=500236 C:\windows\system32\route.exe ADD 128.0.0.0 MASK 128.0.0.0 192.168.1.1
Sun Oct 04 21:09:30 2020 us=517549 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=55 and dwForwardType=4
Sun Oct 04 21:09:30 2020 us=517549 Route addition via IPAPI succeeded [adaptive]
Sun Oct 04 21:09:30 2020 us=517549 MANAGEMENT: >STATE:1601867370,ADD_ROUTES,,,,,,
Sun Oct 04 21:09:30 2020 us=518057 C:\windows\system32\route.exe ADD 192.168.1.0 MASK 255.255.255.0 192.168.1.1
Sun Oct 04 21:09:30 2020 us=534414 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=55 and dwForwardType=4
Sun Oct 04 21:09:30 2020 us=534414 Route addition via IPAPI succeeded [adaptive]
Sun Oct 04 21:09:30 2020 us=534414 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Sun Oct 04 21:09:30 2020 us=534914 Initialization Sequence Completed
Sun Oct 04 21:09:30 2020 us=534914 MANAGEMENT: >STATE:1601867370,CONNECTED,SUCCESS,,XX.XX.XX.XX,12974,,