From owner-freebsd-questions Tue Sep 25 13: 2:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.dada.it (mail3.dada.it [195.110.96.70]) by hub.freebsd.org (Postfix) with SMTP id D04AC37B405 for ; Tue, 25 Sep 2001 13:02:15 -0700 (PDT) Received: (qmail 11490 invoked from network); 25 Sep 2001 20:02:03 -0000 Received: from unknown (HELO torrini.org) (195.110.114.101) by mail.dada.it with SMTP; 25 Sep 2001 20:02:03 -0000 Received: (from riccardo@localhost) by torrini.org (8.11.3/8.11.3) id f8PK11n56182; Tue, 25 Sep 2001 22:01:02 +0200 (CEST) (envelope-from riccardo) Message-ID: X-Mailer: XFMail 1.5.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010925140916.J97094-100000@shumai.marcuscom.com> Date: Tue, 25 Sep 2001 22:01:01 +0200 (CEST) From: Riccardo Torrini To: Joe Clarke Subject: Re: VPN, mpd-netgraph, FreeBSD, win95 Cc: freebsd-questions@FreeBSD.ORG, esperti@gufi.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 25-Sep-2001 (18:19:50/GMT) Joe Clarke wrote: > You're trying to get all of your remote Windows machines to access > _all_ of your internal hosts by name and address, correct? Yes, I need this because server-farm subnet and some important host are on remote (from firewall) networks. > my Windows clients use the default route from the PPTP gateway. I have this line "set ipcp dns 192.168.1.1" to enable DNS _BUT_ our dns in on a different subnet from firewall and win clients are unable to reach dns even with ping without adding manually this route: C:\# route add 192.168.0.0 mask 255.255.0.0 192.168.254.254 metric 1 I'd like a default gateway pointing to internal-side of pptp link, but with w95 I got and empty "default gateway" after connecting, on the winipcfg-ppp-vpn-adapter, and trying "netstat -rn" from the dos command line give me two line "0.0.0.0" (default) pointed back to ISP side of ppp link. A friend of mine tell me about "profiles" under win, to force some parameters like default gateway and dns on the ppp connection. What do you think? Have you any experience about this? As last resort I can create a script to add needed routes after successfull VPN handshake, but DNS problem remain, and I dislike to add out machines on local hosts file (to >>100 laptops)... > When data cannot be sent on the local (non-VPN) network, it is > sent over the VPN connection. Now, this is available on Windows > 2000. I haven't look at Win 95 DUN 1.3 in a while. Tomorrow I'll test a w98 and wnt client, cross your fingers... > I use the set ipcp dns command to pass DNS, and it works with my > 98 and 2000 clients. I don't think I have any running 95. It (seems to) works even with w95 _BUT_ ISP-DNS obtained from DHCP are in front of mine, so I am unable to resolve my internal names. Any more help, hints, tip&trick or voodoo will be apreciated :-) Thanks again, Riccardo. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message