I just flushed my IPTables ruleset and I'm writing new rules. I'm going to keep it pretty simple. I'm basically denying any IPs for INPUT that isn't the 1 i'm using, then I'm going to open port 80, 443, and the port for PLESK. That's it.
iptables -L -v, it doesn't show the actual ports. It seems it gives names based on the list configured in /etc/services, so do I need to update this list if I moved PLESK to a different port and it will update the name accordingly? For the sake of keeping track (in case I write more rules) I'd like to at least see the name of the service I'm making a rule for when I check it.
For example, I moved my SSH port, but if I write a rule stating if that port is attempted more than 4 times in a minute, it will REJECT the IP, I want it to actually say
ssh in my IPTables ruleset, not
dpt:pc-telecommute or whatever the generic is.
So updating /etc/services does this?