LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   firewall..... make it simple needed (https://www.linuxquestions.org/questions/linux-security-4/firewall-make-it-simple-needed-98130/)

slack66 09-29-2003 04:31 AM

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:)

richardd70 09-29-2003 04:57 AM

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

slack66 09-30-2003 05:20 AM

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:)

/bin/bash 09-30-2003 09:26 PM

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.

dglnz 10-02-2003 03:24 AM

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.


All times are GMT -5. The time now is 04:55 AM.