Iptables
Hello,
I am new to Linux. I am running RH Linux 7.3 which needs to be our email (Sendmail) server. IPTABLES is already installed. Could someone help with setting it up for email. Thanks & Regards, Srinivasan.:newbie: |
you could use lokkit to configure the ip tables for you
its in /usr/sbin/lokkit on RH9 and you need to be root to run it put firewall on "High" but go to "customize" In customize you can set up the ports, and only the ports, you need open. For example, to set up port 25 (SMTP) you can: run lokkit Check off "High" Go to Customize In "Other Ports": type 25:tcp (Assuming SMTP port 25) Click OK Click OK again Note: to enter mulitple ports, separate each by a space. For example: 25:tcp 110:tcp would open port 25 (SMTP) and port 110 (POP3) |
Actually lokkit does not work in RH 7.3
For some reason, it is setup for ipchains and not for iptables - iptables is used with Kernel 2.4.x. So, you can try the following GUI tools FireStarter http://firestarter.sourceforge.net/ Shorewall http://www.shorewall.net/ Or if you want to set it up manually, take a look at the documentation and tutorials on Netfilter http://www.netfilter.org/ FireGate - Customizable script http://firegate.sourceforge.net/ |
Good catch Mathieu.
|
All times are GMT -5. The time now is 06:31 PM. |