OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • OpenVPN in peer2peer mode
« previous next »
  • Print
Pages: [1]

Author Topic: OpenVPN in peer2peer mode  (Read 1580 times)

cleblhuber

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
OpenVPN in peer2peer mode
« on: October 19, 2018, 11:49:50 pm »
dear folks.

i have a problem with the openvpn client in peer2peer mode.
i cannot reach the remote network from the local network, but from the opnsense i can ping the remote network.
the tunnel is up but in the logfile there are messages from route not to be able to add the route. see attachment
days ago the same config worked very well, so i have no idea what i did wrong.  :(

kind regards

Chris
Logged

stargazer

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: OpenVPN in peer2peer mode
« Reply #1 on: January 21, 2019, 07:27:04 am »
I was looking at a similar issue and found this solution, which worked for me.

https://forum.opnsense.org/index.php?topic=11046.msg50463#msg50463

Basically, use a /30 subnet for peer2peer. It appears to get confused and assign two separate /30's. Thus, I had
10.13.46.0/24
and the master was getting 10.13.46.1 & 2, and the client was getting 10.13.46.6 & 7. I set it to
10.13.46.0/30
and now they both have the same subnet and work well.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • OpenVPN in peer2peer mode
 

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