LinuxQuestions.org
Help answer threads with 0 replies.
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 09-29-2003, 05:31 AM   #1
slack66
Member
 
Registered: Jul 2003
Location: manila
Distribution: slackware 8 to 9
Posts: 199

Rep: Reputation: 30
firewall..... make it simple needed


hi again people i have five computer and one linuxbox running as router and mailserver...my question is can anyone give me a simple firewall script using iptables....i want to drop all incoming outgoing and forwarding chain then allowing only internal network to have access to my smtp,pop3 and ssh? and also i want to allowed my five computer to access the internet via nat
pls pls helpme iam depending to you guys
 
Old 09-29-2003, 05:57 AM   #2
richardd70
LQ Newbie
 
Registered: Sep 2003
Location: BH
Distribution: Mandrake 9.1
Posts: 8

Rep: Reputation: 0
Firewalls.

There are a number of posts on firewalls. Do a search on firewall and you will find some.
I think what you want is IPCop, Guarddog or Firestarter.
Look at them and decide what one would be best for you. IPcop runs on its own standalone. Guarddog is just a front end to the Iptables which is probably what you want. The URL is
http://freshmeat.net/redir/guarddog/...epage/guarddog

Good Luck
 
Old 09-30-2003, 06:20 AM   #3
slack66
Member
 
Registered: Jul 2003
Location: manila
Distribution: slackware 8 to 9
Posts: 199

Original Poster
Rep: Reputation: 30
thks! but i need only a simple sample of iptables script. dont want to download any packges and install....and i want to learn in the hardway can you help me guys
 
Old 09-30-2003, 10:26 PM   #4
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
Go to www.linuxguruz.com/iptables

There are several scripts available to download. Just start downloading any that seem like what you want. Put them in /etc/rc.d/rc.firewall and make them executable.

Try the one called Projectfiles.com Linux Firewall. It is extremely easy to configure.

<edit> The best way to learn iptables (imo) is to start looking through these scripts and reading the comments.

Last edited by /bin/bash; 09-30-2003 at 10:31 PM.
 
Old 10-02-2003, 04:24 AM   #5
dglnz
LQ Newbie
 
Registered: Aug 2003
Distribution: mandrake 8.2 upgrading to 9.1 soon
Posts: 7

Rep: Reputation: 0
hi there,

goto http://linux-firewall-tools.com/firewall/index.html

this is a let me hold your hand, answer the questions and when done will write you a script based on either IPCahins or IPtables.

Ie used it and in about 20 minutes got a script done.

ps I am an extreme novice on iptables and firewalls.

but try it and see, give me a shout as to your thoughts.

dave.
 
  


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
java, simple program help needed.. marlor Programming 1 11-04-2004 03:40 PM
make failing to make with this error. Help needed? vdemuth Linux - Software 4 06-20-2004 04:08 PM
simple backup script needed ferret_dude Programming 4 05-24-2004 09:45 AM
simple Samba help needed yurlittlepony Linux - Networking 7 01-03-2004 08:51 PM
SIMPLE database needed! rkhartley Linux - Newbie 4 10-30-2003 01:25 PM


All times are GMT -5. The time now is 12:01 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration