Home Page › Forums › Network Management › ZeroShell › Force internal host to use one interface under net balancer › Re: Re: Force internal host to use one interface under net balan
I have a zeroshell setup as net balancer with 2 WAN interfaces.
I tried adding something like this to the scripts/cron
iptables -t nat -I POSTROUTING?
There is a dedicated section to add balancing “exceptions”, so that you can tell which traffic goes to a specific WAN. This will also maintain the failover, so that in case of failure, still the traffic goes to the other WAN (if completely stick to the WAN with failure you will have no service at all).