LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   help me to translate this using ipchains or ipmasqdm or watever u can plz!! (http://www.linuxquestions.org/questions/linux-networking-3/help-me-to-translate-this-using-ipchains-or-ipmasqdm-or-watever-u-can-plz-694666/)

ujang 01-03-2009 08:16 AM

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


All times are GMT -5. The time now is 12:13 AM.