Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 May 2001 14:21:37 -0500
From:      "Jeff Leslie" <jsl1339@labs.tamu.edu>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   NAT
Message-ID:  <PAEKJMHICCAGLPAOIHHPOEKKCAAA.jsl1339@labs.tamu.edu>

next in thread | raw e-mail | index | archive | help
i have FreeBSD 4.3 RC1 and connected to a dhcp server at Texas A&M
University

i have been trying to run NAT for firewall purposes and I am having trouble.
First off, i added the two options (IPFIREWALL and IPDIVERT) and recompiled
the kernel.  Next i ran

I enabled gateway in /etc/rc.conf
then i did
# natd -interface dc1    (this is my incoming ethernet card, the one
connected to the dhcp.  dc0 is the other)
# /sbin/ipfw -f flush
# /sbin/ipfw add divert natd all from any to any via dc1
# /sbin/ipfw add pass all from any to any

then i went to run the /etc/rc.firewall, and it gave me that permission was
denied ( and i was logged in a root)
also, when i went into /etc/rc.conf, there was no enable_firewall....i added
it, but there was none to begin with
please let me know what im doing wrong.

another thing i want to know is what to set my windows 2000 computer that
runs behind it to? ( as in network properties)

thanks and gig em


jeff leslie


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?PAEKJMHICCAGLPAOIHHPOEKKCAAA.jsl1339>