Date: Wed, 09 Apr 2003 08:53:57 -0400 From: Bill Moran <wmoran@potentialtech.com> To: Mark Gladman <mark_gladman@hotmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Firewall testing issues. Message-ID: <3E9417E5.3000900@potentialtech.com> In-Reply-To: <F139G8XHXMH3jCNAv9t00002fdc@hotmail.com> References: <F139G8XHXMH3jCNAv9t00002fdc@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark Gladman wrote: > Hi there, > > I pointed this question at the freebsd-newbies list previously, and only > afterwards realised that it's probably more technical than should be > posted to that list.. oops.. > > Anyway, I've got an external ADSL router which uses a static route to > forward packets(?) to a FreeBSD box using ipfw. I've configured ipfw to > some extent (still some stuff not working..), but I'm currently tweaking > the config for it. Now, what happens when I try and get someone to > portscan it from the outside world (using nmap), instead of it > portscanning the FreeBSD box, it scans the ADSL router, even though I > thought that the static route just handed all incoming packets to the > FreeBSD box? > > The ADSL router has NAT'ing enabled on it, as opposed to the FreeBSD > machine doing the NAT'ing. (This was the way that was recommended to me, > and seems to work). > > So I'm just wondering.. how can I tell if the firewall is actually > working or not? because portscanning it internally won't be a problem > since all the internal computers have the ability to do pretty much > whatever they want, and doing it externally just hits the ADSL router. First off ... your router is part of your security system, so you need to take it's behaviour into consideration. Especially if you're giving the local network unrestricted access to the machine ... it makes the routers capibilities VERY important. If you still want to test the firewall ... the first thougth that comes to mind is to temporarily rearrange your network without the router, and create a local machine that pretents to be on the external network and test it from there. -- Bill Moran Potential Technologies http://www.potentialtech.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E9417E5.3000900>