Proxy-suite and transparent proxying on FreeBSD not working

Henrik Holmstam <[email protected]> Mon, 26 Aug 2002 23:04:23 +0200 (CEST)
Newsgroups gmane.linux.suse.proxy-suite
Message-ID <[email protected]>
Hello all,

I'm having trouble getting transparent proxying working on my FreeBSD
4.6-STABLE machine. Non-transparent works fine with MagicChar.

I'm using IPFilter v3.4.27 to redirect the packets.

ipnat.rules:

rdr rl0 0.0.0.0/0 port 21 -> 192.168.1.1 port 2121

(rl0 is int interface)

ftp-proxy.conf:

[-Global-]
AllowMagicUser  yes
AllowTransProxy yes
DestinationTransferMode passive
Listen          192.168.1.1
LogDestination  /var/log/proxy-suite/ftp-proxy.log
LogLevel                DBG
Port                    2121
ServerType              standalone
UseMagicChar            %

turbo@sebulba:~$ ftp ftp.sunet.se
Connected to ftp.sunet.se.
220 darkwing.home.lan FTP server (Version 1.9 - 2002/05/02 15:14:55) ready.
Name (ftp.sunet.se:turbo): anonymous
501 Unknown destination address.
ftp: Login failed.

log:

ftp-child [22788] <08/26-22:57:02> USER-INF connect from 192.168.1.15
ftp-child [22788] <08/26-22:57:05> TECH-DBG no transparent proxy destination found
ftp-child [22788] <08/26-22:57:05> USER-ERR unknown destination address
ftp-child [22788] <08/26-22:57:05> USER-WRN 'SYST' without login from 192.168.1.15

If I specify DestinationAddress to some server, it connects fine, so
somehow it has trouble detecting the Destination when using normal
transparent proxying.

I would really like to get this working, so if anyone have any suggestions
I would be thankful.

Regards,
Henrik Holmstam



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]