[squid-users] transprent squid on ports different from 80

From: Dmitry Suhodoev <[email protected]>
Date: Fri, 15 Nov 2002 15:12:13 +0500

hello, squid users.

i have a transprent squid 2.4-STABLE6 (FreeBSD 4.7-RELEASE) on 80th port by
this constructions:

1. firewall rule:
ipfw add fwd 127.0.0.1,3128 tcp from 192.168.1.0/24 to any 80 out xmit xl0

2. squid.conf:
acl Safe_ports port 80
...
http_access deny !Safe_ports
...
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

now i want make transparent proxy also on ports 8000-8101. config to firewall
is simple to add this rule:
ipfw add fwd 127.0.0.1,3128 tcp from 192.168.1.0/24 to any 8000-8101 out xmit xl0

also in squid.conf must be changed:
acl Safe_ports port 80 8000-8100

or added
acl Safe_ports port 8000-8100

is it right? but what i must make with variable "httpd_accel_port" in
squid.conf? how make it work? please help :-)

-- 
Dmitry Suhodoev, http://www.bingo.ru/, icq#550315
Received on Thu Nov 21 2002 - 12:08:52 MST

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