From owner-freebsd-questions Mon Nov 15 14:30: 8 1999 Delivered-To: freebsd-questions@freebsd.org Received: from blaze.net.au (blaze.net.au [203.17.53.1]) by hub.freebsd.org (Postfix) with ESMTP id 88D7C1512C for ; Mon, 15 Nov 1999 14:30:02 -0800 (PST) (envelope-from tony@digitalzoo.com.au) Received: from tony (D12-te4.blaze.net.au [203.17.53.154]) by blaze.net.au (8.9.3/8.9.3) with SMTP id JAA81995 for ; Tue, 16 Nov 1999 09:30:02 +1100 (EST) (envelope-from tony@digitalzoo.com.au) Reply-To: From: "Tony Tidswell" To: Subject: PPP and NAT question Date: Tue, 16 Nov 1999 08:29:04 +0900 Message-ID: <000101bf2fc1$36d22ac0$0d00a8c0@digitalzoo> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, A newbie question re PPP and NAT. I am attempting to set up a FreeBSD server as a firewall router. My first step is to get internal Win clients accessing the internet via PPP on the server before configuring routing rules. I seem to have both PPP and PPPd working from the server (able to ping external servers happily) but cannot get clients on the LAN to go through the server. I have tried using the -alias option for user PPP and natd with PPPd. The routing tables under netstat -rn look ok as does the interface config info under ifconfig -a. The Win 98 box has the gateway IP address pointing to the server IP. Win clients use DHCP and WINS running on and NT 4 server. The rc.conf file includes: defaultrouter = NO gateway_enable=YES The /etc/ppp/options file has: defaultroute noipdefault ipc-accept-remote ipc-accept-local The ppp.conf file has dummy IPs enabled with set ifaddr 127.1.1./0 127.2.2.2/0 255.255.255.0 add 0 0 127.2.2.2 alias enable yes enable dns and the ppp.linkup has: delete ALL add 0 0 HISADDR MYADDR: add 0 0 HISADDR Am I missing any settings with either PPP/PPPd approaches? Any suggestions appreciated. Please reply by mail. Thanks Tony ---- Tony Tidswell tony@digitalzoo.com.au Director DIGITAL ZOO Production & Development of: * Internet and Intranet sites * Web applications * Database design & development * Training and Presentation CD ROMs * Information Kiosks * Content creation & copywriting ACN 081 833 954 www.digitalzoo.com.au 435 Williamstown Rd Port Melbourne 3207 Ph: +61 3 9934 5523 Fx: +61 3 9645 1088 Mob: 0417 036 321 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message