mpd5 stoped working after subnet change

Odhiambo Washington odhiambo at gmail.com
Mon Jun 2 09:58:22 UTC 2008


On Mon, Jun 2, 2008 at 10:45 AM, Reinhold <freebsd at violetlan.net> 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


More information about the freebsd-questions mailing list