Dienstag, 29. Mai 2012 10:57
I have a corporate VPN setup to use a bespoke software from home on Windows 7, which needs to be on the company network for databases etc. The problem is that when you connect the VPN ALL traffic goes through it, meaning it uses much more network resources than required. But if you disable using the remote default gateway I cannot browse or use corporate internal addresses. Obviously. I want to have one IP range go through the VPN and that's it, 172.22.*.* any input is appreciated.
I am VPN'ing to the company default gateway which is a Draytek 2830n Router.
Mittwoch, 30. Mai 2012 09:23
IMHO Drytek seems to play no role here. It depends how is your VPN configured behind router.
Mittwoch, 30. Mai 2012 10:04
Disable using the remote default gateway.
Open an elevated command prompt.
Do an ipconfig /all and note the ip adress you get on the vpn adapter
route add 172.22.0.0 mask 255.255.0.0 <ipadress from above>
This should work. You can also script that (task scheduler can run jobs on opening a connection), but I'm usually too lazy for that and do it by hand after connecting.
- Bearbeitet C. Pfeiffer Mittwoch, 30. Mai 2012 10:04
Donnerstag, 31. Mai 2012 02:05Moderator
I suggest you can make the following configurations to let you access Internet when connect to VPN.
Step 1: You need to contact your administrator of the VPN Server to configure the Server that is running routing and remote access to use a static IP address pool.
Step 2: Disable Use default gateway on remote network setting in the VPN connection item on the client computer.
1.go to Control Panel (small icons)>network and sharing center>Change adapter settings which is in the left panel.
2.Right-click the VPN connection that you want to change, and then click Properties.
3.Click the Networking tab, click Internet Protocol (TCP/IP) in the Components checked are used by this connection list, and then click Properties.
4.Click Advanced, and then click to clear the Use default gateway on remote network check box.
5.Click OK, click OK, and then click OK.
Step 3: Connect to the Server That Is Running Routing and Remote Access
Step 4: Add a static route on the client use route print command.
More information about the detailed steps, please see
You Cannot Connect to the Internet After You Connect to a VPN Server
Also, there is a topic for the Remote Access VPN Connections for your reference:
Hope this helps.
TechNet Community Support
- Als Antwort markiert Leo HuangMicrosoft Contingent Staff, Moderator Donnerstag, 7. Juni 2012 09:30