Instructions
- nano /etc/sysconfig/iptables
- Insert the following line with the desired port number (in this case, replace 22 with desired port)
- -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
- Save and close the file
- /etc/init.d/iptables restart
No comments:
Post a Comment