Ceriwis  

Go Back   Ceriwis > HOBI > Komputer & Teknologi > Non Windows > Linux & Open source community

Reply
 
Thread Tools
  #1  
Old 24th November 2011
Asalvo's Avatar
Asalvo Asalvo is offline
Member Aktif
 
Join Date: Nov 2011
Posts: 190
Rep Power: 0
Asalvo mempunyai hidup yang Normal
Default [ 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.



MOHON BANTUANNYA .



Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


 


All times are GMT +7. The time now is 01:59 AM.


no new posts