* Julio Merino <juli@merino.net> [2001.10.06 21:46:46+0200]: > Do iptables allow me to redirect incoming connections to the computer to > another computer directly? So, beeing able to setup a FTP server on an > internal computer. use DNAT: iptables -t nat -A PREROUTING -p tcp --dport ftp -j DNAT --to 1.2.3.4:ftp this should actually work out of the box with active FTP, but you should still try it. if you use MASQ, then it should! passive FTP requires also a redirection on port 20... -- martin; (greetings from the heart of the sun.) \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck "... doch warum sollte nicht jeder einzelne aus seinem leben ein kunstwerk machen koennen?" -- michel foucault
Attachment:
pgpXf6UU60f31.pgp
Description: PGP signature