pptp fails after poweroff-powerup restart

Hi,

I’ve got a router working tirelessly in a branch offcie. Nothing special. It uses pptp to connect to HQ.

The problem appears when I unplug de router and plug it on again. Everything loads ok except the pptp tunnel, that keeps saying that the tunnel cant be stablished.

I’ve tried everything, and it is still not working. The only way to make it open the tunnel again is to delete the PPTP connection and create it again from scratch.

I am puzzled about this problem. Does anyone have a clue to solve it?

Regards

I enjoy solving PPTP problems. Can you post a copy of the config for both sides?

Thanks very much for your help!!

This is the server config:


/ppp profile
add dns-server=172.20.21.16 local-address=172.20.21.3 name=
pool_172.20.20_encrip1_compress remote-address=IPs-vpn use-compression=yes
use-encryption=required wins-server=172.20.21.16
set 2 use-encryption=required

/ppp secret
add comment="Remote office" local-address=1.1.1.1 name=remotebranch1 password=secretpassword
profile=default-encryption remote-address=1.1.1.3 routes=172.20.23.0/24
service=pptp

/interface pptp-server
add name=pptp-usuarios user=""

/interface pptp-server server
set authentication=mschap2 enabled=yes

/ip pool
add name=IPs-vpn ranges=172.20.20.10-172.20.20.240

And for the remote office:


/interface pptp-client
add add-default-route=no allow=pap,chap,mschap1,mschap2 connect-to=80.33.32.31 dial-on-demand=no disabled=no max-mru=
1460 max-mtu=1460 mrru=disabled name=pptp-out1 password=secretpassword profile=default-encryption user=remotebranch1

This works OK. But if we switch off the remote branch router and then on again, the pptp tunnel does not reconnect. If I disable the pptp-client config and enable it again, it still does not work. The only way to make it connect again is to delete the pptp-client config and create it again.

For the record, the remote branch router (the one that does not restablish the connection) is:
/system resource> print
uptime: 4w1d23h52m37s
version: 5.24
free-memory: 18084KiB
total-memory: 29696KiB
cpu: MIPS 24Kc V7.4
cpu-count: 1
cpu-frequency: 400MHz
cpu-load: 0%
free-hdd-space: 90164KiB
total-hdd-space: 126976KiB
write-sect-since-reboot: 75610
write-sect-total: 76389
bad-blocks: 0%
architecture-name: mipsbe
board-name: RB750UP
platform: MikroTik

The HQ router is:

uptime: 4w1d19h48m9s
version: 6.4
build-time: Sep/12/2013 13:52:41
free-memory: 38.8MiB
total-memory: 64.0MiB
cpu: MIPS 74Kc V4.12
cpu-count: 1
cpu-frequency: 600MHz
cpu-load: 15%
free-hdd-space: 110.7MiB
total-hdd-space: 128.0MiB
write-sect-since-reboot: 3312
write-sect-total: 16019
bad-blocks: 0.1%
architecture-name: mipsbe
board-name: RB2011iL
platform: MikroTik


Thanks again for your help.