Home » Posts tagged "open port on firewall linux"

Tag Archives: open port on firewall linux

How to open Port 22 at Firewall Level Linux?

Edit your firewall script and append the following rule to restrict access to /sbin/iptables -A INPUT -s -m state –state NEW -p cp –dport 22 -j ACCEPT Save and close the file. OR, you can type the command as follows and save it to your firewall config file: # /sbin/iptables -A INPUT -s -m state –state NEW -p tcp –dport 22 -j ACCEPT # iptables-save > /path/to/your.firewall.conf Source: http://www.cyberciti.biz Tweet

Tags: , , ,