|
help me to translate this using ipchains or ipmasqdm or watever u can plz!!
iptables -t nat -I PREROUTING -i eth1 -p tcp -d 202. .yyy.123 –doprt 6112 -j DNAT –to-destination 192.168.0.1:6112
iptables -t nat -I PREROUTING -i eth1 -p tcp -d 202. .yyy.123 –dport 6113 -j DNAT –to-destination 192.168.0.2:6113
iptabels -t nat -I PREROUTING -i eth1 -p tcp -d 202. .yyy.124 –dport 6112 -j DNAT –to-destination 192.168.0.3:6112
iptables -t nat -I PREROUTING -i eth0 -p tcp -s 192.168.0.0/24 -d 202. .yyy.123 –dport 6112 -j DNAT –to-destination 192.168.0.1:6112
iptables -t nat -I PREROUTING -i eth0 -p tcp -s 192.168.0.0/24 -d 202. .yyy.123 –dport 6113 -j DNAT –to-destination 192.168.0.2:6113
iptables -t nat -I POSTROUTING -o eth0 -s 192.168.0.0/24 -d 192.168.0.0/24 -j SNAT –to-source 202. .yyy.123
my router can't use iptables, i want to create dota host in battle net
anyone can translate this to ipchains? plizzzzzzzzzzzzzzzz
Last edited by ujang; 01-03-2009 at 07:21 AM.
|