I have a server with an adsl connection running Red Hat 8 and acting as
gateway/firewall to my internal network. I wanna redirect port 21 of the
server to a internal machine, where i wanna run a ftp server. I tried:
iptables -t nat -A PREROUTING -p tcp --dport 21 -i ppp0 -j DNAT --to
192.168.0.10:21
where ppp0 its my external adsl interface and 192.168.0.10 is the ip adress
of the machine running the ftp server
But, the port isnt redirected. Someone know why?
(Sorry my poor english, i am Brazilian)
Tks a lot!
Fernando Favero





-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to