Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Multi WAN and default source address for traffic originating from the router
« previous
next »
Print
Pages: [
1
]
Author
Topic: Multi WAN and default source address for traffic originating from the router (Read 613 times)
tonnoplast
Newbie
Posts: 9
Karma: 0
Multi WAN and default source address for traffic originating from the router
«
on:
February 24, 2023, 03:00:17 pm »
Hi, I have a multi-wan setup (a "normal" WAN interface and a VPN), and two LAN interfaces configured with two separate subnets (say 192.168.1.1/24 and .2/24), one reaching the internet via the WAN interface, the other reaching the internet via VPN, using policy based routing. I can test this works by doing, for example:
Code:
[Select]
curl --interface <iface> ifconfig.co
My question now is: how does OPNsense chose which source address to use by default for traffic originating from the router? This matters as the gateway will be different, depending on the source ip address.
Thanks!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Multi WAN and default source address for traffic originating from the router