1
18.7 Legacy Series / Re: OpenVPN in peer2peer mode
« 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.
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.