From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jose Maria Lopez Subject: Re: Iptables Date: 28 Sep 2004 16:27:46 +0200 Sender: netfilter-bounces@lists.netfilter.org Message-ID: <1096376565.28905.32.camel@nostromo.bgsecm.com> References: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="utf-8" To: "netfilter@lists.netfilter.org" El mar, 28 de 09 de 2004 a las 07:07, Contact escribi=C3=B3: > Hi, >=20 > I'm new to iptables and having a problem grasping the concept as well a= s the > syntax. I have read a lot of sites on this but just not getting it. Fir= st - > running rules. From what I can gather I need to have an rc.firewall fil= e > with the various rules and such in it - and have this started at boot. = Am I > close? Second - the syntax. I want to be able to allow my local LAN fu= ll > access to the Linux box (Slackware 10). I also have a website which I w= ant > to allow everyone - except for a few domains and IP's, SSH which I want= to > allow only certain IP's or domains, and Samba which I want to allow onl= y my > local LAN. This is where I'm really confused putting this all together.= If > someone could explain this in plain english - or put me on to a really = easy > iptables for dummies type site, it would be appreciated. >=20 > This box is behind attached to a Linksys router and does not act as a N= AT. > It is just a simple little setup on a p166. >=20 > Thanks >=20 Read the Iptables Tutorial from http://iptables-tutorial.frozentux.net/iptables-tutorial.html it explains everything you want to do and more. --=20 Jose Maria Lopez Hernandez Director Tecnico de bgSEC jkerouac@bgsec.com bgSEC Seguridad y Consultoria de Sistemas Informaticos http://www.bgsec.com ESPA=C3=91A The only people for me are the mad ones -- the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow Roman candles. -- Jack Kerouac, "On the Road"