From owner-freebsd-questions Wed Sep 6 12:34:22 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ns1.jonelrienton.org (dsl-64-34-25-237.telocity.com [64.34.25.237]) by hub.freebsd.org (Postfix) with SMTP id 9A0B737B424 for ; Wed, 6 Sep 2000 12:34:18 -0700 (PDT) Received: (qmail 25617 invoked from network); 6 Sep 2000 19:50:08 -0000 Received: from debian (10.29.22.23) by zeus with SMTP; 6 Sep 2000 19:50:08 -0000 Message-ID: <025c01c0183a$e117d860$17161d0a@jonelrienton.org> From: "Jonel Rienton" To: "Ignacio" , "fbsd" References: <39B69B0E.DF01EF6D@infovia.com.ar> Subject: Re: firewal & ppp Date: Wed, 6 Sep 2000 14:44:32 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ppp(8) states you can use the -nat flag to enable NAT using dialup Jonel Rienton http://qmail.freebsduser.org sent by qmail-1.03 on a FreeBSD 4.1-STABLE - ----- Original Message ----- From: "Ignacio" To: "fbsd" Sent: Wednesday, September 06, 2000 2:29 PM Subject: firewal & ppp | my home network: | ---------------- | [Local2] <---ether---> [Local1] <---PPP---> [ISP] | win 98 fbsd 3.2 assigns dyn. | 192.168.72.2 192.168.72.1 IP addr. | | questions: | ---------- | a) to give access to the internet to the win 98 machine | i have to enable firewalls? or with gateway is sufficient? | (now i have firewall on and working) | | b) how must i change in rc.firewall | /sbin/ipfw add 65534 allow all from any to any | to only allow 192.168.72.2 to get out via 192.168.72.1 ppp link? | (and not allow all) | | c) I a later message i said that i can't get out to the internet | from the local2 machine, under win 98. Now i can, but the | problem is i change more than one thing at the same time :) | and i don't now what changes were the correct. | | changes made: | ------------ | dot work | work | 1) in rc.conf: ppp_nat= "NO" | "YES" | 2) connect via: kppp | ppp -auto myisp | | | d) I don't like the rc.conf entry: firewall_type="OPEN" | what i must use? | -- | Ignacio Zelaya | | | To Unsubscribe: send mail to majordomo@FreeBSD.org | with "unsubscribe freebsd-questions" in the body of the message -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use iQA/AwUBObaenqQ0pAI9Fl/WEQIL4QCgrinnVs6Zx4NhlnFwDZYCgfF7n6QAnj59 9WcCCwZqWyneCeVfYO2mghBw =Q0xA -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message