Security Basics mailing list archives

Re: Iptables Clues and Advices.


From: panth3r <panth3r () swbell net>
Date: 05 Apr 2003 11:00:40 -0600

You could check out MonMothas awsome firewall script for some ideas, it
really is an excellent script.  I use it as a basis for almost all of my
clients firewalls.

http://monmotha.mplug.org/firewall/index.php

F Hines

On Fri, 2003-04-04 at 13:32, Pierre BETOUIN wrote:
Le ven 04/04/2003 à 14:06, Christian Friedl a écrit :
Nahual Guerrero <nahual () axis org> writes on 
Wed, 02 Apr 2003 22:55:55 +0200 (METDST):




my $iptfh = 'iptables -F';
my $iptin = 'iptables -A INPUT -j DROP -p tcp -s ! 127.0.0.0/255.255.255.0 
--destination-port';
my $iptil = 'iptables -A INPUT -j LOG -p tcp -s ! 127.0.0.0/255.255.255.0 
--destination-port';
my $iptol = 'iptables -A OUTPUT -j LOG';
my $iptfl = 'iptables -A FORWARD -j LOG';

system ("clear");
print "Tirando de la Cadena....\n";






-------------------------------------------------------------------
SurfControl E-mail Filter puts the brakes on spam,
viruses and malicious code. Safeguard your business
critical communications. Download a free 30-day trial:
http://www.securityfocus.com/SurfControl-security-basics


Current thread: