From owner-freebsd-questions Wed Jan 9 21:44:28 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f112.law10.hotmail.com [64.4.15.112]) by hub.freebsd.org (Postfix) with ESMTP id 8066437B420 for ; Wed, 9 Jan 2002 21:44:24 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 9 Jan 2002 21:44:24 -0800 Received: from 151.201.26.100 by lw10fd.law10.hotmail.msn.com with HTTP; Thu, 10 Jan 2002 05:44:20 GMT X-Originating-IP: [151.201.26.100] From: "Nader Turki" To: questions@FreeBSD.org Subject: natd Date: Thu, 10 Jan 2002 00:44:20 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 10 Jan 2002 05:44:24.0364 (UTC) FILETIME=[DC07F6C0:01C19999] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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