=== chris14_ is now known as chris14 | ||
NickCarter | Hi guys, how to allow open multipe ports with iptables? | 11:30 |
---|---|---|
ravage | Your Google term is multiport | 11:31 |
NickCarter | -A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT // this one liner code only support one port | 11:31 |
NickCarter | multiport, ok | 11:32 |
NickCarter | Is this example correct? with semicolon used for port range? __> iptables -A INPUT -p tcp --match multiport --dports 80,443,8080,20:25,2000:2100 -j ACCEPT | 11:34 |
ravage | https://manpages.ubuntu.com/manpages/trusty/en/man8/iptables-extensions.8.html | 11:37 |
NickCarter | thank you. | 11:44 |
=== abydon5 is now known as abydon | ||
=== Avago_Broadqual3 is now known as Avago_Broadqual | ||
=== halves8 is now known as halves | ||
=== ajfriesen16 is now known as ajfriesen1 | ||
=== p3lim2 is now known as p3lim | ||
=== lionel62 is now known as lionel6 | ||
=== bbezak8 is now known as bbezak | ||
=== willyp3 is now known as willyp | ||
=== Snuupy2 is now known as Snuupy | ||
=== arif-ali_ is now known as arif-ali |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!