/srv/irclogs.ubuntu.com/2024/08/10/#ubuntu-server.txt

=== chris14_ is now known as chris14
NickCarterHi guys, how to allow open multipe ports with iptables?11:30
ravageYour Google term is multiport11:31
NickCarter-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT // this one liner code only support one port11:31
NickCartermultiport, ok11:32
NickCarterIs 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 ACCEPT11:34
ravagehttps://manpages.ubuntu.com/manpages/trusty/en/man8/iptables-extensions.8.html11:37
NickCarterthank 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!