Re: firewall
From: Martijn Lina (martijn@medialab.lostboys.nl)
Date: 10/11/01
- Next message: Peter Pentchev: "Re: firewall"
- Previous message: Peter Pentchev: "Re: firewall"
- In reply to: Peter Pentchev: "Re: firewall"
- Next in thread: Peter Pentchev: "Re: firewall"
- Reply: Peter Pentchev: "Re: firewall"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 11 Oct 2001 17:52:08 +0200 From: Martijn Lina <martijn@medialab.lostboys.nl> To: Peter Pentchev <roam@ringlet.net>
Once upon a 11-10-2001, Peter Pentchev hit keys in the following order:
>
> I believe that they are discussing the case of a server being NAT'd.
> In that case, the NAT machine has to allow for connections to ports > 1024
> on the server to allow PASV FTP to work.
Depends on which ftp daemon you're using. The default FreeBSD ftpd only opens a
smaller port range than just everything above 1024, according to the man page:
"In previous versions of ftpd, when a passive mode client requested a data
connection to the server, the server would use data ports in the range
1024..4999. Now, by default, the server will use data ports in the range
49152..65535."
It would be nice if the range could actually be specified through options. My
NAT just portmaps to ports below 49152, which gives me enough simultanious
connections through NAT. Would it be a good solution to redirect the passive
ftp port range directly to the box running ftpd (or to a ip alias in a jail, in
my home situation) with NAT and drop all connections above 49151 to other ip#s?
martijn
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message
- application/pgp-signature attachment: stored
- Next message: Peter Pentchev: "Re: firewall"
- Previous message: Peter Pentchev: "Re: firewall"
- In reply to: Peter Pentchev: "Re: firewall"
- Next in thread: Peter Pentchev: "Re: firewall"
- Reply: Peter Pentchev: "Re: firewall"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|