I have just set up a PPTP VPN server using my Draytek Vigor 2800 router. The router is set up to hand out ip addresses (dhcp) locally from 192.168.1.20 with a pool of 50.
The VPN server of the router gives out IP addresses from 192.168.2.201, (the first IP will be 192.168.2.201).
The question is, when i am out and about, connected to the VPN with an IP of 192.168.1.201, will i be able to access my fileservers, etc in the 192.168.1.1 subnet. E.G. When using VPN with a address of 192.168.2.201 will i be able to access my openfiler server at 192.168.1.19?
I've got a feeling that my question is slightly incomprehensible, but im hoping i can get a few answers.
Just to clarify, When i said i would be connected to the VPN i meant the IP would be 192.168.2.201, not 192.168.1.201. Hope that dosnt change anything.
The VPN client, for example a laptop using a hotspot at a cafe would be remote on the internet. The VPN client would only be connected the the router in the VPN. The servers i would want to access are connected to the router directly. It would be 24-bit.
I have just realised. This setup wouldnt work at all. Say the client has access to a device at 192.168.1.19 locally and a different device at 192.169.1.19 throught the VPN as well. Then which device would be accessed.
This is getting confusing as, assuming a 16 or more bit mask, you are referring to 2 totally different networks (192.168 and 192.169). Where is each network and why won't it work, even through the Internet (where each location obviously has a valid Internet IP address)?
If you are talking about multiple sites, each site has to have a unique IP address range, e.g. 192.168.1.0/24, 192.168.2.0/24, etc. Otherwise it becomes impossible to route between locations. Why are you using 192.168.1.x instead of 10.x.x.x?
This is getting far too complicating. I think im going to look in to a Server 2003 solution. Basically i needed to access my windows file shares over the internet.
That's easy as long as you make sure that the same localĀ IP addresses are not used at the local and remote site. It's no different if you use a server or not.