How to Start Linux Ports With IPTables
IPTables is the default firewall software built in to the Linux operating system. You can choose whether you want to have IPTables start automatically, which will protect the ports on the computer, or whether you want it to require a manual initiation to start it up. Automatic starting is generally the best option for most servers since it provides the most security.
Instructions
-
-
1
Log in to your Linux computer and open the command line interface ("Terminal" application).
-
2
Type "vim /etc/cfg/start.cfg" and press "Enter" to open the startup configuration.
-
-
3
Go the end of the file and press "Enter" to create a new line.
-
4
Type "/etc/init.d/iptables start -auto" onto the new line.
-
5
Press the "Escape" key, then type ":w" to save the file, then type ":q" to exit the file.
-
6
Restart the computer to apply the settings and make IPTables start every time the computer boots up to ensure the ports are well-protected.
-
1