NAT and DHCP
Michael Hollmann
michael.hollmann at jawa.at
Thu Jan 15 23:39:00 PST 2004
hello,
add following to:
================
/etc/rc.conf
------------
firewall_type="open"
firewall_enable="YES"
firewall_quiet="NO"
natd_enable="YES"
natd_flags="-f /etc/natd.conf"
natd_interface="rl0"
gateway_enable="YES"
/etc/natd.conf
--------------
use_sockets yes
Kernelkonfiguration
/usr/src/sys/i386/conf/
cp GENERIC FIREWALL
vi FIREWALL
// add this to your kernel
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=10
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_FORWARD
options IPDIVERT
options DUMMYNET
options PMAP_SHPGPERPROC=300
config FIREWALL
cd ../../compile/FIREWALL
make depend
make
make install
// oder make depend && make && make install
i hope that´s what you are looking for.
greetings michael
Stanley Chan schrieb:
> Dear friends,
>
> I am running my servers with FreeBSD 4.8 Release and I am planning to
> use the NAT and DHCP functions to let my local area network machines to
> access the internet. Could you tell me where can I find these
> information's and documents as I could you quite understand the
> materials on the handbook. The examples on the handbook are not
> adequate.
>
> Thanks very much for your assistance.
>
> Yours sincerely,
>
> Stanley
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
--
Mit freundlichen Grüßen
Michael Hollmann
JAWA Management Software GmbH
A-8041 Graz, Liebenauer Hauptstraße 200
Tel: ++43 (0)316 403274-13
Fax: ++43 (0)316 403274-10
GSM: ++43 (0)676 4101431
E-Mail: michael.hollmann at jawa.at
Web: http://www.jawa.at/
News: http://www.jawa.at/news.php/ "Web-Framework für B2B-Applikationen"
More information about the freebsd-questions
mailing list