Operating System - Linux
1827811 Members
2053 Online
109969 Solutions
New Discussion

Re: Rule set for Multiple TCP port.

 
walter crasto_1
Frequent Advisor

Rule set for Multiple TCP port.

Hi,
I am using Linux IPCHAIN firewall, I want to add rule set which will block tcp port 3127-3198,
Can any body let me know how to include range of tcp port in one rule set. I am using firewall-config gui utility.

Thanks

Walter
2 REPLIES 2
U.SivaKumar_2
Honored Contributor

Re: Rule set for Multiple TCP port.

Hi,

you use destination port option like this

--dport 3127:3198

regards,
U.SivaKumar

Innovations are made when conventions are broken
Stuart Browne
Honored Contributor

Re: Rule set for Multiple TCP port.

don't forget your '-p tcp'! :)
One long-haired git at your service...