[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Redirecting ftp



Debs said:

>         iptables -t nat -A PREROUTING -d $WAN_IP -p udp --dport 20 -j DNAT
> --to $PUBLIC:21
>         iptables -t nat -A PREROUTING -d $WAN_IP -p tcp --dport 20 -j DNAT
> --to $PUBLIC:21

redirecting port 20 to port 21?


> 
> BTW is udp necesarry..?

no.




Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: