diff --git a/HowtoIPTables.md b/HowtoIPTables.md index 5dd8f22f..552b10a5 100644 --- a/HowtoIPTables.md +++ b/HowtoIPTables.md @@ -54,4 +54,12 @@ Lorsqu'un serveur dispose de plusieurs interfaces, dont une pour un réseau loca ~~~ /sbin/iptables -A INPUT -i eth1 -j ACCEPT +~~~ + +### Autoriser la sortie sur un port + +Exemple si on a un serveur Munin centralisé, il a besoin de joindre les "munin-node" : + +~~~ +/sbin/iptables -A INPUT -p tcp --sport 4949 --dport 1024:65535 -m state --state ESTABLISHED,RELATED -j ACCEPT ~~~ \ No newline at end of file