Ok, so this script works great except for one thing…
After the connection is made. I can’t ping any of the IPs on the remote side 🙁
The IP address that I am trying to ping is 10.40.163.XXX and none reply.
Looking at the route, there is only one route added and it is for Destination 10.40.163.4 (which is the remote Server IP).
After the PPTP connection is up, add a static route(s) for this PPTP connection. Or when configuring a PPTP connection, that you use it as the default route.
PS You are a very strange trying to use is balancer, combining channel with your ISP IP range and the channel on which apparently works NAT