Solved

PHP VPN Remote Data

Posted on 2009-07-13
3
1,215 Views
Last Modified: 2013-12-13
Hi peeps,

I have a Main VPN gateway that connects to several different gateways behind.  I want to have a web server connected to the Main VPN gateway that will display information from several different IP address through the VPN.

My aim is to have a page that displays information from each server on the VPN. Then from a page be able to access those different servers.

10.0.0.243 Web Server
10.127.67.3 Server1 (Tunneled through VPN)
10.127.45.3 Server2 (Tunneled through VPN)
10.127.23.3 Server3 (Tunneled through VPN)

For example if I went to:

http://10.0.0.243/index.php?s=Server1

It would display the web server on Server1 (through the VPN).
 
The local machine (10.0.0.243) can access those addresses no problem.  Ive tried searching the web but I'm not 100% sure what I'm searching for, any help would be much appreciated.

Thanks for your time.
0
Comment
Question by:KurtLee
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
NerdsOfTech earned 500 total points
ID: 24846154
SINCE the IP addresses you are referencing to fall into the "inter-office" or "intranet" RANGE of IP addresses you can ONLY access this boxes through the WEB SERVERS network. Therefore you must either:

1.) Network shared virtual directory {RECOMMENDED METHOD!} (Windows Server)

http://{REAL_IP_ADDRESS_OF_WEBSERVER}/{VIRTUAL_DIRECTORY_PATH}

http://support.microsoft.com/default.aspx/kb/308150



2.) Use address forwarding/triggering (Network Configured Typically Done At Router) to allow the other servers port 80 to be forwarded or routed from an alternate port incoming in the network.

the INTERNET connection would be:

http://{REAL_IP_ADDRESS_OF_WEBSERVER}:{PORT_NUMBER_FORWARDED}



3.) If this is just an administrative connection that is needed you could VNC or Remotely Connect To Server and navigate FROM THE SERVERS OS ENVIRNMENT.

LogMeIn (PC, MAC):
www.logmein.com

-OR-

UltraVNC (Multi-Platform):
www.uvnc.com/

=NerdsOfTech
0
 
LVL 19

Assisted Solution

by:NerdsOfTech
NerdsOfTech earned 500 total points
ID: 24846161
#1 is recommended because you can specify INTERNALLY on the web server the VIRTUAL DIRECTORY that paths to the OTHER BOXES

web directory path
http://10.0.0.243/Server1/

virtual path
\\10.127.67.3\

See how nice that is :)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question