我在我的 ubuntu 中拥有的是:
eth0(local) = 192.168.1.1/24 attemp to be gateway for local network
eth1(net1) = 192.168.2.2/24 gateway is 192.168.2.1 is a DSL 1
eth2(net2) = 192.168.3.2/24 gateway is 192.168.3.1 is a DSL 2
我想要的是:
port 22,53,80,443 force to use only through eth1
port 6881 to 6889 and other ports force to use only through eth2
如何在 iptables 中制定规则?
谢谢你。