Subject: Re: Setting up NAT and then a firewall...
To: <>
From: Sam Carleton <scarleton@miltonstreet.com>
List: tech-security
Date: 07/22/2001 14:31:36
Manuel Bouyer wrote:
> Ha, NO ipfilter rules. ipfilter needs to be enabled for NAT to work.
> Try 'ipf -E' to test. You may want to create a dummy /etc/ipf.conf with just
>
> pass in from any to any and enable ipf in /etc/rc.conf, so that ipf -E will
> be run at boot.
Manuel,
This is very interesting. You say that ipfilter needs to be enabled for NAT
to work. The rest of my ipnat.conf file is working just fine. I have a
number of computers behind the NetBSD machine and they CALL are able to access
the Internet thanks to the first three lines of the ipnat.conf file. But all
the same I took your word for it and created a basic ipf.conf that simply has:
pass in from any to any
I set ipfilter=Yes in the /etc/rc.conf and rebooted. When I ssh from the
outside, I still end up on the NetBSD machine (future firewall). Any more
thoughts on what I can try?