IPSec way out via WAN / WAN2 - Gateway ?
-
Runnung pfSense 1.2.2 - is it possible to set the way out für IPSec Tunnels ?
In other words: if you have 2 WAN Ports and "IPSec Tunnel 1" should take way "WAN1" out, the other WAN2 - where can I configure this gateway routing ?Greetings
FBI01 -
Create a static route for the endpoint of the tunnel with as gateway the WAN you want to use.
example:
WAN1: 10.0.1.2/24 Gateway 10.0.1.1/24
WAN2: 10.0.2.2/24 Gateway 10.0.2.1/24Endpoint1: 192.168.1.1
Endpoint2: 192.168.2.1For traffic to endpoint1 on WAN1 you dont have to do anything special.
For traffic to endpoint2 on WAN2 you have to create a static route for: 192.168.2.1/32 to 10.0.2.1
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.