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

From: Alexey Talikov <alexey_talikov@dont-contact.us>
Date: Thu, 18 Jul 2002 18:00:42 +0500

Ftp through proxy not working in transparent mode
browser must know about http proxy with ftp reply through http

Thursday, July 18, 2002, 5:29:57 PM, you wrote:

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

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

BWJ> in squid.conf i have :

BWJ> ftp_user me@here.com
BWJ> ftp_list_width 32
BWJ> ftp_passive off

BWJ> in /etc/ipnat.rules

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

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

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

BWJ> i currently havem /etc/nat.conf :

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

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

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

BWJ> regards
BWJ> Wiljoh

-----------------------------------
mailto:alexey_talikov@texlab.com.uz
BR
Alexey Talikov
FORTEK
-----------------------------------
Received on Thu Jul 18 2002 - 07:00:53 MDT

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