about iptables

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

  • Next message: 袁满: "How to add a "Windows Safe-Mode " entry in grub?"
    Date: 29 Aug 2005 04:01:58 -0700
    
    

    Posted: Mon Aug 29, 2005 1:08 am Post subject: Salam: About iptables

    salam!!

    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


  • Next message: 袁满: "How to add a "Windows Safe-Mode " entry in grub?"

    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 ... Junaid ...
      (comp.os.linux.networking)
    • 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)