Date: Mon, 24 Jul 2000 16:43:54 +0200 (CEST) From: Luigi Rizzo <luigi@info.iet.unipi.it> To: noor@comrax.com Cc: freebsd-stable@FreeBSD.ORG Subject: Re: divert + keep-state Message-ID: <200007241443.QAA74794@info.iet.unipi.it> In-Reply-To: <Pine.BSF.4.10.10007230120470.94646-100000@dns.comrax.com> from "noor@comrax.com" at "Jul 23, 2000 01:24:48 am"
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, you should only use 'keep-state' with "setup" TCP packets, and with UDP. Yes you can have a bit more security but setting up the firewall is a bit trickier. cheers luigi > Hi all, > > I have a FreeBSD box with two NIC's that I use to link our internal > network to the outside network. I use ipfw+natd to do this. The following > is the divert rule: > > add divert 8668 ip from any to any via xl1 > > xl1 is the outer NIC. My question is: can I do the following: > > add check-state > add divert 8668 ip from any to any via xl1 keep-state > > I am trying to keep-state for diverted packets. Is this a better secured > way to divert packets (if it works really), or the first should do it? > > Thanks, > Noor > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007241443.QAA74794>