Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Nov 2000 22:21:13 GMT
From:      reinoud@xs4all.nl (Reinoud van Leeuwen)
To:        freebsd-questions@freebsd.org
Subject:   natd question (active ftp over other ports than 20-21)
Message-ID:  <3a155d4a.13409750@smtp.xs4all.nl>

next in thread | raw e-mail | index | archive | help
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.=20
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=3D21,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?
__________________________________________________
"Nothing is as subjective as reality"
Reinoud van Leeuwen       reinoud@xs4all.nl
http://www.xs4all.nl/~reinoud
__________________________________________________


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?3a155d4a.13409750>