How to set VPN connection to local network only?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I am connecting to my workplace's network through a vpn. All I need is the local network there (offline servers, local computers and data stores). After I connected to the VPN, all of my packets go through the vpn and slows down everything for me and generates an unnecessary load on my office's internet connection (once windows started to update on my computer and it started to use most of the office's internet connection, because they only have 30/10 MBit/s internet connection).
Is it possible to set the vpn in a way, where it only allows access to the local resources?
Edit 1:
Can't I just set the default gateway off to the vpn?
networking vpn
add a comment |
I am connecting to my workplace's network through a vpn. All I need is the local network there (offline servers, local computers and data stores). After I connected to the VPN, all of my packets go through the vpn and slows down everything for me and generates an unnecessary load on my office's internet connection (once windows started to update on my computer and it started to use most of the office's internet connection, because they only have 30/10 MBit/s internet connection).
Is it possible to set the vpn in a way, where it only allows access to the local resources?
Edit 1:
Can't I just set the default gateway off to the vpn?
networking vpn
It's the purpose of the VPN to integrate a remote machine into a LAN. From that, it should be obvious that you want to think in different directions. It all starts with QoS settings in the company's router and regarding updates, IT will have to find the right compromise between leaving your computer as a security risk or providing the required bandwidth. You can't expect professional behaviour from an amateur setup.
– Run CMD
Dec 10 '15 at 12:28
Things happen slow there, can I do anything while they fix this issue? Right now I need to connect and disconnect every time I need something, it is quite tiring. Shame I can't tell my programs which network to use.
– pokemarine
Dec 10 '15 at 12:41
Turns out I probably misunderstood your question. Either way, there may be ways to bypass the VPN, e.g. for Windows updates, see here.
– Run CMD
Dec 10 '15 at 12:48
A useful term to know is split tunneling. See en.wikipedia.org/wiki/Split_tunneling
– Hennes
Dec 10 '15 at 13:11
add a comment |
I am connecting to my workplace's network through a vpn. All I need is the local network there (offline servers, local computers and data stores). After I connected to the VPN, all of my packets go through the vpn and slows down everything for me and generates an unnecessary load on my office's internet connection (once windows started to update on my computer and it started to use most of the office's internet connection, because they only have 30/10 MBit/s internet connection).
Is it possible to set the vpn in a way, where it only allows access to the local resources?
Edit 1:
Can't I just set the default gateway off to the vpn?
networking vpn
I am connecting to my workplace's network through a vpn. All I need is the local network there (offline servers, local computers and data stores). After I connected to the VPN, all of my packets go through the vpn and slows down everything for me and generates an unnecessary load on my office's internet connection (once windows started to update on my computer and it started to use most of the office's internet connection, because they only have 30/10 MBit/s internet connection).
Is it possible to set the vpn in a way, where it only allows access to the local resources?
Edit 1:
Can't I just set the default gateway off to the vpn?
networking vpn
networking vpn
edited Dec 10 '15 at 12:58
pokemarine
asked Dec 10 '15 at 12:09
pokemarinepokemarine
1035
1035
It's the purpose of the VPN to integrate a remote machine into a LAN. From that, it should be obvious that you want to think in different directions. It all starts with QoS settings in the company's router and regarding updates, IT will have to find the right compromise between leaving your computer as a security risk or providing the required bandwidth. You can't expect professional behaviour from an amateur setup.
– Run CMD
Dec 10 '15 at 12:28
Things happen slow there, can I do anything while they fix this issue? Right now I need to connect and disconnect every time I need something, it is quite tiring. Shame I can't tell my programs which network to use.
– pokemarine
Dec 10 '15 at 12:41
Turns out I probably misunderstood your question. Either way, there may be ways to bypass the VPN, e.g. for Windows updates, see here.
– Run CMD
Dec 10 '15 at 12:48
A useful term to know is split tunneling. See en.wikipedia.org/wiki/Split_tunneling
– Hennes
Dec 10 '15 at 13:11
add a comment |
It's the purpose of the VPN to integrate a remote machine into a LAN. From that, it should be obvious that you want to think in different directions. It all starts with QoS settings in the company's router and regarding updates, IT will have to find the right compromise between leaving your computer as a security risk or providing the required bandwidth. You can't expect professional behaviour from an amateur setup.
– Run CMD
Dec 10 '15 at 12:28
Things happen slow there, can I do anything while they fix this issue? Right now I need to connect and disconnect every time I need something, it is quite tiring. Shame I can't tell my programs which network to use.
– pokemarine
Dec 10 '15 at 12:41
Turns out I probably misunderstood your question. Either way, there may be ways to bypass the VPN, e.g. for Windows updates, see here.
– Run CMD
Dec 10 '15 at 12:48
A useful term to know is split tunneling. See en.wikipedia.org/wiki/Split_tunneling
– Hennes
Dec 10 '15 at 13:11
It's the purpose of the VPN to integrate a remote machine into a LAN. From that, it should be obvious that you want to think in different directions. It all starts with QoS settings in the company's router and regarding updates, IT will have to find the right compromise between leaving your computer as a security risk or providing the required bandwidth. You can't expect professional behaviour from an amateur setup.
– Run CMD
Dec 10 '15 at 12:28
It's the purpose of the VPN to integrate a remote machine into a LAN. From that, it should be obvious that you want to think in different directions. It all starts with QoS settings in the company's router and regarding updates, IT will have to find the right compromise between leaving your computer as a security risk or providing the required bandwidth. You can't expect professional behaviour from an amateur setup.
– Run CMD
Dec 10 '15 at 12:28
Things happen slow there, can I do anything while they fix this issue? Right now I need to connect and disconnect every time I need something, it is quite tiring. Shame I can't tell my programs which network to use.
– pokemarine
Dec 10 '15 at 12:41
Things happen slow there, can I do anything while they fix this issue? Right now I need to connect and disconnect every time I need something, it is quite tiring. Shame I can't tell my programs which network to use.
– pokemarine
Dec 10 '15 at 12:41
Turns out I probably misunderstood your question. Either way, there may be ways to bypass the VPN, e.g. for Windows updates, see here.
– Run CMD
Dec 10 '15 at 12:48
Turns out I probably misunderstood your question. Either way, there may be ways to bypass the VPN, e.g. for Windows updates, see here.
– Run CMD
Dec 10 '15 at 12:48
A useful term to know is split tunneling. See en.wikipedia.org/wiki/Split_tunneling
– Hennes
Dec 10 '15 at 13:11
A useful term to know is split tunneling. See en.wikipedia.org/wiki/Split_tunneling
– Hennes
Dec 10 '15 at 13:11
add a comment |
1 Answer
1
active
oldest
votes
I had the same problem some days ago and finally got it solved by modifying the priority windows assigns to each interface. You can do this by:
- on a command window, run "route PRINT" and annotate the priority of the vpn and non-vpn routes.
- go to the properties of the non-vpn interface, to the properties of tcp/ipv4 or tpc/ipv6 and click on "advanced". There you can uncheck the "automatic metric" and set another higher for that interface.
By doing this when a connection can be established either by the vpn or the non-vpn, the one with the higher priority will be used.
However, there is a drawback: some VPNs automatically set the priority to the highest when they boot. So, before starting the VPN you should set again the metric to automatic, start the VPN, and reset the metric to whatever number you want.
I added a picture to the question. What If I set the default gateway to off on the VPN's advanced tcp/ip settings.
– pokemarine
Dec 10 '15 at 12:59
probably should do the trick. If it does, tell us! :) However, I can not modify the VPN settings, only the actual interface's ones.
– flix
Dec 10 '15 at 13:05
I tried to turn it off, but I cannot reach the remote network that way. I should look into the stuff the others linked (vpn bypass and split tunneling)
– pokemarine
Dec 10 '15 at 13:21
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1011589%2fhow-to-set-vpn-connection-to-local-network-only%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I had the same problem some days ago and finally got it solved by modifying the priority windows assigns to each interface. You can do this by:
- on a command window, run "route PRINT" and annotate the priority of the vpn and non-vpn routes.
- go to the properties of the non-vpn interface, to the properties of tcp/ipv4 or tpc/ipv6 and click on "advanced". There you can uncheck the "automatic metric" and set another higher for that interface.
By doing this when a connection can be established either by the vpn or the non-vpn, the one with the higher priority will be used.
However, there is a drawback: some VPNs automatically set the priority to the highest when they boot. So, before starting the VPN you should set again the metric to automatic, start the VPN, and reset the metric to whatever number you want.
I added a picture to the question. What If I set the default gateway to off on the VPN's advanced tcp/ip settings.
– pokemarine
Dec 10 '15 at 12:59
probably should do the trick. If it does, tell us! :) However, I can not modify the VPN settings, only the actual interface's ones.
– flix
Dec 10 '15 at 13:05
I tried to turn it off, but I cannot reach the remote network that way. I should look into the stuff the others linked (vpn bypass and split tunneling)
– pokemarine
Dec 10 '15 at 13:21
add a comment |
I had the same problem some days ago and finally got it solved by modifying the priority windows assigns to each interface. You can do this by:
- on a command window, run "route PRINT" and annotate the priority of the vpn and non-vpn routes.
- go to the properties of the non-vpn interface, to the properties of tcp/ipv4 or tpc/ipv6 and click on "advanced". There you can uncheck the "automatic metric" and set another higher for that interface.
By doing this when a connection can be established either by the vpn or the non-vpn, the one with the higher priority will be used.
However, there is a drawback: some VPNs automatically set the priority to the highest when they boot. So, before starting the VPN you should set again the metric to automatic, start the VPN, and reset the metric to whatever number you want.
I added a picture to the question. What If I set the default gateway to off on the VPN's advanced tcp/ip settings.
– pokemarine
Dec 10 '15 at 12:59
probably should do the trick. If it does, tell us! :) However, I can not modify the VPN settings, only the actual interface's ones.
– flix
Dec 10 '15 at 13:05
I tried to turn it off, but I cannot reach the remote network that way. I should look into the stuff the others linked (vpn bypass and split tunneling)
– pokemarine
Dec 10 '15 at 13:21
add a comment |
I had the same problem some days ago and finally got it solved by modifying the priority windows assigns to each interface. You can do this by:
- on a command window, run "route PRINT" and annotate the priority of the vpn and non-vpn routes.
- go to the properties of the non-vpn interface, to the properties of tcp/ipv4 or tpc/ipv6 and click on "advanced". There you can uncheck the "automatic metric" and set another higher for that interface.
By doing this when a connection can be established either by the vpn or the non-vpn, the one with the higher priority will be used.
However, there is a drawback: some VPNs automatically set the priority to the highest when they boot. So, before starting the VPN you should set again the metric to automatic, start the VPN, and reset the metric to whatever number you want.
I had the same problem some days ago and finally got it solved by modifying the priority windows assigns to each interface. You can do this by:
- on a command window, run "route PRINT" and annotate the priority of the vpn and non-vpn routes.
- go to the properties of the non-vpn interface, to the properties of tcp/ipv4 or tpc/ipv6 and click on "advanced". There you can uncheck the "automatic metric" and set another higher for that interface.
By doing this when a connection can be established either by the vpn or the non-vpn, the one with the higher priority will be used.
However, there is a drawback: some VPNs automatically set the priority to the highest when they boot. So, before starting the VPN you should set again the metric to automatic, start the VPN, and reset the metric to whatever number you want.
answered Dec 10 '15 at 12:51
flixflix
84
84
I added a picture to the question. What If I set the default gateway to off on the VPN's advanced tcp/ip settings.
– pokemarine
Dec 10 '15 at 12:59
probably should do the trick. If it does, tell us! :) However, I can not modify the VPN settings, only the actual interface's ones.
– flix
Dec 10 '15 at 13:05
I tried to turn it off, but I cannot reach the remote network that way. I should look into the stuff the others linked (vpn bypass and split tunneling)
– pokemarine
Dec 10 '15 at 13:21
add a comment |
I added a picture to the question. What If I set the default gateway to off on the VPN's advanced tcp/ip settings.
– pokemarine
Dec 10 '15 at 12:59
probably should do the trick. If it does, tell us! :) However, I can not modify the VPN settings, only the actual interface's ones.
– flix
Dec 10 '15 at 13:05
I tried to turn it off, but I cannot reach the remote network that way. I should look into the stuff the others linked (vpn bypass and split tunneling)
– pokemarine
Dec 10 '15 at 13:21
I added a picture to the question. What If I set the default gateway to off on the VPN's advanced tcp/ip settings.
– pokemarine
Dec 10 '15 at 12:59
I added a picture to the question. What If I set the default gateway to off on the VPN's advanced tcp/ip settings.
– pokemarine
Dec 10 '15 at 12:59
probably should do the trick. If it does, tell us! :) However, I can not modify the VPN settings, only the actual interface's ones.
– flix
Dec 10 '15 at 13:05
probably should do the trick. If it does, tell us! :) However, I can not modify the VPN settings, only the actual interface's ones.
– flix
Dec 10 '15 at 13:05
I tried to turn it off, but I cannot reach the remote network that way. I should look into the stuff the others linked (vpn bypass and split tunneling)
– pokemarine
Dec 10 '15 at 13:21
I tried to turn it off, but I cannot reach the remote network that way. I should look into the stuff the others linked (vpn bypass and split tunneling)
– pokemarine
Dec 10 '15 at 13:21
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1011589%2fhow-to-set-vpn-connection-to-local-network-only%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
It's the purpose of the VPN to integrate a remote machine into a LAN. From that, it should be obvious that you want to think in different directions. It all starts with QoS settings in the company's router and regarding updates, IT will have to find the right compromise between leaving your computer as a security risk or providing the required bandwidth. You can't expect professional behaviour from an amateur setup.
– Run CMD
Dec 10 '15 at 12:28
Things happen slow there, can I do anything while they fix this issue? Right now I need to connect and disconnect every time I need something, it is quite tiring. Shame I can't tell my programs which network to use.
– pokemarine
Dec 10 '15 at 12:41
Turns out I probably misunderstood your question. Either way, there may be ways to bypass the VPN, e.g. for Windows updates, see here.
– Run CMD
Dec 10 '15 at 12:48
A useful term to know is split tunneling. See en.wikipedia.org/wiki/Split_tunneling
– Hennes
Dec 10 '15 at 13:11