Kung Docker containers ang gagamitin ko, I wonder kung paanong i-route from internal Docker network papuntang specific host NIC and/or NICs. Baka pwedeng i-host mode ko nalang ang containers, pero di ko pa rin alam kung may app na pwedeng i-combine ang dalawang NICs, then control the route on a per application basis.
-p for port matching lang, basically it open the port from your docker's internal network to host's network, example -p 80:80, (format is internal network : external network) if you want to host the dockers port 80 to something different on your host, you can set it to like port 8080 which becomes like -p 8080:80.
--net=IP naman kung gusto mo may sariling LAN IP yung docker container mo (instead of using its isolated internal network). parameter nito is --net=192.168.11.112 or something. if your using FreeNAS, all of the plugins there are containers on docker and each plugin have their own network
for loadbalancing ng network mo, hindi na sakop ng docker yan, its usually yoru router/firewall should be handling this and dispatch is actually just another app that do that loadbalancing feature of multiple internet sources. it should be possible with iptables, but im not going to tackle that thing here, the simple way to fix this is spin up a VM, load a router firewall distro on it (pfsense or Openwrt with mwan3 package will do the trick) and use that as your loadbalancer instead.
-- edited by polka on Jul 27 2020, 09:08 PM