Tom's Hardware > Forum > General Networking > VPN, VoIP, Video Conferencing, Remote Connections > Using VPN - Accessing servers on different subnet

Using VPN - Accessing servers on different subnet

Forum General Networking : VPN, VoIP, Video Conferencing, Remote Connections - Using VPN - Accessing servers on different subnet

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Hi Everyone

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.

Thanks,
Spencer

Sponsored Links
Register or log in to remove.

Yes if all systems are connected to the Draytek Vigor 2800 router.

Reply to GhislainG

Brilliant. Thats all i needed to know. Very pleased with that.

Thanks very much.

Reply to spencerm

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.

Spencer

Reply to spencerm

It doesn't if all systems are connected to the Draytek Vigor 2800 router. What network mask will you be using? 24 bit?

Reply to GhislainG

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.

What is the sollution?

Reply to spencerm

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)?

Reply to GhislainG

Sorry i didnt mean to type 192.169. All internal IP's are 192.168.

I dont think it would work because say there was a server at the VPN clients network sharing the same IP as a device on the the VPN servers network.

If i was to type in the IP adress which server would it try to access. (Being at the VPN client computer).

Reply to spencerm

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?

Reply to GhislainG

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.

Thanks for all your help, It was very usefull.

Spencer

Reply to spencerm

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.

Reply to GhislainG

Ok,I will give it a go.

Thanks

Reply to spencerm
Tom's Hardware > Forum > General Networking > VPN, VoIP, Video Conferencing, Remote Connections > Using VPN - Accessing servers on different subnet
Go to:

There are 1285 identified and unidentified users. To see the list of identified users, Click here.

Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them