I'm trying a CMAK VPN connection to distribute to everyone at work, so all they have to do is install it, username and password, and it's all good. Just so I can hide all the non essentials such as IP, VPN encryption etc.
Anyway, connection wise, it's working fine. I've customized it to how I like it and I'm happy, I'm just having one problem doing something.
I _do_not_ want to the persons computer to set the default gateway to the VPN. I want the person to be online like normal, and only forward a single subnet through the VPN. According to Microsoft this is called split tunnelling.
Basically, he's the details (changed for privacy).
VPN Server IP: 192.168.1.1
Subnet I want to be routed through VPN: 192.168.2.0/255.255.255.0
I created a vpn_routes.txt file, and attached it into the CMAK FIle I created, which had this single line in it:
ADD 192.168.2.0 MASK 255.255.255.0 192.168.1.1 METRIC 192.168.1.1 IF default
However it doesnt work. When I try to use mstsc to connect to the box, it won't allow the connection. Just confirming once again, that we do have our own public subnets etc, I just changed the IPs to these for example/privacy sake.
Can anyone help me out here please? How do I do what I want?
Anyway, connection wise, it's working fine. I've customized it to how I like it and I'm happy, I'm just having one problem doing something.
I _do_not_ want to the persons computer to set the default gateway to the VPN. I want the person to be online like normal, and only forward a single subnet through the VPN. According to Microsoft this is called split tunnelling.
Basically, he's the details (changed for privacy).
VPN Server IP: 192.168.1.1
Subnet I want to be routed through VPN: 192.168.2.0/255.255.255.0
I created a vpn_routes.txt file, and attached it into the CMAK FIle I created, which had this single line in it:
ADD 192.168.2.0 MASK 255.255.255.0 192.168.1.1 METRIC 192.168.1.1 IF default
However it doesnt work. When I try to use mstsc to connect to the box, it won't allow the connection. Just confirming once again, that we do have our own public subnets etc, I just changed the IPs to these for example/privacy sake.
Can anyone help me out here please? How do I do what I want?