[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: {G}newbie please help need to settup basic firewall



hi greg,

use iptables. to setup a basic firewall script, you can use the
following generator:

http://morizot.net/firewall/gen/

don't know how 'tight' the resulting firewall is though..

then, when you've got the script (and, of course, the necessary
netfilter support options in your kernel), run it as root. make sure you
also have the iptables packages installed.

check whether the rules are loaded with 'iptables-save'. if all's fine,
you can save the ruleset with '/etc/init.d/iptables save active', which
results in the file '/var/lib/iptables/active', which you can edit to
refine your rules (of course, do a '/etc/init.d/iptables reload'
afterwards).

to make sure the rules are loaded at boot, do a 'dpkg-reconfigure
iptables'.

hope this is what you need!

regards,
-rodi.


On Fri, 2003-06-06 at 09:45, Gregory Machin wrote:
> Please advise on what how i should setup a basic firewall, what deamon
> should i use.. how to i close ports to the outside world ?? etc ..
> 
> Many Thanks
> 
> Greg
> 
> 
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-firewall-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org




Reply to: