But when send an email through the MS Exchange web interface, or browse a development site on the office network, my VPN fails with this message:
nm-pptp-service-7067 warn[decaps_gre:pptp_gre.c:331]: short read (-1): Message too long
It disconnects any SSH sessions using the VPN, and is generally very annoying.
Finally I think I may have got the answer....
It seems to changing the MTU (maximum transmission unit) for the connection.
Firstly I ran traceroute
Amongst other things this list the pmtu at certain hops.
Here's some output:
1: my-desktop 0.281ms pmtu 1500
1: xxx.xxx.xxx.xxx 1.316ms
1: xxx.xxx.xxx.xxx 1.093ms
2: xxx.xxx.xxx.xxx 1.818ms pmtu 1432
IP addresses are masked.
The first line says my MTU is currently 1500.
Further down it lists the MTU of another network hop. It's lower than mine. So I simply change my MTU to the lowest MTU I found.
In Ubuntu this is very easy to change.
System > Preferences > Network Connections
Edit 'eth0' and there is a box to change the MTU.