Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-13-2003, 12:47 AM
|
#1
|
LQ Newbie
Registered: Jan 2003
Posts: 13
Rep:
|
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. 
|
|
|
08-13-2003, 02:01 PM
|
#2
|
Member
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313
Rep:
|
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)
|
|
|
08-13-2003, 03:16 PM
|
#3
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
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/
|
|
|
08-13-2003, 03:38 PM
|
#4
|
Member
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313
Rep:
|
Good catch Mathieu.
|
|
|
All times are GMT -5. The time now is 08:54 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|