proftpd and ppp modem
hello to you all. i have a strange problem connecting from a ppp connection made with an Huawei E220 HSDPA USB modem to one of my ftp servers. ALL other ftp connections to this server are working.
I have 2 server's which have the same proftpd configuration, the difference being that the one which doesn't work is behind a pf firewall and the other one is directly connected to the ISP.
--internet --- [FreeBSD proftpd]
- the above does work
---internet--- [bridged DSL modem]----[mpd4 + pf]---[FreeBSD ftp]
-this doesn't work
Details about 2. :
[mpd4 + pf]:
# uname -a FreeBSD osiris.pilot.lan 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #1: Sun Aug 5 15:06:33 EEST 2007 firstname.lastname@example.org:/usr/obj/usr/src/sys/OSIRIS i386
rdr pass on $EXT_IF proto tcp from any to $EXT_IF port 21 -> <DMZ_HOST> port 21 rdr pass on $EXT_IF proto tcp from any to $EXT_IF port 59000:59100 -> <DMZ_HOST> port 59000:59100
- no firewall running
# uname -a FreeBSD isis 6.2-RELEASE-p6 FreeBSD 6.2-RELEASE-p6 #2: Sun Aug 12 02:12:30 EEST 2007 root@isis:/usr/obj/usr/src/sys/ISIS i386
Googling around i found out a directive from proftpd AllowForeignAddress.
Before enabling this on the servers even the 1. server didn't allow connections from that HSDPA modem.
Even though the second one doesn't work. I have tcpdump-ed the connection on the [mpd4+pf] box but no packets get blocked or something.
On the client i have wireshark installed and i will attach the output of that ftp session.
This is all i can think of right now. If more informations are required i'll be glad to provide them.
any hints on where to look further would be nice. thank you.
all the best,
Stop! think! ... the problem is somewhere between the monitor and chair...
"First they ignore you, then they laugh at you, then they fight you, then you win." Gandhi
links: spreadbsd syk
|Thread||Thread Starter||Forum||Replies||Last Post|
|Cable modem + router + FreeBSD||Beastie||FreeBSD General||2||24th June 2009 07:58 AM|
|[F1] write usb modem driver||raixun||Programming||7||17th July 2008 11:06 AM|
|USB EV-DO modem support||Bruco||FreeBSD General||1||6th June 2008 09:50 PM|
|Cable modem question||whispersGhost||FreeBSD General||2||24th May 2008 08:11 PM|
|Choosing a modem for freebsd 7.0||Johnny2Bad||General Hardware||3||6th May 2008 02:44 AM|