Allow Internet Access with Default Gateway on Windows 7 VPN Server











up vote
2
down vote

favorite












I have a Windows 7 box at home (which I'll refer to as Home-VPN) that runs a simple PPTP VPN server. I have a range of 2 IP address (192.168.1.10-192.168.1.11) to give out, although the server is only able to give out one concurrent connection. Ports 1723 & 47 are correctly forwarded to the server. IPv6 is disabled on both Home-VPN and the client. I setup Home-VPN just like this Youtube video: http://www.youtube.com/watch?v=1s5JxMG06L4



I can connect to it just fine but I can't access the Internet when connected to Home-VPN, all outside web servers (eg. google.com, mozilla.org, apple.com) are unreachable.



I know I can uncheck "Use Default Gateway on Remote Servers" on the client side under IPv4 settings but that will route all my traffic through my current connection, rather than through the VPN, defeating the purpose of said VPN.



Any ideas on how I can fix this?










share|improve this question






















  • What gateway does the client receive when they connect to the VPN? Are the two IP addresses on the same subnet as the network with the access to the Internet?
    – Dave M
    Jun 26 '12 at 18:35












  • When 'ipconfig' issued on the client after connecting to Home-VPN, the PPP Adapter (Home-VPN) is given a default gateway of 0.0.0.0 and one of the IP address the client is allowed to issue. It's current wireless connection IP information remains unchanged.
    – jamireh
    Jun 26 '12 at 18:42










  • Why have you made your pool of IP addresses for the VPN so small?
    – Zoredache
    Jun 26 '12 at 18:54










  • Because the Windows 7 VPN server can only allow one concurrent connection. It doesn't matter whether I make the pool 10 or 100 address, there will only ever be 1 address connected at a time.
    – jamireh
    Jun 26 '12 at 19:04










  • possible duplicate of Set up VPN Server on Windows 7 that shares internet connection
    – Ƭᴇcʜιᴇ007
    Jun 26 '12 at 19:34















up vote
2
down vote

favorite












I have a Windows 7 box at home (which I'll refer to as Home-VPN) that runs a simple PPTP VPN server. I have a range of 2 IP address (192.168.1.10-192.168.1.11) to give out, although the server is only able to give out one concurrent connection. Ports 1723 & 47 are correctly forwarded to the server. IPv6 is disabled on both Home-VPN and the client. I setup Home-VPN just like this Youtube video: http://www.youtube.com/watch?v=1s5JxMG06L4



I can connect to it just fine but I can't access the Internet when connected to Home-VPN, all outside web servers (eg. google.com, mozilla.org, apple.com) are unreachable.



I know I can uncheck "Use Default Gateway on Remote Servers" on the client side under IPv4 settings but that will route all my traffic through my current connection, rather than through the VPN, defeating the purpose of said VPN.



Any ideas on how I can fix this?










share|improve this question






















  • What gateway does the client receive when they connect to the VPN? Are the two IP addresses on the same subnet as the network with the access to the Internet?
    – Dave M
    Jun 26 '12 at 18:35












  • When 'ipconfig' issued on the client after connecting to Home-VPN, the PPP Adapter (Home-VPN) is given a default gateway of 0.0.0.0 and one of the IP address the client is allowed to issue. It's current wireless connection IP information remains unchanged.
    – jamireh
    Jun 26 '12 at 18:42










  • Why have you made your pool of IP addresses for the VPN so small?
    – Zoredache
    Jun 26 '12 at 18:54










  • Because the Windows 7 VPN server can only allow one concurrent connection. It doesn't matter whether I make the pool 10 or 100 address, there will only ever be 1 address connected at a time.
    – jamireh
    Jun 26 '12 at 19:04










  • possible duplicate of Set up VPN Server on Windows 7 that shares internet connection
    – Ƭᴇcʜιᴇ007
    Jun 26 '12 at 19:34













up vote
2
down vote

favorite









up vote
2
down vote

favorite











I have a Windows 7 box at home (which I'll refer to as Home-VPN) that runs a simple PPTP VPN server. I have a range of 2 IP address (192.168.1.10-192.168.1.11) to give out, although the server is only able to give out one concurrent connection. Ports 1723 & 47 are correctly forwarded to the server. IPv6 is disabled on both Home-VPN and the client. I setup Home-VPN just like this Youtube video: http://www.youtube.com/watch?v=1s5JxMG06L4



I can connect to it just fine but I can't access the Internet when connected to Home-VPN, all outside web servers (eg. google.com, mozilla.org, apple.com) are unreachable.



I know I can uncheck "Use Default Gateway on Remote Servers" on the client side under IPv4 settings but that will route all my traffic through my current connection, rather than through the VPN, defeating the purpose of said VPN.



Any ideas on how I can fix this?










share|improve this question













I have a Windows 7 box at home (which I'll refer to as Home-VPN) that runs a simple PPTP VPN server. I have a range of 2 IP address (192.168.1.10-192.168.1.11) to give out, although the server is only able to give out one concurrent connection. Ports 1723 & 47 are correctly forwarded to the server. IPv6 is disabled on both Home-VPN and the client. I setup Home-VPN just like this Youtube video: http://www.youtube.com/watch?v=1s5JxMG06L4



I can connect to it just fine but I can't access the Internet when connected to Home-VPN, all outside web servers (eg. google.com, mozilla.org, apple.com) are unreachable.



I know I can uncheck "Use Default Gateway on Remote Servers" on the client side under IPv4 settings but that will route all my traffic through my current connection, rather than through the VPN, defeating the purpose of said VPN.



Any ideas on how I can fix this?







windows vpn






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jun 26 '12 at 18:32









jamireh

1112




1112












  • What gateway does the client receive when they connect to the VPN? Are the two IP addresses on the same subnet as the network with the access to the Internet?
    – Dave M
    Jun 26 '12 at 18:35












  • When 'ipconfig' issued on the client after connecting to Home-VPN, the PPP Adapter (Home-VPN) is given a default gateway of 0.0.0.0 and one of the IP address the client is allowed to issue. It's current wireless connection IP information remains unchanged.
    – jamireh
    Jun 26 '12 at 18:42










  • Why have you made your pool of IP addresses for the VPN so small?
    – Zoredache
    Jun 26 '12 at 18:54










  • Because the Windows 7 VPN server can only allow one concurrent connection. It doesn't matter whether I make the pool 10 or 100 address, there will only ever be 1 address connected at a time.
    – jamireh
    Jun 26 '12 at 19:04










  • possible duplicate of Set up VPN Server on Windows 7 that shares internet connection
    – Ƭᴇcʜιᴇ007
    Jun 26 '12 at 19:34


















  • What gateway does the client receive when they connect to the VPN? Are the two IP addresses on the same subnet as the network with the access to the Internet?
    – Dave M
    Jun 26 '12 at 18:35












  • When 'ipconfig' issued on the client after connecting to Home-VPN, the PPP Adapter (Home-VPN) is given a default gateway of 0.0.0.0 and one of the IP address the client is allowed to issue. It's current wireless connection IP information remains unchanged.
    – jamireh
    Jun 26 '12 at 18:42










  • Why have you made your pool of IP addresses for the VPN so small?
    – Zoredache
    Jun 26 '12 at 18:54










  • Because the Windows 7 VPN server can only allow one concurrent connection. It doesn't matter whether I make the pool 10 or 100 address, there will only ever be 1 address connected at a time.
    – jamireh
    Jun 26 '12 at 19:04










  • possible duplicate of Set up VPN Server on Windows 7 that shares internet connection
    – Ƭᴇcʜιᴇ007
    Jun 26 '12 at 19:34
















What gateway does the client receive when they connect to the VPN? Are the two IP addresses on the same subnet as the network with the access to the Internet?
– Dave M
Jun 26 '12 at 18:35






What gateway does the client receive when they connect to the VPN? Are the two IP addresses on the same subnet as the network with the access to the Internet?
– Dave M
Jun 26 '12 at 18:35














When 'ipconfig' issued on the client after connecting to Home-VPN, the PPP Adapter (Home-VPN) is given a default gateway of 0.0.0.0 and one of the IP address the client is allowed to issue. It's current wireless connection IP information remains unchanged.
– jamireh
Jun 26 '12 at 18:42




When 'ipconfig' issued on the client after connecting to Home-VPN, the PPP Adapter (Home-VPN) is given a default gateway of 0.0.0.0 and one of the IP address the client is allowed to issue. It's current wireless connection IP information remains unchanged.
– jamireh
Jun 26 '12 at 18:42












Why have you made your pool of IP addresses for the VPN so small?
– Zoredache
Jun 26 '12 at 18:54




Why have you made your pool of IP addresses for the VPN so small?
– Zoredache
Jun 26 '12 at 18:54












Because the Windows 7 VPN server can only allow one concurrent connection. It doesn't matter whether I make the pool 10 or 100 address, there will only ever be 1 address connected at a time.
– jamireh
Jun 26 '12 at 19:04




Because the Windows 7 VPN server can only allow one concurrent connection. It doesn't matter whether I make the pool 10 or 100 address, there will only ever be 1 address connected at a time.
– jamireh
Jun 26 '12 at 19:04












possible duplicate of Set up VPN Server on Windows 7 that shares internet connection
– Ƭᴇcʜιᴇ007
Jun 26 '12 at 19:34




possible duplicate of Set up VPN Server on Windows 7 that shares internet connection
– Ƭᴇcʜιᴇ007
Jun 26 '12 at 19:34










1 Answer
1






active

oldest

votes

















up vote
0
down vote













Based on your update, you need to assure that the VPN server provides the clinet with an IP and a default gateway and likley DNS server addresses. What happens if you allow the VPN client to receive an address via DHCP rather than assigning the two you have? Can you confirm that the 192.168.1.10 &.11 addresses are on the local subnet which contains the gateway that the host system uses?






share|improve this answer























  • If I attempt to allow Home-VPN to issue its own address via DHCP, the client is prompted with an Error 720: The client is unable to connect to the sever. My router setup has two routers, one from the cable company, one for myself. The cable company has 192.168.1.1, my own has 192.168.1.2. The cable company router issues DHCP from 192.168.1.3-192.168.1.254.
    – jamireh
    Jun 26 '12 at 19:09












  • I don't think your second router (not from the cable company) is really acting like a router. How do you have the two routers connected together? Is the cable going from the LAN port on the cable router to the WAN port on your router or to the LAN port? I've setup the Win 7 VPN before and could access the internet when connected to the VPN. You also don't need to forward port 47 in the router. The VPN uses GRE instead of TCP or UDP for that port.
    – wbeard52
    Jan 1 '15 at 17:40











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',
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f441858%2fallow-internet-access-with-default-gateway-on-windows-7-vpn-server%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








up vote
0
down vote













Based on your update, you need to assure that the VPN server provides the clinet with an IP and a default gateway and likley DNS server addresses. What happens if you allow the VPN client to receive an address via DHCP rather than assigning the two you have? Can you confirm that the 192.168.1.10 &.11 addresses are on the local subnet which contains the gateway that the host system uses?






share|improve this answer























  • If I attempt to allow Home-VPN to issue its own address via DHCP, the client is prompted with an Error 720: The client is unable to connect to the sever. My router setup has two routers, one from the cable company, one for myself. The cable company has 192.168.1.1, my own has 192.168.1.2. The cable company router issues DHCP from 192.168.1.3-192.168.1.254.
    – jamireh
    Jun 26 '12 at 19:09












  • I don't think your second router (not from the cable company) is really acting like a router. How do you have the two routers connected together? Is the cable going from the LAN port on the cable router to the WAN port on your router or to the LAN port? I've setup the Win 7 VPN before and could access the internet when connected to the VPN. You also don't need to forward port 47 in the router. The VPN uses GRE instead of TCP or UDP for that port.
    – wbeard52
    Jan 1 '15 at 17:40















up vote
0
down vote













Based on your update, you need to assure that the VPN server provides the clinet with an IP and a default gateway and likley DNS server addresses. What happens if you allow the VPN client to receive an address via DHCP rather than assigning the two you have? Can you confirm that the 192.168.1.10 &.11 addresses are on the local subnet which contains the gateway that the host system uses?






share|improve this answer























  • If I attempt to allow Home-VPN to issue its own address via DHCP, the client is prompted with an Error 720: The client is unable to connect to the sever. My router setup has two routers, one from the cable company, one for myself. The cable company has 192.168.1.1, my own has 192.168.1.2. The cable company router issues DHCP from 192.168.1.3-192.168.1.254.
    – jamireh
    Jun 26 '12 at 19:09












  • I don't think your second router (not from the cable company) is really acting like a router. How do you have the two routers connected together? Is the cable going from the LAN port on the cable router to the WAN port on your router or to the LAN port? I've setup the Win 7 VPN before and could access the internet when connected to the VPN. You also don't need to forward port 47 in the router. The VPN uses GRE instead of TCP or UDP for that port.
    – wbeard52
    Jan 1 '15 at 17:40













up vote
0
down vote










up vote
0
down vote









Based on your update, you need to assure that the VPN server provides the clinet with an IP and a default gateway and likley DNS server addresses. What happens if you allow the VPN client to receive an address via DHCP rather than assigning the two you have? Can you confirm that the 192.168.1.10 &.11 addresses are on the local subnet which contains the gateway that the host system uses?






share|improve this answer














Based on your update, you need to assure that the VPN server provides the clinet with an IP and a default gateway and likley DNS server addresses. What happens if you allow the VPN client to receive an address via DHCP rather than assigning the two you have? Can you confirm that the 192.168.1.10 &.11 addresses are on the local subnet which contains the gateway that the host system uses?







share|improve this answer














share|improve this answer



share|improve this answer








edited Jun 26 '12 at 19:06

























answered Jun 26 '12 at 18:45









Dave M

12.7k92838




12.7k92838












  • If I attempt to allow Home-VPN to issue its own address via DHCP, the client is prompted with an Error 720: The client is unable to connect to the sever. My router setup has two routers, one from the cable company, one for myself. The cable company has 192.168.1.1, my own has 192.168.1.2. The cable company router issues DHCP from 192.168.1.3-192.168.1.254.
    – jamireh
    Jun 26 '12 at 19:09












  • I don't think your second router (not from the cable company) is really acting like a router. How do you have the two routers connected together? Is the cable going from the LAN port on the cable router to the WAN port on your router or to the LAN port? I've setup the Win 7 VPN before and could access the internet when connected to the VPN. You also don't need to forward port 47 in the router. The VPN uses GRE instead of TCP or UDP for that port.
    – wbeard52
    Jan 1 '15 at 17:40


















  • If I attempt to allow Home-VPN to issue its own address via DHCP, the client is prompted with an Error 720: The client is unable to connect to the sever. My router setup has two routers, one from the cable company, one for myself. The cable company has 192.168.1.1, my own has 192.168.1.2. The cable company router issues DHCP from 192.168.1.3-192.168.1.254.
    – jamireh
    Jun 26 '12 at 19:09












  • I don't think your second router (not from the cable company) is really acting like a router. How do you have the two routers connected together? Is the cable going from the LAN port on the cable router to the WAN port on your router or to the LAN port? I've setup the Win 7 VPN before and could access the internet when connected to the VPN. You also don't need to forward port 47 in the router. The VPN uses GRE instead of TCP or UDP for that port.
    – wbeard52
    Jan 1 '15 at 17:40
















If I attempt to allow Home-VPN to issue its own address via DHCP, the client is prompted with an Error 720: The client is unable to connect to the sever. My router setup has two routers, one from the cable company, one for myself. The cable company has 192.168.1.1, my own has 192.168.1.2. The cable company router issues DHCP from 192.168.1.3-192.168.1.254.
– jamireh
Jun 26 '12 at 19:09






If I attempt to allow Home-VPN to issue its own address via DHCP, the client is prompted with an Error 720: The client is unable to connect to the sever. My router setup has two routers, one from the cable company, one for myself. The cable company has 192.168.1.1, my own has 192.168.1.2. The cable company router issues DHCP from 192.168.1.3-192.168.1.254.
– jamireh
Jun 26 '12 at 19:09














I don't think your second router (not from the cable company) is really acting like a router. How do you have the two routers connected together? Is the cable going from the LAN port on the cable router to the WAN port on your router or to the LAN port? I've setup the Win 7 VPN before and could access the internet when connected to the VPN. You also don't need to forward port 47 in the router. The VPN uses GRE instead of TCP or UDP for that port.
– wbeard52
Jan 1 '15 at 17:40




I don't think your second router (not from the cable company) is really acting like a router. How do you have the two routers connected together? Is the cable going from the LAN port on the cable router to the WAN port on your router or to the LAN port? I've setup the Win 7 VPN before and could access the internet when connected to the VPN. You also don't need to forward port 47 in the router. The VPN uses GRE instead of TCP or UDP for that port.
– wbeard52
Jan 1 '15 at 17:40


















draft saved

draft discarded




















































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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f441858%2fallow-internet-access-with-default-gateway-on-windows-7-vpn-server%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Сан-Квентин

8-я гвардейская общевойсковая армия

Алькесар