From owner-freebsd-questions Fri Dec 10 11:11:14 1999 Delivered-To: freebsd-questions@freebsd.org Received: from node11a94.a2000.nl (node11a94.a2000.nl [24.132.26.148]) by hub.freebsd.org (Postfix) with SMTP id 7824515A04 for ; Fri, 10 Dec 1999 11:05:52 -0800 (PST) (envelope-from ronald@node11a94.a2000.nl) Received: (qmail 71381 invoked from network); 10 Dec 1999 19:05:45 -0000 Received: from dlanor.evertsen.nl (10.0.0.3) by node11a94.a2000.nl with SMTP; 10 Dec 1999 19:05:45 -0000 Date: Fri, 10 Dec 1999 20:05:44 +0100 (CET) From: Ronald 'Ko' Klop To: freebsd-questions@freebsd.org Subject: ppp server and gateway configuration Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I have the following configuration: A LAN with addresses 10.0.0.x and netmask 255.255.255.0 10.0.0.1 is my gateway with nat and cable modem to the rest of the internet. I have a machine with IP 10.0.0.3 and a modem. I configured this one as a ppp dialin server. Dialup works. The machine gets the address 10.0.0.200 and can communicate with 10.0.0.3. But it cannot see the rest of my LAN or the rest of the internet. I configured 10.0.0.3 as a gateway and am using user-ppp. I also tried to give the calling computer the address 20.0.0.x to place it on another subnet, but that didn't work either. Can somebody suggest me how to configure this? Thank in advance, Ronald. PS: please reply by CC: also. This is my ppp.conf: -------------------------------------------------------------- default: # # Make sure that "device" references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # 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 120 set ifaddr 20.0.0.3 20.0.0.200 255.255.255.0 set dns 10.0.0.1 set nbns 10.0.0.1 # added by Ronald accept dns accept pap papchap: # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # set phone PHONE_NUM set authname USERNAME set authkey PASSWORD -- Ronald Klop http://node11a94.a2000.nl/~ronald/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message