On 1/24/06, Rajendra Rait <[EMAIL PROTECTED]> wrote: > > > > > iptables -t nat -A PREROUTING -p tcp -d <external ip> --dport 63123 -j > > DNAT > > --to <internal-ip>:80 > > > Hi, > > I tried this command it didn't work > > iptables -t nat -A PREROUTING -p tcp -d <external ip> --dport 21 -j DNAT > --to <internal-ip>:21 > iptables -t nat -A PREROUTING -p tcp -d <external ip> --dport 20 -j DNAT > --to <internal-ip>:20 > > do i need to add any other lines to the script. > > Regards, > > Rajendra Rait, > 91-9819330803 > -- > http://mm.ilug-bom.org.in/mailman/listinfo/linuxers >
What do you mean that it didnt work ? what you tried ? what error you got ? what you did to check if its working or not ? have you refered man page of iptables ? Tell us something ? -- ------------------------------------------------------------------------------- AbhiSawa -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

