[firewall] Réussir du premier coup m'aurait étonné...
darcs-hash:20100111000157-ffbb2-71e3b7c9d09b9838b273245990c419ba080fa941.gz
This commit is contained in:
parent
1fd27cbf22
commit
2ea51d88c8
1 changed files with 1 additions and 1 deletions
|
@ -1324,7 +1324,7 @@ class firewall_gordon(firewall_crans) :
|
||||||
self.anim = anim('\tRègles spécifiques à gordon')
|
self.anim = anim('\tRègles spécifiques à gordon')
|
||||||
iptables("-t mangle -A PREROUTING " +
|
iptables("-t mangle -A PREROUTING " +
|
||||||
"-d ! 138.231.136.0/21 " +
|
"-d ! 138.231.136.0/21 " +
|
||||||
("-i %s " % eth_wifi) +
|
("-i %s " % self.eth_wifi) +
|
||||||
"-p tcp -m tcp --dport 80 " +
|
"-p tcp -m tcp --dport 80 " +
|
||||||
"-j MARK --set-xmark %s/0xffffffff" % conf_fw.mark['proxy'])
|
"-j MARK --set-xmark %s/0xffffffff" % conf_fw.mark['proxy'])
|
||||||
print OK
|
print OK
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue