Date: Tue, 28 May 2002 23:11:55 +0200 From: Paul Everlund <tdv94ped@cs.umu.se> To: freebsd-questions@freebsd.org Subject: ProFTPd, NAT, Win2k, ICS, 192.168., address mismatch Message-ID: <3CF3F29B.65C884A3@cs.umu.se>
index | next in thread | raw e-mail
Hi everyone!
I have a question I hope someone here can answer.
The setup is like this:
FreeBSD/ProFTPd FreeBSD/IPFW/NAT/PPPoE/ADSL
192.168.0.5 <--- 192.168.0.1/aaa.bbb.ccc.ddd <--- Internet <---
Win2k/ICS Win2k/FTP-klient
<--- www.xxx.yyy.zzz/192.168.0.x <--- 192.168.0.218
I do a NAT redirect like this (natd.conf):
redirect_port tcp 192.168.0.5:2121 2121
ProFTPd is listening on port 2121, and the client is connecting
to aaa.bbb.ccc.ddd:2121.
The firewall works for other hosts connecting to my FTP-server.
When 192.168.0.218 connects I see following in my ProFTPd log:
*.net[www.xxx.yyy.zzz]) - FTP session opened.
May 28 19:42:51 freebsd proftpd[4403]: *.homeip.net
(*.net[www.xxx.yyy.zzz]) - USER abc: Login successful.
May 28 19:42:52 freebsd proftpd[4403]: *.homeip.net
(*.net[www.xxx.yyy.zzz]) - Refused PORT
192,168,0,218,12,209 (address mismatch).
May 28 19:43:03 freebsd proftpd[4403]: *.homeip.net
(*.net[www.xxx.yyy.zzz]) - FTP session closed.
One can clearly see that the connecting computers internal
IP-address, 192.168.0.218, shows up instead of www.xxx.yyy.zzz,
and this results in an error.
How can this be solved? Is the solution in my FreeBSD NAT setup,
or at the Win2k ICS setup, or maybe in the FTP-client?
More info if needed can be provided.
Thanks a lot in advance for anyone taking time to write back!
Best regards,
Paul
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CF3F29B.65C884A3>
