[firewall_new] dns menteur encore plus menteur sur le vlan accueil.
Ignore-this: f7c21ada58035bb1bc1bb766c4328b72 darcs-hash:20121125151638-3a55a-391e22aad85cf43495f7af16ef2b3a5ed6f241b6.gz
This commit is contained in:
parent
56a4f3cff4
commit
d771498ce1
1 changed files with 3 additions and 0 deletions
|
@ -1604,6 +1604,9 @@ class firewall_routeur(firewall_crans):
|
||||||
iptables("-t nat -i %s -A PREROUTING -p tcp --destination-port 443 -j ACCEPT" % interface)
|
iptables("-t nat -i %s -A PREROUTING -p tcp --destination-port 443 -j ACCEPT" % interface)
|
||||||
i+=1
|
i+=1
|
||||||
|
|
||||||
|
# dns menteur pour accueil
|
||||||
|
iptables("-t nat -A PREROUTING -p udp -s %s --dport 53 -j DNAT --to 10.51.0.10" % NETs['accueil'][0])
|
||||||
|
iptables("-t nat -A PREROUTING -p tcp -s %s --dport 53 -j DNAT --to 10.51.0.10" % NETs['accueil'][0])
|
||||||
def post_start_hook(self) :
|
def post_start_hook(self) :
|
||||||
self.anim = anim("\tMise en place du routage")
|
self.anim = anim("\tMise en place du routage")
|
||||||
warn = ''
|
warn = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue