Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Nov 2000 10:33:40 +0200
From:      Ruslan Ermilov <ru@sunbay.com>
To:        Reinoud van Leeuwen <reinoud@xs4all.nl>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: natd question (active ftp over other ports than 20-21)
Message-ID:  <20001117103340.C95524@sunbay.com>
In-Reply-To: <3a155d4a.13409750@smtp.xs4all.nl>; from reinoud@xs4all.nl on Thu, Nov 16, 2000 at 10:21:13PM %2B0000
References:  <3a155d4a.13409750@smtp.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 16, 2000 at 10:21:13PM +0000, Reinoud van Leeuwen wrote:
> I have a question about natd.My (home) network setup is like this
> 
> - FreeBSD 4.1 ISDN dialup router, doing NAT (now from ppp, but natd is
> also possible)
> - a few PC (windows) clients
> - a FreeBSD server (file web print etc)
> 
> I have a banking application on a windows PC (ABN Amro Homenet) that
> communicates to the bank through FTP over non-standard portnumbers.
> (41 (data) ,42 (command), 62 (data) ,63 (command)). The client opens a
> connection to the server on port 42 and the server tries to open a
> connection back on port 41. 
> NAT doe snot seem to recognise this, so the application cannot
> cummunicate with the bank...
> 
> People using Linux have solved this problem by using the command
> insmod ip_masq_ftp ports=21,42,63
> 
> this tells the ftp proxy that it should use extra ports that have the
> same behaviour as the standard ftp port
> 
> I dont like the solution by making static NAT routes to only one
> client, because this limits the number of PC's that can use this
> application. The application does not have an option for passive ftp.
> 
> Any ideas?
> 
You have only one possibility -- to hack libalias(3) sources.

-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001117103340.C95524>