I'm trying to connect my Windows Server 2012 to a VPN while working on it on rdp but when I connect the VPN my rdp connection is closed and I cannot reconnect. How should I do to be able to connect to a VPN (client) from my Server and rdp (server) at the same time ?

3 Answers 3


I could be wrong, but it sounds like split tunnelling issue. Try unchecking Use default gateway on remote network in the vpn connection properties


Farhan Khan is completely correct assuming that you are using windows native PPTP.

If you are using an SSLVPN or an IPSEC VPN client then you will not have a checkbox like that to check and you will need to take appropriate measures to ensure that the settings for the VPN are not set to a full tunnel.


In your VPN connection properties go to the Networking tab and select "Internet Protocol Version 4 (TCP/IPv4)" then click on the Properties button --> Advanced Button and take the check out of "Use default gateway on remote network". Run and elevated cmd prompt and type IPCONFIG. Get the IP address of your VPN adapter. We need to add an static route.

So let us say your computer's IP address is and your gateway is and the IP address of your VPN adapter is and the server you want to use RDP on is across the VPN tunnel is Then you would type at your elevated cmd prompt "route add mask"

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .