From owner-freebsd-net@FreeBSD.ORG Fri Jan 20 14:12:30 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.org Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43D1716A41F for ; Fri, 20 Jan 2006 14:12:30 +0000 (GMT) (envelope-from aturetta@bestunion.it) Received: from ms011msg.fastweb.it (213-140-2-11.ip.fastwebnet.it [213.140.2.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id B970643D46 for ; Fri, 20 Jan 2006 14:12:29 +0000 (GMT) (envelope-from aturetta@bestunion.it) Received: from mail.bestunion.it (85.18.201.82) by ms011msg.fastweb.it (7.2.069.1) id 43C3E182006A1429 for freebsd-net@FreeBSD.org; Fri, 20 Jan 2006 15:12:28 +0100 Received: from [192.168.33.30] ([192.168.33.30]) (authenticated bits=0) by mail.bestunion.it (8.13.5/8.13.5) with ESMTP id k0KEC7pB028947 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 20 Jan 2006 15:12:09 +0100 (CET) (envelope-from aturetta@bestunion.it) Message-ID: <43D0EFB7.9040402@bestunion.it> Date: Fri, 20 Jan 2006 15:12:07 +0100 From: Angelo Turetta User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050728 X-Accept-Language: it, en-us, en MIME-Version: 1.0 To: Tiago Cruz References: <1137520320.15943.92.camel@localhost.localdomain> In-Reply-To: <1137520320.15943.92.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on mail.bestunion.it X-Virus-Status: Clean X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, FM_MULTI_ODD2,TW_JC,TW_NB,TW_VJ autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on mail.bestunion.it Cc: "freebsd-net@FreeBSD.org" Subject: Re: MPD and client behind firewall X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2006 14:12:30 -0000 Tiago Cruz wrote: > Hi all! > > I have a FreeBSD 6.0 running MPD server 3.18_3. > The MPD server works very good when I has _direct_ connected by > Internet. > > My problem is with one _client_ (Win XP) behind NAT from iptables. I > have to do some in my PF? I think you are seeing the same problem that I had on my server with a setup similar to yours. The WinXP PPTP client is subtly different from the Win2000 one (that always worked fine in my setup), and it needs some extra config lines for MPD. Please find following my server's mpd.conf, as I don't remember exactly what the fix was (I found it by browsing the MPD mailing lists on SourceForge). I think it's those two 'set pptp disable ...' lines. Hope this helps, Angelo Turetta. Modena - ITALY server4: new -i ng3 s04 pptp3 set ipcp ranges 192.168.X.17/32 192.168.X.21/24 load pptpserver pptpserver: set iface disable on-demand set bundle disable multilink set link yes acfcomp protocomp set link no pap chap set link enable chap set link keep-alive 0 600 set link mtu 1460 set link mru 1460 set ipcp yes vjcomp set ipcp dns 192.168.Y.200 192.168.Y.203 set ipcp nbns 192.168.Y.193 192.168.Y.194 set pptp disable delayed-ack set pptp disable windowing set bundle enable compression set ccp yes mppc set ccp no mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless set bundle yes crypt-reqd