How can I make the Windows VPN route selective traffic (by destination network)?



In many companies, Virtual Private Network (VPN) technology is used to allow secure access to an organization’s internal resources from remote locations. However, in some cases, it may be desired to route specific network traffic from the remote location over the VPN. This article discusses how to configure a Windows VPN to route traffic by destination network.

To begin, the administrator must first establish the VPN connection. This can be done with the built-in Windows VPN client or a third-party client. Once the VPN connection is established, the administrator must configure the routing table on the local computer so that traffic destined for the desired destination network is routed over the VPN connection.

To configure the routing table, the administrator must first open a command prompt with administrator privileges and type the command “route print”. This command will display the current routing table on the local computer. The administrator must then add a route for the desired destination network. This is done by typing the command “route add mask ”.

For example, if the destination network is 10.10.10.0/24, the administrator would type “route add 10.10.10.0 mask 255.255.255.0 ”. The in this example should be the IP address of the remote VPN gateway.

Once the route has been added, the administrator must then configure the Windows firewall to allow traffic to flow over the VPN connection. This is done by opening the Windows Firewall settings and creating a new inbound or outbound rule. The rule should be configured to allow traffic from the desired destination network over the VPN connection.

Finally, the administrator must configure the remote VPN server to accept the traffic from the local computer. This is done by configuring the remote VPN server to accept traffic from the local computer’s IP address.

Once the configuration is completed, all traffic destined for the desired destination network will be routed over the VPN connection. This makes it possible for the administrator to securely access resources on the remote network from the local computer.

In conclusion, configuring a Windows VPN to route traffic by destination network is a relatively straightforward process. It requires the administrator to configure the local routing table, create a firewall rule to allow the traffic to flow over the VPN connection, and configure the remote VPN server to accept traffic from the local computer. Once these steps are completed, the administrator can access resources on the remote network from the local computer.

Inquire Now

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Find your next full or part-time role here

ScaleDesk can either help you find your next full time gig or a part time side gig where you can create extra income!

Onboard with us once
Skip HR screening and go to the final interview with with only your resume and a video interview you never have to redo
Get paid electronically every month for the hours you work
We will be your reference even if you work for us once

IT Teams: Use ScaleDesk to augment your team

Schedule Demo