Re: redir y firewall
If you are using standard FTP, then your data connection will actually
be some random port above 1023, not port 20.
There is a way around this with passive ftp.
Bill Suetholz
On 03-Dec-99 Iñaki Martínez wrote:
> 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
>
>
> --
> To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
Reply to: