OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: BambosD on February 11, 2021, 09:29:52 PM

Title: OpenVPN Site to Site pc's not pinging
Post by: BambosD on February 11, 2021, 09:29:52 PM
Hello everyone,

i have setup a VPN Server and VPN Client on a site to site configuration using OpenVPN with shared key.

Tunnel is ok, gateways are up after i added the virtual interface. I have added allow rule on OpenVPN interface and the firewalls can ping each other from Lan's. 192.168.35.1 can ping 192.168.20.1 and vice versa.
VPN Settings are double checked and identical.

The problem is that dhcp clients on lan 35 and lan 20 cannot ping each other. 
I repeat firewalls can ping each other's gateway (IP .1), so is not a matter of VPN, i guess is a matter of rules?

What might be the problem? Anyone suggest something to troubleshoot or there is a guide available ?
Title: Re: OpenVPN Site to Site pc's not pinging
Post by: FingerlessGloves on February 15, 2021, 05:28:33 PM
Make sure you've enabled logging on your allow rules and see if you can see the ping traffic both ends.
Title: Re: OpenVPN Site to Site pc's not pinging
Post by: BambosD on February 21, 2021, 09:33:17 PM
I have notice that routing table is not created by the open vpn module.
If i add manually route to remote network using the OpenVPN gateway, then it finds the route.

Is this right?
Title: Re: OpenVPN Site to Site pc's not pinging
Post by: Gauss23 on February 21, 2021, 10:18:33 PM
Please share a screenshot of OpenVPN server config