about iptables

From: junaidaslam (aslam.junaid_at_gmail.com)
Date: 08/29/05


Date: 29 Aug 2005 00:55:58 -0700

hi!!

My problem is i want to have one real ip. i want to re- direct all my
traffic comming on port 22 to 192.168.1.202 and trafic for port 21 to
192.168.1.203 where both the machines are within lan and on server i am
using squid.

Pleas help and if possible provide the iptable rule for this purpose
right now i am using but it is not working

tables -t nat -A PREROUTING -i eth1 -p udp --dport 21 -j DNAT
--to-destination 192.168.1.203

plz help!

Junaid



Relevant Pages

  • about iptables
    ... traffic comming on port 22 to 192.168.1.202 and trafic for port 21 to ... Pleas help and if possible provide the iptable rule for this purpose ...
    (comp.os.linux.setup)
  • help iptables
    ... traffic comming on port 22 to 192.168.1.202 and trafic for port 21 to ... Pleas help and if possible provide the iptable rule for this purpose ...
    (linux.redhat.misc)