How to secure a port on my machine?

I have a service running on port 5555 on my machine. I want to make it so that only localhost can connect to that port.

The service itself is not capable of performing access control based on the remote host, so I figure I have to use a firewall.

Can I do something with the "ipchains" command? What would be the syntax? Is there a good IPChains For Dummies type tutorial webpage somewhere?

 

 

 

 

Top