i want to confgure a transparent proxy configuration
plz guide do this
thank u
Following packages must be installed
Packages: squid
Configuration File: /etc/squid/squid.conf
Following services takes part in this process so should be up
Services: squidhttp_ports 8080 (Multiple ports can also be defined) cache_mem 8 MB (Size of RAM being used for active cache)
maximum_object_size 4 MB cache_dir ufs /var/spool/squid 1000 16 256 (define your own cache size)
cache_access_log /var/log/squid/access.log (define your own log path)acl mynetwork src 192.168.0.0/255.255.255.0 (Allow ur network)
http_access allow mynetwork (Allow ur network)cache_mgr you@yournetwork.com (your email here)
cache_effective_user squid
cache_effective_group squid
visible_hostname yournamehttpd_accel_port 80
httpd_accel_host virtual
httpd_accel_with_proxy on
httpd_accel_uses_host_header on echo "1" > /proc/sys/net/ipv4/ip_forward
iptables –t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080
iptables –t nat –A POSTROUTING –o eht1 –j MASQUERADE # chown squid:squid /var/spool/squid (or your own cache dir)
# chmod -R 755 /var/spool/squid
# squid -z (for creating cache dir) # service squid startUsers browsing this forum: No registered users and 0 guests