Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jul 2004 20:05:48 -0300
From:      "Pedro Paulo Jr" <ppj@netfilter.com.br>
To:        <freebsd-ipfw@freebsd.org>
Subject:   Re: Server FW Rules
Message-ID:  <001a01c4621b$71c2fe20$2c1906c9@vilapnq0uu055v>

next in thread | raw e-mail | index | archive | help

ipfw add 10 allow all from 10.0.0.0/24 to any
ipfw add 20 allow tcp from any to EXTERNAL_IP http
ipfw add 30 allow tcp from any to EXTERNAL_IP https
ipfw add 40 allow tcp from any to EXTERNAL_IP ssh
ipfw add 50 allow tcp from any to EXTERNAL_IP ftp
<put aditional rules>
ipfe deny all from any to any
-------------------------------------------------------------------------=
------------------------------
I have a webserver that I would like to get a good set of firewall rules
for.  The only services that are running are http, https, ssh and ftp.  =
I
also have a trusted internal adaptor at 10.0.0.100

Thanks for your input,

Scott.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001a01c4621b$71c2fe20$2c1906c9>