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

Re: redir y firewall



Kaixo Christian Hammers!!!

> >  In firewall i have ipchains with masquerade y redir with this:
> >   redir --lport 12345 --cport 21 --caddr 10.0.2.2 [--ftp]
> 
> $ grep ftp /etc/services
> ftp-data	20/tcp
> ftp		21/tcp
> 
> ftp-data has to be forwarded, too.

then, i must have another redir command????

  redir --lport 12345 --cport 20 --caddr 10.0.2.2 [--ftp]

 like this??


 I need that outside in internet do a ftp to a NT server inside of a
intranet with a debian firewall between....


 The NT server has a ftp server in port 21, so i must redirect any other
port from outside the intranet to port 21 in NT server.....

 What must i do???? 
 with the redir command is enough???? 
 do i need two redir commands (ports 20 and 21)????

 Thanks.....



-- 

  Agur......

      The Basque Madness                      / /  (_)__  __ ____  __  
       I.M.D. Computing                      / /__/ / _ \/ // /\ \/ / 
     imd@euskal-linux.org                   /____/_/_//_/____/ /_/\_\
http://www.euskal-linux.org              La novena maravilla del mundo
http://www.geocities.com/SunsetStrip/Alley/8071


Reply to: