From owner-freebsd-questions Sun Dec 23 13:59:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.broadpark.no (mail.broadpark.no [217.13.4.2]) by hub.freebsd.org (Postfix) with ESMTP id EB6B737B41A for ; Sun, 23 Dec 2001 13:59:27 -0800 (PST) Received: by mail.broadpark.no (Postfix, from userid 60001) id BFA987D82; Sun, 23 Dec 2001 22:59:26 +0100 (MET) To: Mark Woodson Subject: Re: your mail Message-ID: <1009144766.3c2653beb171f@mail.broadpark.no> Date: Sun, 23 Dec 2001 22:59:26 +0100 (MET) From: johann@broadpark.no Cc: freebsd-questions@freebsd.org References: <20011223080849.C227@twincat.vladsempire.net> <1009114372.3c25dd041de76@mail.broadpark.no> <20011223080849.C227@twincat.vladsempire.net> <5.1.0.14.0.20011223150855.026bc6d8@127.0.0.1> In-Reply-To: <5.1.0.14.0.20011223150855.026bc6d8@127.0.0.1> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.7 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG What are _all_ the TCP ports over 1023? As told in the very first e-mail addressing this problem; I tried redirecting the entire IANA-registered ephemeral port range (49152-65535) without much luck. Every time I get a DCC request it opens on e.g. port 4348, making absolutely no sense. Any idea? Quoting Mark Woodson : > At 03:19 PM 12/23/2001 +0100, you wrote: > >Well, my problems are getting passive mode on my FTPD (virtual server, > port 2001, whereas passive mode on my main server, port 21, seems to > work) and DCC in my IRC client to work. For instance, when I wanted SSH > and my system accounts FTPD to work, I had to add an NAT entry for port > 22 and port 21 in a telnet session between my machine and my ADSL > router; > > > >set nat entry add 10.0.0.2 20-22 0.0.0.0 20-22 tcp > > > >This also has to be done for daemons like identd, BIND etc. > >However, when it comes to redirecting the ports for passive and DCC, > I'm stuck. I'm not the one running NATD, it's my ISP. I have one static > IP, and that's it. > > Well... > > Both passive ftp and dcc use random high ports on both ends. Passive > ftp works great from the client side through a firewall but is a rather > large pain on the server end behind a nat/firewall. Basically you have > to redirect _all_ tcp ports over 1023 to your machine. Active ftp is > easier because it uses port 20 (ftp-data). > > -Mark > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message