From owner-freebsd-questions Mon Nov 15 14:35:24 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gate.hsag.com (gate.hsag.com [209.180.144.14]) by hub.freebsd.org (Postfix) with SMTP id 3B9AC14A2A for ; Mon, 15 Nov 1999 14:35:20 -0800 (PST) (envelope-from SWorthington@hsag.com) Received: (qmail 20571 invoked from network); 15 Nov 1999 22:21:34 -0000 Received: from unknown (HELO internal.hsag.com) (192.168.83.9) by 192.168.83.5 with SMTP; 15 Nov 1999 22:21:34 -0000 Received: from AZPRO-Message_Server by internal.hsag.com with Novell_GroupWise; Mon, 15 Nov 1999 15:42:15 -0700 Message-Id: X-Mailer: Novell GroupWise 5.5.2 Date: Mon, 15 Nov 1999 15:41:50 -0700 From: "Scott Worthington" To: , Subject: Re: PPP and NAT question Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Tony, what problem are you attempting to solve with FreeBSD as the firewall? What services are you making available to the LAN computers? With answers to these questions, we may be able to direct you to solutions. Do you want users to have direct access to the=20 Internet through the firewall? Do you want to monitor and log user activity? >>> "Tony Tidswell" 11/15/99 04:29PM >>> 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 =3D NO gateway_enable=3DYES 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=20 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=20 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=20 with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message