Date: Thu, 10 Jan 2002 00:44:20 -0500 From: "Nader Turki" <nturki@hotmail.com> To: questions@FreeBSD.org Subject: natd Message-ID: <F112Xi5PFOyDiS7xfrD0000f550@hotmail.com>
next in thread | raw e-mail | index | archive | help
hello all,
i am trying to setup natd on my freebsd box at home so i can connec more
than 1 pc. my roomate got verizon adsl he bought a linksys adsl router so we
connect more than 1 pc.
anyway, i have an old box and wanna try to have my own network so i learn
more about freebsd. here's the info:
i am connected through the router i have ip "196.168.1.10"
now i wanna use the freebsd box as a gateway and connect my win2k machine to
it.
i did add these lines to my kernel:
options IPFIREWALL #firewall
options IPDIVERT #divert sockets
options IPFIREWALL_VERBOSE #print information about
# dropped packets
options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity
options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN
options "ICMP_BANDLIM"
and this is my /etc/rc.conf:
defaultrouter="192.168.1.1"
hostname="box.venix.net"
ifconfig_dc0="inet 192.168.1.10 netmask 255.255.255.0"
linux_enable="YES"
sendmail_enable="NO"
sshd_enable="YES"
gateway_enable="YES"
firewall_enable="YES"
firewall_script="/etc/rc.firewall"
firewall_type="open"
firewall_quiet="NO"
natd_program="/sbin/natd"
natd_enable="YES"
natd_interface="dc0"
natd_flags="-f /etc/natd.conf"
tcp_drop_synfin="YES"
i have 2 nic's one is dc0 and another is dc1
the freebsd bot is online but i have no idea how to connect my win2k pc to
the net using the freebsd as gateway.
i'd appreciate it if someone can help me.
thanks,
nader
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
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?F112Xi5PFOyDiS7xfrD0000f550>
