can't reach remote lan
-
Hi, I have this kind of configuration:
openvpn on pfsense
server mode: peer to peer (ssl/tls)
protocol: udp
device mode: tun
interface:was
port:1194
....... (crypto config...)
ipv4 tunnel: 10.0.8.0/29
Local Ipv4:172.30.198.0/24
Remote Ipv4: 192.168.8.0/24
Dynamic Ip: checked
Topology: subnet
Gateway creation: Ipv4 OnlyIn System --> Routing
I have the gateway on inteface OpenVpn with IP 10.0.8.2
I have the route in table:
destination 192.168.8.0/24 ------ GW 10.0.8.2TAB OpenVpn Ipv4 allow anything/anywhere and the TAB for Interface with IP 172.30.198.0 allow anything/anywhere
On the other side I have a Gl.Inet router with internal lan: 192.168.8.1/24
The VPN in connected, but problem: I can't reach the remote lan 192.168.8.0/24.
I can connect to 10.0.8.2 and open the webpage of the router but not the webpage with ip 192.168.8.1 (the lan IP of router)
From web page of Gl.Inet I can ping the local lan 172.30.198.0....but I can't ping the remote machine 192.168.8.103.....Where could the problem be ? In firewall NAT ? Firewall rules seems to be ok...
Thanks a lot
Dario -
@dariovernelli said in can't reach remote lan:
server mode: peer to peer (ssl/tls)
ipv4 tunnel: 10.0.8.0/29Use a /30 tunnel network for a peer-to-peer vpn.
@dariovernelli said in can't reach remote lan:
In System --> Routing
I have the gateway on inteface OpenVpn with IP 10.0.8.2
I have the route in table:
destination 192.168.8.0/24 ------ GW 10.0.8.2The routing is done by OpenVPN! So don't set static routes for remote destinations!
Are both, server and client, the default gateway in their respective LAN?
-
Hi, I will try, thanks