私の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でルールを作成する方法は?
ありがとうございました。