From owner-freebsd-questions@FreeBSD.ORG Mon Jun 2 09:58:22 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1388106566B for ; Mon, 2 Jun 2008 09:58:21 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by mx1.freebsd.org (Postfix) with ESMTP id AB3328FC23 for ; Mon, 2 Jun 2008 09:58:21 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so421475ywe.13 for ; Mon, 02 Jun 2008 02:58:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=xrcSUKO1kagJB3VMJll9U+VClXG9j82iMWKDLH1qiKo=; b=wlOshBBtA7L2uFZmRq4pfs2mHsFu5W4W/9kr8X+1mTb5YmKbhfDTKCZb07lH5UIUgezeu63LQEpRuuOv7HnuL/dtFtQNhn7tYqUeVU8Bs09L5PnHL0I56dPOaQ9pYf+zGtmokFzW5jRXB89E8iQh5A8jyR3s4gmL0fswbrxGmgk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Eq3rbzT5Ygvqv4pGnrgO/4+jFp1jqLIethr3w/agKo0LhawotEvIJwaBwiuqikyYlMOJVlmSpj2NQ/qnLM3JVVfBXtZsc8dRbQjTp0qWa75/Y1mQua/ZsDNyO6SYB8Cb482AXlnfBDDvTM4Q7uyn/VsSSj7imDH2hJORtdls8yQ= Received: by 10.151.112.12 with SMTP id p12mr584046ybm.195.1212400694384; Mon, 02 Jun 2008 02:58:14 -0700 (PDT) Received: by 10.150.219.9 with HTTP; Mon, 2 Jun 2008 02:58:14 -0700 (PDT) Message-ID: <991123400806020258o504c14aid424369edbce3715@mail.gmail.com> Date: Mon, 2 Jun 2008 12:58:14 +0300 From: "Odhiambo Washington" To: Reinhold In-Reply-To: <60238.217.41.34.61.1212392735.squirrel@www.violetlan.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <28936.212.183.134.209.1212056015.squirrel@www.violetlan.net> <60238.217.41.34.61.1212392735.squirrel@www.violetlan.net> Cc: questions@freebsd.org Subject: Re: mpd5 stoped working after subnet change 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: Mon, 02 Jun 2008 09:58:22 -0000 On Mon, Jun 2, 2008 at 10:45 AM, Reinhold wrote: > Hi. > > I'm still struggling with this problem, is there anyone out there that can > offer me some help please I have tested your changes on my mpd5 as well. (a) I assigned 10.1.10.1 as alias IP: ifconfig xl0 inet 10.1.10.1 alias up Mine was 192.168.33.1, but I have used exactly same range as you in the test. (b) Then I edited mpd.conf by doing s/192.168.33/10.1.10/g I did not change any firewall rules (though I use IPFilter/IPNAT on this box). IIUC, your problem is mpd authenticating, yes? I was able to authenticate without a problem. Did you also edit your /etc/rc.conf to change the IP associated with the vpn setup? Here is the mpd.conf I tested: startup: set user foo bar admin set user foo1 bar1 set console self 127.0.0.1 5005 set console open set web self 0.0.0.0 5006 set web open default: load pptp_server pptp_server: set ippool add pool1 10.1.10.50 10.1.10.99 create bundle template MYVPN set iface enable proxy-arp set iface idle 1800 set iface enable tcpmssfix set ipcp yes vjcomp set ipcp ranges 10.1.10.1/32 ippool pool1 set ipcp dns 10.1.10.1 set bundle enable compression set ccp yes mppc set mppc yes e40 set mppc yes e128 set mppc yes stateless create link template MYVPN pptp set link action bundle MYVPN set link enable multilink set link yes acfcomp protocomp set link no pap chap set link enable chap set link keep-alive 10 60 set link mtu 1460 set pptp self MY_PUBLIC_IP_HERE set link enable incoming Lemme know if this helps.... -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post