Hi all, I'm having some problems with proxying on my OpenBSD 3.4 box.

I have squid installed, as well as enabling ftp-proxy exactly as the FAQ describes.

Here's what happens:
1) FTP program starts up
2) FTP packet hits xl2 (my internal interface)
3) Nothing else happens

The packet is not hitting xl0 or xl1 (my external interfaces) nor is it hitting lo0. The same thing happens for Squid, as it is also listening on 127.0.0.1.

Sample TCP dump:
tcpdump: listening on xl2
192.168.10.11.52157 > 129.128.5.191.21: tcp 0 (DF)
192.168.10.11.52157 > 129.128.5.191.21: tcp 0 (DF)
192.168.10.11.52157 > 129.128.5.191.21: tcp 0 (DF)
192.168.10.11.52157 > 129.128.5.191.21: tcp 0 (DF)

PF rules (right out of the FAQ):
# FTP Proxy
rdr on xl2 inet proto tcp from any to any port 21 -> 127.0.0.1 port 8021
# SQUID
rdr on xl2 inet proto tcp from any to any port 80 -> 127.0.0.1 port 3128

HTTP and FTP work fine if i comment out the above lines (FTP in passive mode only).

Here's the routing table regarding 127.0 IP's:

# route -n show | grep 127.0
127.0.0.0        127.0.0.1          UG
127.0.0.1        127.0.0.1          UH
::127.0.0.0      ::1                UG

I'm sure this is probably something stupid, but I'm new to this so I'd appreciate any help available.

James Cammarata
[EMAIL PROTECTED]
www.sngx.net
home: 314-835-1122
work: 314-872-2426
cell: 314-409-0583
______________________________________________________________
Out the Ethernet, through the router,
down the fiber, off another router,
down the T1, past the fire-wall
...nothing but Net



Reply via email to