Commits

Zhang Huangbin committed 0c97404

Sync samples/iptables.rules: don't use '-m multiport'.

Comments (0)

Files changed (1)

iRedMail/samples/iptables.rules

 -A INPUT -p icmp --icmp-type echo-request -j ACCEPT
 
 # ejabberd
-#-A INPUT -p tcp -m multiport --dport 5222,5223,5280 -j ACCEPT
+#-A INPUT -p tcp --dport 5222 -j ACCEPT
+#-A INPUT -p tcp --dport 5223 -j ACCEPT
+#-A INPUT -p tcp --dport 5280 -j ACCEPT
 
 # ldap/ldaps
-#-A INPUT -p tcp -m multiport --dport 389,636 -j ACCEPT
+#-A INPUT -p tcp --dport 389 -j ACCEPT
+#-A INPUT -p tcp --dport 636 -j ACCEPT
 
 # ftp.
-#-A INPUT -p tcp -m multiport --dport 21,20 -j ACCEPT
+#-A INPUT -p tcp --dport 20 -j ACCEPT
+#-A INPUT -p tcp --dport 21 -j ACCEPT
 
 COMMIT
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.