Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
Multi-wan, default gw, traffic from this firewall
« previous
next »
Print
Pages: [
1
]
Author
Topic: Multi-wan, default gw, traffic from this firewall (Read 1631 times)
spottaaja1
Newbie
Posts: 5
Karma: 0
Multi-wan, default gw, traffic from this firewall
«
on:
March 27, 2020, 10:18:01 am »
Hello!
I have multi-wan setup with igb0 and igb2 as the upstream interfaces. Default gw is automatically switched between these two and all traffic from igb1, igb3 and igb4 is load-balanced out via gateway group called internet.
As igb0 and igb2 both have dynamic IP addresses, I am trying to get dyndns to update them to my domain but it seems the curl request gets routed out via default gateway, regardless of --interface and --dns-interface parameters. My dyndns service expects the update request to originate from the ip address mentioned in the update request.
Any hints on how to fix this?
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Multi-wan, default gw, traffic from this firewall
«
Reply #1 on:
March 27, 2020, 04:39:33 pm »
FreeBSD doesn't support PBR for local initiated connections.
There was a trick to use LAN interface as the source and then to PBR via firewall rules, but I heard somewhere it makes problems starting with 20.1 or 19.7
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
klontje
Newbie
Posts: 14
Karma: 2
Re: Multi-wan, default gw, traffic from this firewall
«
Reply #2 on:
March 29, 2020, 12:45:54 pm »
I guess what you could do, although it isn't the prettiest, is either use two different mDNS services - or see if your mDNS provider has multiple IP adresses that you could use, and add a static route for each IP tied to the interface that is using that service/IP endpoint.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
Multi-wan, default gw, traffic from this firewall