LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 08-13-2003, 12:47 AM   #1
pattar
LQ Newbie
 
Registered: Jan 2003
Posts: 13

Rep: Reputation: 0
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.
 
Old 08-13-2003, 02:01 PM   #2
jdruin
Member
 
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313

Rep: Reputation: 30
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)
 
Old 08-13-2003, 03:16 PM   #3
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
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/
 
Old 08-13-2003, 03:38 PM   #4
jdruin
Member
 
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313

Rep: Reputation: 30
Good catch Mathieu.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
An error occured getting IPtables status from the command /etc/rc.d/init.d/iptables s CrazyMAzeY Linux - Newbie 10 08-12-2010 05:25 AM
Iptables - Couldn't load target `ACCPET':/lib/iptables/libipt_ACCPET.so: z00t Linux - Security 3 01-26-2004 02:24 AM
IPtables Log Analyzer from http://www.gege.org/iptables/ brainlego Linux - Software 0 08-11-2003 06:08 AM
iptables book wich one can you pll recomment to be an iptables expert? linuxownt Linux - General 2 06-26-2003 04:38 PM
My iptables script is /etc/sysconfig/iptables. How do i make this baby execute on boo ForumKid Linux - General 3 01-22-2002 07:36 AM


All times are GMT -5. The time now is 11:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration