Unix/Linux Go Back    

Need help for iptables rules


Kindly Note - This is a Single User Post by Forum Member jim mcnamara Regarding:
Need help for iptables rules.
Please Follow The Primary Link Above to View the Full Discussion.

Old Unix and Linux 12-30-2016   -   Original Discussion by Thomas342
jim mcnamara jim mcnamara is offline Forum Staff  
Join Date: Feb 2004
Last Activity: 19 November 2017, 7:33 PM EST
Location: NM
Posts: 11,239
Thanks: 571
Thanked 1,116 Times in 1,030 Posts
tcp ports are dictated by IANA So if you decide to "secure" port 25, nobody will be able to connect using ftp.

This link has 140 pages, just read a few.
Service Name and Transport Protocol Port Number Registry

My point is: you can break all kinds of services without knowing why. And if someone attacks a random port and there is no service behind it to respond, the attacks fails. So no need to block it. This is why attacks go for a lot of known ports. So known ports may require a minor tweak.

Are you trying to harden your box for a reason? A lot of linux boxes have special apps to help you. What OS and version of it do you have?
uname -a will show that, so please post it.

Edit: It is not uncommon to harden a UNIX and break some applications.

Last edited by jim mcnamara; 12-30-2016 at 09:02 PM..
The Following 2 Users Say Thank You to jim mcnamara For This Useful Post:
RavinderSingh13 (12-31-2016), Thomas342 (01-01-2017)