Reference Manual |
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 137.92.11.80
The address 137.92.11.80 stands for the IP address of the VPN client.
ppmap delete tcp 1723
gmap delete 192.168.0.2 137.92.11.80
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
SEE ALSO
amap, gmap, ppmap, startup