I have an LRT214 Router that sits between my ISP and my Netgear WiFi Router.
The Netgear Router is configured for the 192.168.2.0/24 network, with it's address as 192.168.2.1, and is a DHCP server for the network. There are a few Raspberry Pis on the network at various 192.168.2.x IP Addresses.
It's WAN IP Address is 192.168.1.102, which it receives from the LRT214 as a DHCP Client.
The LRT214 is configured for the 192.168.1.0/24 network, with it's address as 192.168.1.1, and is a DHCP server for that network. The WAN IP is obtained from the ISP as a DHCP address.
In my OpenVPN Server configuration, I have the following values:
GLOBAL CONFIGURE SETTINGS
Authentication Type: Certificate
Server Network Address: 172.31.0.0 (Virtual IPv4 Network Address, Default 172.31.0.0)
Subnet Mask: 255.255.255.0
Protocol: TCP
Port: 1194 (Range: 1-65535, Default 1194)
Encryption: AES-256
ADVANCED CONFIGURE SETTINGS
Tunnel Mode: Split Tunnel
Security IP Address: 192.168.2.0
Security Subnet Mask: 255.255.255.0
Domain Name: ag6hq.net
Primary DNS: 192.168.1.1
Secondary DNS:
WINS Server:
I can connect, via a Netgear M1 Mobile Hotspot, which is configured on the 192.168.3.0/24 network, but I don't seem to be able to reach anything on the 192.168.2.0/24 network.
I have the following Route Table:
Code: Select all
$ netstat -rn -f inet
Routing tables
Internet:
Destination Gateway Flags Netif Expire
default 192.168.3.1 UGScg en0
127 127.0.0.1 UCS lo0
127.0.0.1 127.0.0.1 UH lo0
169.254 link#6 UCS en0 !
172.31/24 172.31.0.5 UGSc utun7
172.31.0.4/30 172.31.0.6 UGSc utun7
172.31.0.5 172.31.0.6 UH utun7
192.168.2 172.31.0.5 UGSc utun7
192.168.3 link#6 UCS en0 !
192.168.3.1/32 link#6 UCS en0 !
192.168.3.1 44:a5:6e:f9:7f:77 UHLWIir en0 1181
192.168.3.81/32 link#6 UCS en0 !
192.168.3.255 ff:ff:ff:ff:ff:ff UHLWbI en0 !
224.0.0/4 link#6 UmCS en0 !
224.0.0.251 1:0:5e:0:0:fb UHmLWI en0
255.255.255.255/32 link#6 UCS en0 !