LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 02-05-2002, 01:04 AM   #1
jiles912
LQ Newbie
 
Registered: Jan 2002
Posts: 3

Rep: Reputation: 0
Angry HELP...with firewall


Can someone tell me how to punch a hole in my firewall to allow access to my email server (10.0.0.5) port 25 and 110? I have one public interface and one private interface. Also, I am running IPTABLES and 2.4.8 kernel. Any help is appreciated.

Desperate newbie...
 
Old 02-05-2002, 05:54 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
if you're not too sure what you're doing, i'd suggest using a firewall builder like firestarter, which does all that stuff for you.

a line like...

iptabes -t filter -A INPUT -p tcp -s 0/0 -d *NET* --dport 25 -j ACCEPT

where *NET* is your interface/mask values, should do the trick tho.
 
Old 02-05-2002, 08:01 AM   #3
jiles912
LQ Newbie
 
Registered: Jan 2002
Posts: 3

Original Poster
Rep: Reputation: 0
Smile

Thanks...works great!
 
  


Reply



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
BSD Firewall vs Linux Firewall ? rootlinux Linux - Security 5 08-29-2007 07:38 AM
Firewall lets ips which are not in the firewall ... why ? sys7em Linux - Networking 2 06-30-2005 12:50 PM
Firewall with features of a Sidewinder firewall? abcampa Linux - Security 4 04-22-2005 04:24 PM
slackware's /etc/rc.d/rc.firewall equivalent ||| firewall script startup win32sux Debian 1 03-06-2004 09:15 PM
Firewall Builder sample firewall policy file ? (.xml) nuwanguy Linux - Networking 0 09-13-2003 12:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:32 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
Open Source Consulting | Domain Registration