Date: Sun, 8 Dec 2002 11:18:16 -0700 From: "bowen" <b0w3n@attbi.com> To: <freebsd-questions@freebsd.org> Subject: rc.firewall/ipfw/nat Message-ID: <018801c29ee6$302e42c0$020aa8c0@morpheous>
next in thread | raw e-mail | index | archive | help
Hi all need a little help ,)
what I currently have
internet --- cable modem(via DHCP) ---[ed0 Smoothwall0.9.9se ed1] ---
10/100Switch --- int network
what I want to have
internet --- cable modem --- [ "dc0"{FreeBSD4.7-RELEASE}"dc1"]-----
10/100Switch ---- internal network
# set these to your outside interface network and netmask and ip
oif="dc0"
onet="?.?.?.?" <----- DHCP -- how do I set this value?
omask="???.???.???.?" DHCP again
oip="??.??.??" DHCP
# set these to your inside interface network and netmask and ip
iif="dc1"
inet="192.168.10.0/24"
imask="255.255.255.0"
iip="192.168.10.1/24"
then in the services
natd 6668/divert
or is it
natd 8868/divert
or does it matter?
I've been trying to do this both with ipfilter and ipfirewall via various
how to's found googling and the book The Complete BSD 3rd Edition but I just
can't seem to get it to work.. any help would be greatly appreciated
Thanks to all of you
Rick
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?018801c29ee6$302e42c0$020aa8c0>
