[firewall_new,firewall,firewall-logrotate-script] On laisse acceuil et isolement sur squid, on met les blacklist softs vers squid, le reste passe en direct.
Ignore-this: a6e2c0a26fddbb7232360f64dc3cfec5 darcs-hash:20111118161604-3a55a-c88c1122b35bc897010fbf03d431d58175a3f1ac.gz
This commit is contained in:
parent
a27e3da685
commit
587860cd5d
3 changed files with 82 additions and 46 deletions
|
@ -1362,11 +1362,11 @@ class firewall_gordon(firewall_crans) :
|
|||
|
||||
def mangle_table(self):
|
||||
self.anim = anim('\tRègles spécifiques à gordon')
|
||||
iptables("-t mangle -A PREROUTING " +
|
||||
"-d ! 138.231.136.0/21 " +
|
||||
("-i %s " % self.eth_wifi) +
|
||||
"-p tcp -m tcp --dport 80 " +
|
||||
"-j MARK --set-xmark %s/0xffffffff" % conf_fw.mark['proxy'])
|
||||
#~ iptables("-t mangle -A PREROUTING " +
|
||||
#~ "-d ! 138.231.136.0/21 " +
|
||||
#~ ("-i %s " % self.eth_wifi) +
|
||||
#~ "-p tcp -m tcp --dport 80 " +
|
||||
#~ "-j MARK --set-xmark %s/0xffffffff" % conf_fw.mark['proxy'])
|
||||
print OK
|
||||
|
||||
def post_start_hook(self) :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue