From owner-freebsd-questions@FreeBSD.ORG Tue Jan 31 08:00:27 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E88EF16A420 for ; Tue, 31 Jan 2006 08:00:27 +0000 (GMT) (envelope-from ipfreak@yahoo.com) Received: from web52113.mail.yahoo.com (web52113.mail.yahoo.com [206.190.48.116]) by mx1.FreeBSD.org (Postfix) with SMTP id 7B57843D48 for ; Tue, 31 Jan 2006 08:00:27 +0000 (GMT) (envelope-from ipfreak@yahoo.com) Received: (qmail 90077 invoked by uid 60001); 31 Jan 2006 08:00:26 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=GA6BBiSr8t37OralIkNGwymDXKojrsBwLUFPZU7g0ry44G0V1gDjg3n2f9MgF1hY9macEEoe8YFlUAfSqRhLHvAOS3TvTYvhYROv0Zt2vFmAzF8QGfJjcavCLkeQ6iohf75aaYaiC4KmHJWHGSqPvYB+3uz8pZaGiEYXFfBWqkU= ; Message-ID: <20060131080026.90075.qmail@web52113.mail.yahoo.com> Received: from [200.78.5.14] by web52113.mail.yahoo.com via HTTP; Tue, 31 Jan 2006 00:00:26 PST Date: Tue, 31 Jan 2006 00:00:26 -0800 (PST) From: gahn To: freebsd general questions , mpd MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: routing issue of mpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2006 08:00:28 -0000 Hi: I got mpd working and logined into pptp server through internet. From my pc, I can ping internal interface of the pptp server, 192.168.128.1 (my pc address is 192.168.128.10). the problem is that I can't ping anything beyond that, such as 192.168.128.2 (it actually is an interface of a router, on the same subnet). >From cmd of windows, with command "ipconfig": Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : 254.254.254.100 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 254.254.254.1 PPP adapter test: Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : 192.168.128.10 Subnet Mask . . . . . . . . . . . : 255.255.255.255 Default Gateway . . . . . . . . . : So how could I change the length of the masking of the ppp adapter? once I can change the length of the masking bits, then I can route my traffic into the rfc1918 networks that behind of the vpn server. the manual page of: http://www.bretterklieber.com/mpd/doc3/mpd22.html don't seem to be matter though. here is the mpd.conf: default: load pptp0 pptp0: new -i ng0 pptp0 pptp0 set ipcp ranges 192.168.128.1/21 192.168.128.10/21 load common common: set iface disable on-demand set iface enable proxy-arp set iface idle 1800 set iface enable tcpmssfix set bundle disable multilink set bundle enable compression set bundle yes crypt-reqd set link no pap chap set link enable chap-msv2 set link keep-alive 10 60 set link enable acfcomp protocomp set ipcp yes vjcomp set ipcp dns 192.168.64.96 set ccp yes mppc set ccp yes mpp-e128 BTW, mpd4 seems to be not very stable; I switched back to 3.18 and it works fine. TIA __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com