search for: list_of_domains

Displaying 3 results from an estimated 3 matches for "list_of_domains".

2018 Mar 11
2
Squid vs. iptables redirection: exception for certain domains ?
Hi, I'm currently facing a quite tricky problem. Here goes. I have setup Squid as a transparent HTTP+HTTPS proxy in my local network. All web traffic gets handed over to Squid by an iptables script on the server. Here's the relevant section in /etc/squid/squid.conf: --8<------------------------------------------------------------- # Ports du proxy http_port 3130 http_port 3128
2018 Mar 11
3
Squid vs. iptables redirection: exception for certain domains ?
...with google.com, right? > # firewall.sh > iptables v1.4.21: ! not allowed with multiple source or destination IP > addresses > > So my question is: how can I write an iptables rule (or series of rules) > that redirect all traffic to my proxy, *except* the one going to > <list_of_domains> ? It is not a good practice to place domain names into iptables rules. Define a custom table, place this table into your rule list (to stick at the right place) and feed that table with the resolved domain names. This can be altered while running in the case of changes (check resolving res...
2018 Mar 11
0
Squid vs. iptables redirection: exception for certain domains ?
...p ! -d www.google.com --dport 443 -j REDIRECT --to-port 3129 # firewall.sh iptables v1.4.21: ! not allowed with multiple source or destination IP addresses So my question is: how can I write an iptables rule (or series of rules) that redirect all traffic to my proxy, *except* the one going to <list_of_domains> ? Cheers, Niki -- Microlinux - Solutions informatiques durables 7, place de l'?glise - 30730 Montpezat Site : https://www.microlinux.fr Blog : https://blog.microlinux.fr Mail : info at microlinux.fr T?l. : 04 66 63 10 32