From owner-freebsd-questions Wed Apr 26 10: 3:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from www32.web2010.com (www32.web2010.com [216.157.30.254]) by hub.freebsd.org (Postfix) with ESMTP id 7303037BD25 for ; Wed, 26 Apr 2000 10:03:31 -0700 (PDT) (envelope-from mdickerson@officeonweb.net) Received: from sami003 (ip66.denver26.co.pub-ip.psi.net [38.31.8.66]) by www32.web2010.com (8.9.3/8.9.0) with SMTP id MAA07929 for ; Wed, 26 Apr 2000 12:58:50 -0400 (EDT) From: mdickerson@officeonweb.net Message-Id: <3.0.6.32.20000426110031.007a2630@officeonweb.net> X-Sender: success15@officeonweb.net X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Wed, 26 Apr 2000 11:00:31 -0600 To: freebsd-questions@FreeBSD.ORG Subject: gateway issues Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am trying to get a mini-intranet setup using a freeBSD gateway to the outer world (utilizing the intranet webserver, databases, etc). Background: The internal network has 10-12 win9x machines running peer to peer, a file server(a quantum SNAP! server - I'm pretty sure it's a unix box but that is irrelevant, it mount_nfs's fine and the Windoze machines like it too), and the freeBSD machine. I am trying to go out using tun0 being assigned a dynamic IP using 'user PPP' by my ISP. I've been through the docs a few times but I seem to be missing something. My ppp does work fine. I can get out and ping, ftp, etc (from the freeBSD machine). I made the necessary changes to my windows machines per the 'PPP Pedantic Primer' but I am unable to 'get out' to the net on any of the other machines. I am certain I have the windoze machines configured properly as I have a freeBSD gateway at home - literally @home - with my windoze machine getting out fine. There, however, I have a static ip and can hardcode a bit more in my /etc/rc.conf (the other difference --> at home I'm going out from another ethernet instead of the modem but that shouldn't? really matter). I _do_ have 'add default HISADDR' in my /etc/ppp/ppp.conf. I am using a firewall also but it is current set to "open" while I simply get everything else up. On the windoze machine, I have an existing lanbridge client (which gets out through a lanbridge server on another win machine), which I remove when I change the TCP/IP settings to go out through the freeBSD gateway. Not sure if that has anything to do with my problem. I have pasted the seemingly crucial conf files below. I truly appreciate any help, suggestions, or comments. Thank you, Mike Dickerson mdickerson@officeonweb.net /etc/ppp/ppp.conf below : ################################################################# # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by wself@cdrom.com # # $FreeBSD: src/etc/ppp/ppp.conf,v 1.1.2.2 1999/08/29 14:19:56 peter Exp $ ################################################################# default: set device /dev/cuaa1 set log Phase Chat LCP IPCP CCP tun command set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 3600 set ifaddr 0 0 add default HISADDR enable dns ISP: set phone xxxxxxxxxx set authname xxxxxxxxxx set authkey xxxxxxxxxx /etc/rc.conf below : ############################################################################ ######## ############################################################################ ######## # This file now contains just the overrides from /etc/defaults/rc.conf # please make all changes to this file. linux_enable="YES" moused_port="/dev/psm0" moused_enable="YES" saver="green" ifconfig_pn0="inet 172.16.1.1 netmask 255.255.255.0" hostname="mojo.172.16.1.1" nfs_client_enable="YES" portmap_enable="YES" firewall_enable="YES" firewall_type="open" gateway_enabled="YES" . . . and just for giggles, my win98 machine's ethernet properties (when changed to go out through the freeBSD gateway): DNS Configuration enable - hostname - sami002 domain - 172.16.1.2 DNS server search order ns1(yes, the actual IP's are here - didn't want to look them up) ns2 Gateway Installed gateway - 172.16.1.1 IP Address Specify IP 172.16.1.2 Mask 255.255.0.0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message