View Single Post
  #1   (View Single Post)  
Old 29th May 2008
hamba hamba is offline
Fdisk Soldier
 
Join Date: Apr 2008
Posts: 71
Default mpd5 stoped working after subnet change

Hi

I'm using mpd5 for pptp connections and last night I had to change our
subnet from 192.168.1.0/24 to 10.1.10.0/24.
After I've made all the changes to all the config files I rebooted and everything is working except for pptp.
I'm using mpd5 for 2 x adsl pppoe and pptp.

Here is the pptp section
Code:
pptp:
        set ippool add pool1 10.1.10.220 10.1.10.239

        create bundle template B
        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.5 208.67.222.222

        set bundle enable compression
        set bundle enable crypt-reqd
        set ccp yes mppc
        set mppc yes e40
        set mppc yes e128
        set mppc yes stateless

        create link template L pptp
        set link action bundle B
        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 external-ip
        set link enable incoming
and then in my pf.conf
Code:
if_pptp         = "{ ng2, ng3, ng4, ng5, ng6, ng7, ng8, ng9, ng10, ng11,
ng12, ng13, ng14, ng15, ng16, ng17, ng18, mg19, ng20, ng21 }"

# PPTP in WAN1
pass quick log on $ext_if1 inet proto gre all keep state
pass quick log on $ext_if1 proto {tcp, udp } from any to 217.41.34.61 port
= 1723 keep state
pass quick log on $if_pptp from any to any keep state
I'm getting an Error 800: Unable to establish a VPN connection.
This used to work well before I changed the subnet last night.

Any idea why its not working any more?
Thanks
hamba
Reply With Quote