I have a Microsoft VPN that I use to connect to a client. The client has provided an EXE that sets up this connection on my computer.
The connection has been set up to route all traffic to the client, so even though I am in my office, this post is being submitted from my clients network.
I don't want all my internet traffic to be routed via my clients network, for obvious reasons, however the VPN connection that has been created is locked down so I can't change the settings.
I am vaugly familiar with routing tables (in that I know they exist) and have used route delete and route add to remove access to our mailserver from their network by doing the following:
route delete <mailserver IP>
route add <mailserver IP> <local gateway>
However what I want to do is a route delete / add for all traffic apart from what is intended to go to their network. The IP address of all servers I connect to start with the same number.
Can I use route delete / add to route everything apart from IP's that start with that number via my local gateway in one go?
The connection has been set up to route all traffic to the client, so even though I am in my office, this post is being submitted from my clients network.
I don't want all my internet traffic to be routed via my clients network, for obvious reasons, however the VPN connection that has been created is locked down so I can't change the settings.
I am vaugly familiar with routing tables (in that I know they exist) and have used route delete and route add to remove access to our mailserver from their network by doing the following:
route delete <mailserver IP>
route add <mailserver IP> <local gateway>
However what I want to do is a route delete / add for all traffic apart from what is intended to go to their network. The IP address of all servers I connect to start with the same number.
Can I use route delete / add to route everything apart from IP's that start with that number via my local gateway in one go?
Comment