HOW TO access a Microsoft VPN server running on a machine behind NAT32.
ppmap add tcp 1723 192.168.0.2 1723
The address 192.168.0.2 stands for the IP address of the private machine
running the VPN server.
Port 1723 is the standard Microsoft VPN Server port.
gmap add 192.168.0.2 126.96.36.199
The address 188.8.131.52 stands for the IP address of the VPN client.
ppmap delete tcp 1723
gmap delete 192.168.0.2 184.108.40.206
Note that when the VPN client disconnects, the TCP connection remains in the FINWAIT1 state for about 10 secs. Subsequent connection attempts will fail during this period.
amap add 1723 "gmap add 192.168.0.2 $SRCIP" "gmap delete 192.168.0.2 $SRCIP"
amap delete 1723
script/vpns 192.168.0.2 1723
script/vpns off 1723
amap, gmap, ppmap, startup