How to open and close port in iptables ?

Few of very simple steps

1) Login using root

2) Enter following command to open port in iptables

3) Enter following command to close port in iptables

4) Save iptables

5) Restart iptables

Please follow and like us:
RSS20
Follow by Email
Facebook
Google+
http://techat.net/how-to-open-and-close-port-in-iptables/
Twitter

Trackbacks

  1. […] If you are running iptables, then dont forget to open that port in iptables before you change it in sshd_config Tags: Centos, How to, linux, openssh, redhat, secure, ssh […]

Comment Policy:

Your words are your own, so be nice and helpful if you can. Please, only use your real name, not your business name or keywords. Using business name or keywords instead of your real name will lead to the comment being deleted. Anonymous commenting is not allowed either. Limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.

Tell us what you're thinking...

All comments are moderated.

* Denotes required field.

*

*

Previous Post:
Next Post: