[squid-users] FTP with Squid working under OBSD 2.9 not under OBSD3.1, as alway s NAT....

From: Beukers, W.J. <WBeukers@dont-contact.us>
Date: Thu, 18 Jul 2002 14:29:57 +0200

For some reason, I always have trouble getting FTP trough Squid to work, or
better said having trouble with the NAT statements that come with it.

I have, on a OpenBSD 2.9 system - Squid Cache: Version 2.3.STABLE4,
everything working fine,

in squid.conf i have :

ftp_user me@here.com
ftp_list_width 32
ftp_passive off

in /etc/ipnat.rules

map tl0 <Internet site ipaddress> -> <Internet site ipaddress> proxy port
ftp ftp/tcp
map tl0 0/0 -> <Internet site ipaddress>

On the OpenBSD 2.9 box, this works fine (i recall this was all i needed to
do).

Now i installed Squid Cache: Version 2.4.STABLE6 on a OpenBSD 3.1 box.
OpenBSD 3.x has the new PF filter with intergrated NAT stuff.
And with that new /etc/nat.conf file, a new syntax...and i don't seem to get
the map/rdr command for ftp to work....

i currently havem /etc/nat.conf :

nat on tl0 from 0/0 to any -> <Internet site ipaddress>

which is, ofcourse, not enough, but i don't see how to fill in the map /
proxy ftp command under the net NAT from PF.

Does anyone have the new NAT rule for this already in place under OBSD 3.1 ?

regards
Wiljoh
Received on Thu Jul 18 2002 - 06:31:05 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:17 MST