New answers tagged

0

try this iptables rules: iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080 masquerade = allow private ip to access internet --dport 80 -j redirect --to-port 8080 = any request from private ip that access web will be redirected to our proxy server at port 8080.


0

You use the cache_peer config option to define a peer or parent, and you use cache_peer_access to force all requests matching a particular squid acl to use that peer. For example: cache_peer squid2.example.com sibling 3128 3130 acl alwayspeer dstdomain foo.example.com bar.example.com cache_peer_access squid2.example.com allow alwayspeer That will force ...


1

Yes, it is possible. You can add # at the beginning of the line to ignore particular domain being blocked. In your case file to edit would be /etc/squid/adslist.txt. For example, www.xyz.com #www.example.com www.abc.com



Top 50 recent answers are included