IPfilter and squid

From: Phil Allsopp <phil@dont-contact.us>
Date: Tue, 07 Apr 1998 17:27:56 +0100

Thanks to those who let me know that ipfw wasn't going to work, although
now I am using ipfilter I have a new question.

My Problem appears simple. I have a PC running Free BSD and it has 2
ethernet cards. One is for an Internal Lan (192.168.1.1 interface ed0) and
the other talks to our gateway (194.159.112.169 vx0) I want to route
traffic from our internal machine to the outside worls and this seems fine.
I also want to run all http requests through squid proxy. This is where I
am having trouble.

I am using FreeBSD 2.2.5 and have recompiled the kernel to take the
IPFilter extras. All seems ok.

All it appears I need to do is to redirect packets from port 80 on the lan
side through the proxy on port 8080 to the internet side. I have tried the
following commands without any luck. Anyone got any ideas where I am going
wrong ?

"ipnat rdr ed0 0.0.0.0/0 port 80 -> 194.159.112.169 port 8080"

When I check the config with "ipnat -ls" nothing is being redirected.

Thanks in advance

Phil.
Received on Tue Apr 07 1998 - 11:16:46 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:37 MST