MPD and client behind firewall
Angelo Turetta
aturetta at bestunion.it
Fri Jan 20 06:12:30 PST 2006
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
More information about the freebsd-net
mailing list