Add static routes for OpenVPN client remote peer addresses when using non-default WANs
using pfsense 2.2.5 with multiple WAN uplinks
OpenVPN clients are configured for site-to-site VPN.
In the configuration settings, a specific WAN interface is set for outbound connection.
The connection will always use the default gateway for outgoing traffic, not the configured interface from above.
If there is a static route to the VPN target through another (LAN) interface, the connection will use that route.
It seems like the kernel routing table is used for all outgoing connections.
Setting the interface in the OpenVPN client configuration should force using that interface and its gateway.