No Internet Access across PPTP, No Default Gateway
by gratefulguy - 6/6/12 7:36 AM
I am trying to set up a PPTP VPN connection which also provides internet access. I have the following configuration. The router named "Router1" connects 2 computers PC1 and PC2 on the LAN side with a network address of 192.168.1.0/24. It is a PPTP server and a DHCP server. It gives IP addresses to PC1 and PC2. It has a static address of 184.108.40.206 on the LAN side and a static address of 10.2.9.1 on the WAN Side. PC3 has a static address of 10.2.9.2 and is connected to the WAN port of Router1. "Router2" is connected to the LAN side of Router1 and it has a static IP of 192.168.1.1. Router2 is connected to the internet and provides internet connection to PC1 and PC2. PC1 and PC2 connects fine to the internet and can see each other. However, PC3 cannot connect to the internet even though it is connected to Router1 by PPTP VPN connection. PC3 can see PC1, PC2, Router1 and Router2 but it cannot connect to the internet because Router1 does not give it the default gateway(192.168.1.1) to connect it. When PC3 connects via PPTP, It receives a correct IP address(10.2.9.3), correct DNS addresses but the ip4 default gateway field is left blank, and the DHCP option is not enabled on connection properties of PC3. Router1 is a DD-WRT firmware router (DLink Dir 400) and has PPTP server enabled as a service. How do I get Router 1 to give PC3 a default gateway IP? And how do I forward all outgoing packets from Router 1 to Router 2? I do not need portforwarding for some ports, I need full access to the internet from PC3 though the PPTP connection via Router2. Any help will be very greatly appreciated.
gratefulguy has chosen the best answer to his/her question.
Click here to view the answer that was selected.