Ceriwis

Ceriwis (https://forum.ceriwis.com/forum.php)
-   Linux & Open source community (https://forum.ceriwis.com/forumdisplay.php?f=53)
-   -   Seting iptables Squid proxy (https://forum.ceriwis.com/showthread.php?t=580897)

Asalvo 24th November 2011 12:06 AM

Seting iptables Squid proxy
 

langsung aja nih kk



ane baru install ubuntu 10.04 rencananya sih nih kompie mw dibikin proxy dengan squid 2.7 stable 7



bantuin dong buat configurasi nya.. soalnya dah googling gak nemu2 yang pas.. kebanyakan kopi paste dari web orang...



tahap yang ane dah kerjain nih sampe semaleman :hammer:



apt-get update

apt-get install squid



ngerubah squid.conf yang berikut ini



http_port 3128 transparent

always_direct allow all

cache_dir ufs /var/spool/squid 500 16 256



dah gitu langkah berikutnya



sudo squid -z



sudo /etc/init.d/squid restart



nah supaya "sudo echo 1 > /proc/sys/net/ipv4/ip_forward/ bisa auto startup gimana ya :tanya:



trus atu lagi nih kk, masalah iptables



khan

eth0 nya dapet IP 119.x.x.x , tapi DHCP gitu

eth1 nya pake IP 192.168.1.1



gimana yah konfigurasi yang bener bikin transparent proxy buat LAN 192.168.1.0/24



makasih agan-agan sekalian...:ceriwislove:

</div>


All times are GMT +7. The time now is 12:43 AM.