Dear Friend

 When i tried Transparent_Proxy in My CentOS (Squid-2.6.STABLE21)i got some
error report as follows

 eth0 192.168.1.151 (Internet_Ip)
 eth1 192.168.0.1 (Lan_ip_for Clint_Gateway)

Follow the url is
http://www.cyberciti.biz/tips/linux-setup-transparent-proxy-squid-howto.html

I got the error as follows

/var/log/squid/squid.out

2010/08/04 18:57:45| parseConfigFile: line 923 unrecognized:
'httpd_accel_host virtual'
2010/08/04 18:57:45| parseConfigFile: line 924 unrecognized:
'httpd_accel_port 80'
2010/08/04 18:57:45| parseConfigFile: line 925 unrecognized:
'httpd_accel_with_proxy on'
2010/08/04 18:57:45| parseConfigFile: line 926 unrecognized:
'httpd_accel_uses_host_header on'
/etc/sysconfig/iptables

cat /etc/sysconfig/iptables
# Generated by iptables-save v1.3.5 on Wed Aug  4 18:24:50 2010
*nat
:PREROUTING ACCEPT [20:2748]
:POSTROUTING ACCEPT [1:108]
:OUTPUT ACCEPT [1:108]
-A PREROUTING -i eth1 -p tcp -m tcp --dport 80 -j DNAT --to-destination
192.168.1.151:3128
-A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128
COMMIT
# Completed on Wed Aug  4 18:24:50 2010
# Generated by iptables-save v1.3.5 on Wed Aug  4 18:24:50 2010
*filter
:INPUT ACCEPT [19466:11156965]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [17040:6499075]
:COMMIT
# Completed on Wed Aug  4 18:24:50 2010

Regards

B.Rajeshkumar
9894943041.
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to