Squid transparent proxy problem with FreeBSD 4.4

Squid transparent proxy problem with FreeBSD 4.4

Post by Pedro Paulo Oliveira » Sun, 23 Sep 2001 22:16:16



I was trying to set up a squid proxy server as a transparent proxy in
a FreeBSD 4.4 box with one NIC 3COM configured with IP: 200.144.83.40
and Netmask: 255.255.255.0

I've compiled squid with --enable-ipf-transparent  and I've set up

In my Cisco 4000 router:

access-list 110 deny   tcp host 200.144.83.40 any eq www
access-list 110 permit tcp any any eq www
route-map proxy-redirect permit 10
 match ip address 110
 set ip next-hop 200.144.83.40
int eth2/0
 ip policy route-map proxy-redirect

and compiled the Kernel with:

        options         IPFIREWALL
        options         IPFIREWALL_FORWARD

I've set up the squid.conf file with:
     http_port 3128
     httpd_accel_host virtual
     httpd_accel_port 80
     httpd_accel_with_proxy on
httpd_accel_uses_host_header on

And in rc.local:

ipfw add 49  allow tcp from 200.144.83.40 to any
ipfw add 50  fwd 200.144.83.40,3128 tcp from any to any 80
ipfw add 60000 allow all from any to any

With this configuration none computer in the network is able to access
Web.

When I run:

Ipfw show

It shows that the rule 50 is being hit and the number of times it is
hit grows when I try to access Web in a client computer in my network.

Does anybody see anything I missed?

Thanks in advance,

Pedro Paulo

 
 
 

1. Squid transparent proxy problem with FreeBSD 4.4

I was trying to set up a squid proxy server as a transparent proxy in
a FreeBSD 4.4 box with one NIC 3COM configured with IP: 200.144.83.40
and Netmask: 255.255.255.0

I've compiled squid with --enable-ipf-transparent  and I've set up

In my Cisco 4000 router:

access-list 110 deny   tcp host 200.144.83.40 any eq www
access-list 110 permit tcp any any eq www
route-map proxy-redirect permit 10
 match ip address 110
 set ip next-hop 200.144.83.40
int eth2/0
 ip policy route-map proxy-redirect

and compiled the Kernel with:

        options         IPFIREWALL
        options         IPFIREWALL_FORWARD

I've set up the squid.conf file with:
     http_port 3128
     httpd_accel_host virtual
     httpd_accel_port 80
     httpd_accel_with_proxy on
httpd_accel_uses_host_header on

And in rc.local:

ipfw add 49  allow tcp from 200.144.83.40 to any
ipfw add 50  fwd 200.144.83.40,3128 tcp from any to any 80
ipfw add 60000 allow all from any to any

With this configuration none computer in the network is able to access
Web.

When I run:

Ipfw show

It shows that the rule 50 is being hit and the number of times it is
hit grows when I try to access Web in a client computer in my network.

Does anybody see anything I missed?

Thanks in advance,

Pedro Paulo

2. how to dma socket data continuously ??

3. 2.4.19-pre10 Oops

4. transparent proxy on FreeBSD with squid and ipfw

5. Problems: AX.25(017), PPP (0.1.5), and Linux 1.1.6

6. Transparent proxy with Squid and Apache problem

7. test

8. WindowsXP proxy server with FreeBSD 4.4

9. LinuxPowered - Transparent proxy using Squid

10. transparent squid proxy on obsd2.8/9

11. Help with configuring squid (aka proxy server) in transparent caching mode

12. Transparent proxy other than squid???