Get a root prompt. Run the command 'lokkit' This will edit the file /etc/sysconfig/ipchains, which is the IPCHAINS configuration file. To stop/start ipchains: /etc/init.d/ipchains stop /etc/init.d/ipchains start Be careful to always keep SSH (TCP/22) open or else you will lock your self out of your server!! Lokkit is a cursor-based ipchains administration tool that ships standard with RedHat Linux. Lokkit simplifies the task of implementing a host-based (software) firewall solution for your Linux server. By enabling the ability to selectively open only those ports necessary to run your DNS, mail, or web server, your risk of being hacked is minimized.
|