OVPN client issue on dual Wan

Need help configuring your VPN? Just post here and you'll get that help.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
aldopicariello
OpenVpn Newbie
Posts: 2
Joined: Thu Jun 04, 2020 12:40 am

OVPN client issue on dual Wan

Post by aldopicariello » Thu Jun 04, 2020 1:37 am

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.

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 7604
Joined: Fri Jun 03, 2016 1:17 pm

Re: OVPN client issue on dual Wan

Post by TinCanTech » Thu Jun 04, 2020 12:41 pm

Try adding --explicit-exit-notify 3 to your client profiles.

aldopicariello
OpenVpn Newbie
Posts: 2
Joined: Thu Jun 04, 2020 12:40 am

Re: OVPN client issue on dual Wan

Post by aldopicariello » Thu Jun 04, 2020 4:51 pm

HI, Thanks for taking the time to reply,

I did it and it is workig perfectly.

Thanks a lot for helping me.

Post Reply