OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 20.7 Legacy Series »
  • [SOLVED] ipsec unable to access lan
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] ipsec unable to access lan  (Read 893 times)

syamajala

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
[SOLVED] ipsec unable to access lan
« on: December 21, 2020, 07:56:19 pm »
I have setup a site-to-site ipsec tunnel and I can see the tunnel is connected in the status, but I am unable to access the lan on either end of the tunnel. I have a firewall rule from ipsec to lan. I can see on both ends a route is getting installed (192.168.101.0/24 on Site-B and 192.168.1.0/24 on Site-A). I'm not sure about the gateways, both list the default gateways for their networks in the route, I would have thought the gateway should be the remote ip of the tunnel? 
« Last Edit: December 21, 2020, 08:35:43 pm by syamajala »
Logged

syamajala

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: ipsec unable to access lan
« Reply #1 on: December 21, 2020, 08:35:28 pm »
For some reason the ipsec to lan firewall rule was not working. Watching the traffic in live view, the ipec traffic was hitting the default deny rule. I added a rule from 192.168.1.0/24 to the lan and it works. 
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 20.7 Legacy Series »
  • [SOLVED] ipsec unable to access lan
 

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