Ceriwis

Ceriwis (https://forum.ceriwis.com/forum.php)
-   Linux & Open source community (https://forum.ceriwis.com/forumdisplay.php?f=53)
-   -   [ HELP ] Transparent Proxy wtih Squid in Ubuntu (https://forum.ceriwis.com/showthread.php?t=580921)

Asalvo 24th November 2011 12:14 AM

[ HELP ] Transparent Proxy wtih Squid in Ubuntu
 

agan2, ane mohon bantuannya. Thanks be 4.



ane punya 1 server yg udah di install squid buat proxynya,



ane mo buat transparent proxy tp ga bsa.

nih ane sisipin config-an yg udah ane buat :



visible_hostname server1

http_port 3128 transparent

cache_dir ufs /var/spool/squid 500 16 256

acl lan src 192.168.0.0/255.255.255.0

acl_ block dstdomain "/etc/sqiud/block"

http_access allow lan

http_access deny block

cache_dir ufs /var/spool/squid 500 16 256



trus file block-nya udah ane buat,isinya :



www.ubuntu.com

www.debian.org



Trus ane tambahin IPTABLES

nih rulenya :



iptables -A PREROUTING -t nat -p tcp �dport 80 -j REDIRECT �to-port 3128



ALHASIL : proxynya ga jalan gan. :tanya:



MOHON BANTUANNYA .

</div>


All times are GMT +7. The time now is 04:35 AM.