Page 1 of 1

OVPN client issue on dual Wan

Posted: Thu Jun 04, 2020 1:37 am
by aldopicariello
Hi,

I am having a particular issue. I have an Open VPN Server on a Pfsense Firewall. This Pfsense has 2 Wans. My open server is set to listen on any interface.

I have 2 profiles, one with each WAN IP address. If I connect to my vpn server using WAN1 and disconnect, to then try to connect to WAN2 I get the following error:

Incoming packet rejected from [AF_INET]xxx.xxx.xxx.xxx[2], expected peer address: [AF_INET]xxx.xxx.xxx.xxx(allow this incoming source address/port by removing --remote or adding --float)

If I restart the computer, and then try to connect to WAN2 again, everything works fine.

So in order to connect using the diferrents WANs I need to restart the computer.

Re: OVPN client issue on dual Wan

Posted: Thu Jun 04, 2020 12:41 pm
by TinCanTech
Try adding --explicit-exit-notify 3 to your client profiles.

Re: OVPN client issue on dual Wan

Posted: Thu Jun 04, 2020 4:51 pm
by aldopicariello
HI, Thanks for taking the time to reply,

I did it and it is workig perfectly.

Thanks a lot for helping me.