* Julio Merino <[EMAIL PROTECTED]> [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:"; [EMAIL PROTECTED]
  
"... doch warum sollte nicht jeder einzelne
 aus seinem leben ein kunstwerk machen koennen?"
                                                    -- michel foucault

Attachment: pgpOLwFtNjMOB.pgp
Description: PGP signature

Reply via email to