G
Guest
I am trying to use CMAK to add some routes when a PPTP connection is
established. Is it possible (and how) to specify the VPN IP or interface in
the CMAK script as the gateway if I dont know beforehand what that IP will
be? I have tried using the "DEFAULT" variable as described in the help file
but this uses the client PC's default gateway and not the VPN address
recieved. I am unable to use the A/D add status route option in this
situation so I must use CMAK. Also I cannot use the "Use default gateway"
option either. Can this be done.
Example:
I want to add the following route after VPN established
10.37.102.0 mask 255.255.255.0 (VPN IP)
to force traffic to this subnet over the VPN.
established. Is it possible (and how) to specify the VPN IP or interface in
the CMAK script as the gateway if I dont know beforehand what that IP will
be? I have tried using the "DEFAULT" variable as described in the help file
but this uses the client PC's default gateway and not the VPN address
recieved. I am unable to use the A/D add status route option in this
situation so I must use CMAK. Also I cannot use the "Use default gateway"
option either. Can this be done.
Example:
I want to add the following route after VPN established
10.37.102.0 mask 255.255.255.0 (VPN IP)
to force traffic to this subnet over the VPN.