OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 21.1 Legacy Series »
  • OpenVPN Site to Site pc's not pinging
« previous next »
  • Print
Pages: [1]

Author Topic: OpenVPN Site to Site pc's not pinging  (Read 2243 times)

BambosD

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
    • View Profile
OpenVPN Site to Site pc's not pinging
« 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 ?
Logged

FingerlessGloves

  • Full Member
  • ***
  • Posts: 114
  • Karma: 11
    • View Profile
    • FingerlessGloves
Re: OpenVPN Site to Site pc's not pinging
« Reply #1 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.
Logged
Adventuring through internet pipes
My Blog

BambosD

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
    • View Profile
Re: OpenVPN Site to Site pc's not pinging
« Reply #2 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?
Logged

Gauss23

  • Hero Member
  • *****
  • Posts: 766
  • Karma: 39
    • View Profile
    • BackendMedia
Re: OpenVPN Site to Site pc's not pinging
« Reply #3 on: February 21, 2021, 10:18:33 pm »
Please share a screenshot of OpenVPN server config
Logged
„The S in IoT stands for Security!“ :)

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 21.1 Legacy Series »
  • OpenVPN Site to Site pc's not pinging
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2