[./gestion/gen_confs/firewall.py] On ne veut pas un acces ssh sur tous les serveurs
darcs-hash:20091113221415-8fbb1-256b02015823d894a4f1af912d3870ba12cb1975.gz
This commit is contained in:
parent
330854b95b
commit
45435a5276
1 changed files with 0 additions and 1 deletions
|
@ -867,7 +867,6 @@ class firewall_komaz(firewall_crans) :
|
|||
self.anim.reinit()
|
||||
print OK
|
||||
# Attention les règles sont à l'envers. Hint '-I'
|
||||
iptables("-I EXT_VERS_SERVEURS -p tcp --dport ssh -m state --state NEW -j ACCEPT")
|
||||
iptables("-I EXT_VERS_SERVEURS -p tcp --dport ssh -m state --state NEW\
|
||||
-m recent --name SSH --update --seconds 60 --hitcount 4 --rttl -j DROP")
|
||||
iptables("-I EXT_VERS_SERVEURS -p tcp --dport ssh -m state --state NEW\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue