Search squid archive

IP Forwarder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i use HAVP
and my client direct ( trnasparant to HAVP PORT - same machine )
at havp log
20/11/2008 23:23:30 192.168.222.222 GET 200
http://mail.google.com/mail/images/2/5/pebbles/opacity.png 424+169 OK


at squid log
1227241410.457    530 127.0.0.1 TCP_MISS/200 563 GET
http://mail.google.com/mail/rc? - DIRECT/66.249.89.18 image/png

the problem is ....
i have multiple rule user groups that already configured at squid.conf
how to make my squid work again with HAVP capatibilities

my rc.local
echo "1" > /proc/sys/net/ipv4/ip_forward
#/etc/init.d/networking restart
/sbin/iptables --flush
/sbin/iptables --table nat --flush
/sbin/iptables --delete-chain
/sbin/iptables --table nat --delete-chain
/sbin/iptables -F -t nat
/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 127.0.0.1:2210
--------------
my squid.conf
http_port 2210 transparent
icp_port 3130
snmp_port 0
cache_peer 127.0.0.1 sibling 8080 0 no-query no-digest default
cache_peer_access 127.0.0.1 allow all
------------
my havp conf
# Default:
TRANSPARENT true
# Default: NONE
PARENTPROXY 127.0.0.1
PARENTPORT 2210
# Default:
FORWARDED_IP true
# Default:
X_FORWARDED_FOR true
#
# Port HAVP is listening on.
#
# Default:
# PORT 8080
===========

help me pls


-- 
-=-=-=-=
http://amyhost.com
Hot News !!! : Dikarenakan Banyaknya permintaan Domain registration
sehingga Stok Saldo kini terupdate menggunakan Kurs saat ini yaitu Rp.
85.000 untuk non-reseller | Rp. 82.000 untuk Reseller
------------
Pengin punya Layanan SMS PREMIUM ?
Contact me ASAP. dapatkan Share revenue MAXIMAL tanpa syarat traffic...

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux