Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2006 15:12:07 +0100
From:      Angelo Turetta <aturetta@bestunion.it>
To:        Tiago Cruz <tiagocruz@b4br.net>
Cc:        "freebsd-net@FreeBSD.org" <freebsd-net@FreeBSD.org>
Subject:   Re: MPD and client behind firewall
Message-ID:  <43D0EFB7.9040402@bestunion.it>
In-Reply-To: <1137520320.15943.92.camel@localhost.localdomain>
References:  <1137520320.15943.92.camel@localhost.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43D0EFB7.9040402>