[squid-users] DG and Squid 1 Machine

From: ░▒▓ ɹɐzǝupɐɥʞ ɐzɹıɯ ▓▒░ <mirza.k_at_gmail.com>
Date: Thu, 20 Nov 2008 12:20:23 +0700

hi all
sorry for my cross posting but this is urgent :(
i have problem here

eth0 192.168.222.100 =>> Go to LAN and act as Client's GW and DNS (
Installed DG and Squid )
eth1 10.0.0.2 =>> Go to LoadBalancing + DMZ server ( IP PUBLIC
forwarded ( got DMZ to this machine )

squid.conf :
http_port 2210 transparent

dansguardian.conf :
filterport = 2211
proxyip = 127.0.0.1
proxyport = 2210

rc.local
/sbin/iptables --table nat --append POSTROUTING --out-interface eth1
-j MASQUERADE
/sbin/iptables --append FORWARD --in-interface eth1 -j ACCEPT
/sbin/iptables -t nat -A PREROUTING -i eth0 -p tcp -s
192.168.0.0/255.255.0.0 --dport 80 -j DNAT --to 192.168.222.100:2211
/sbin/iptables -t nat -A PREROUTING -p tcp -i eth1 -d 10.0.0.2 --dport
2210 -j DNAT --to-destination 192.168.222.100

output :
ERROR
The requested URL could not be retrieved
--------------------------------------------------------------------------------
While trying to retrieve the URL: http://google.com/
The following error was encountered:
Access Denied.
====

what wrong ?
Received on Thu Nov 20 2008 - 05:20:28 MST

This archive was generated by hypermail 2.2.0 : Thu Nov 20 2008 - 12:00:03 MST