mardi 10 février 2015

Share Intranet through VPNs



Site (#S1) has a internal computer quiz system of the PCs in the subnet of 192.168.8.*, the webserver is located on 192.168.8.2 PC.


Those PCs do not connect to Internet. There is a PC (#A) joined the intranet 192.168.8.* and had another LAN card with IP 192.168.0.* and connect to a router(#R1) to Internet. Now the router(#R1) is provided by ISP and cannot set port forward.


In order to connect to the internal PCs in the subnet 192.168.8.* , I use following steps:



  1. On Site (#S2), where the ISP router allow port forward, I setup a VPN server (#V1) in a windows 2003 PC (#B) , with intranet subnet 192.168.7.*

  2. One Site (#S1), in PC(#A), use VPN to connect to (#V1) and get a IP, e.g. 192.168.7.245

  3. I setup a VPN server (#V2) in windows 2003 PC (#A), with intranet subnet 192.168.8.*


So now I can access the computer quiz system from Internet by: 1. Connect to VPN server (#V1) and get a 192.168.7.* IP 2. Connect to VPN server (#V2) on IP 192.168.7.245 and get a 192.168.8.* IP 3. Access the 192.168.8.2 webserver


My question is whether I can have any configuration (routing table?) in PC (#A) or PC (#B), so that someone can access to the 192.168.8.* network by connecting to VPN server (#V1) ONLY? which means someone can access 192.168.8.* subnet from 192.168.7.* subnet.


Many thanks for your help!





Aucun commentaire:

Enregistrer un commentaire