Page 1 of 1

VPN Routing Issue - Please Help a Noob

Posted: Sun Aug 13, 2023 4:59 pm
by JohnRKlein
I'm trying to create a simple OpenVPN to my home network so I can access it while on the road. I setup the OpenVPN Service on my Router. I setup the OpenVPN Client on my Windows 10 PC. Exported the config from the Router and imported to the PC. Connected my PC to my phone's Hot Spot. Connected the VPN successfully. I can ping most items in my network using the IP address. (Not sure way some are not accessible yet.)

What can I do so the host names work? TRACERT finds the names, but I cannot use them directly. I feel this has to do with a gateway configuration somewhere.

TRACERT

Code: Select all

C:\Windows\system32>tracert 192.168.1.243

Tracing route to FAKENAME12 [192.168.1.243]
over a maximum of 30 hops:

  1    63 ms    56 ms    59 ms  10.8.0.1
  2   265 ms    55 ms   207 ms  FAKENAME12 [192.168.1.243]

Trace complete.

C:\Windows\system32>ping FAKENAME12
Ping request could not find host FAKENAME12. Please check the name and try again.
ASUS RT-AC66R OpenVPN Settings

Code: Select all

Interface Type: TUN
Protocol: UDP
Server Port: ####
Respond to DNS: Yes
Advertise DNS to clients: Yes
Encryption cipher: ######
HMAC Authentication: ######
Compression: Disable
Username / Password Auth. Only: No
Authorization Mode: ###
RSA Encryption: 2048 bit
Extra HMAC authorization: Disable
VPN Subnet / Netmask: 10.8.0.0 255.255.255.0
Push LAN to clients: Yes
Direct clients to redirect Internet traffic: No
TLS Renegotiation Time: -1
Manage Client-Specific Options: Yes
Allow Client <-> Client: Yes
Allow only specified clients: No
ASUS RT-AC66R Route Table

Code: Select all

Destination     Gateway         Genmask         Flags    Metric Ref    Use Type Iface
xxx.xxx.45.1    *               255.255.255.255 UH       0      0        0 WAN0 eth0
10.8.0.2        *               255.255.255.255 UH       0      0        0      tun21
xxx.xxx.45.0    *               255.255.255.0   U        0      0        0 WAN0 eth0
10.8.0.0        10.8.0.2        255.255.255.0   UG       0      0        0      tun21
192.168.1.0     *               255.255.255.0   U        0      0        0 LAN  br0
default         xxx.xxx.45.1    0.0.0.0         UG       0      0        0 WAN0 eth0
PC IP Config

Code: Select all

Unknown adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::f807:3106:3349:d1cc%6
   IPv4 Address. . . . . . . . . . . : 10.8.0.14
   Subnet Mask . . . . . . . . . . . : 255.255.255.252
   Default Gateway . . . . . . . . . :

Wireless LAN adapter Wi-Fi:

   Connection-specific DNS Suffix  . :
   IPv6 Address. . . . . . . . . . . : 2607:fb90:9a1d:41c3:7b95:13c7:596a:67ec
   Temporary IPv6 Address. . . . . . : 2607:fb90:9a1d:41c3:ac86:f55c:5816:b872
   Link-local IPv6 Address . . . . . : fe80::f674:62cd:91f0:2965%18
   IPv4 Address. . . . . . . . . . . : 192.168.73.186
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : fe80::872:9fff:fe62:74c4%18
                                       192.168.73.92
PC Route Table

Code: Select all

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0    192.168.73.92   192.168.73.186     55
         10.8.0.0    255.255.255.0        10.8.0.13        10.8.0.14    257
        10.8.0.12  255.255.255.252         On-link         10.8.0.14    257
        10.8.0.14  255.255.255.255         On-link         10.8.0.14    257
        10.8.0.15  255.255.255.255         On-link         10.8.0.14    257
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    331
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    331
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    331
      192.168.1.0    255.255.255.0        10.8.0.13        10.8.0.14    501
     192.168.73.0    255.255.255.0         On-link    192.168.73.186    311
   192.168.73.186  255.255.255.255         On-link    192.168.73.186    311
   192.168.73.255  255.255.255.255         On-link    192.168.73.186    311
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    331
        224.0.0.0        240.0.0.0         On-link         10.8.0.14    257
        224.0.0.0        240.0.0.0         On-link    192.168.73.186    311
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    331
  255.255.255.255  255.255.255.255         On-link         10.8.0.14    257
  255.255.255.255  255.255.255.255         On-link    192.168.73.186    311
===========================================================================
Persistent Routes:
  None