OpenVPN in peer2peer mode

Started by cleblhuber, October 19, 2018, 11:49:50 PM

Previous topic - Next topic
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

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.