help setting up natd and ipfw on freebsd5.2.1

Warren Block wblock at wonkity.com
Wed Jun 9 19:16:49 PDT 2004


On Wed, 9 Jun 2004, asolomon15 wrote:

> Then I add natd, gateway and firewall to my rc.conf file
> gateway_enable="YES"
> natd_enable="YES'
> natd_interface="dc0"
> firewall_enable="YES"
> firewall_type="/etc/rc.firewall"

The last line is wrong.  You're mixing the name of the firewall script 
with the type.  Later in your message you said you wanted an open 
firewall, so try this instead:

firewall_type="OPEN"

See the contents of /etc/rc.firewall to compare the different types of 
predefined firewall scripts.

-Warren Block * Rapid City, South Dakota USA


More information about the freebsd-questions mailing list