Solved

PHP VPN Remote Data

Posted on 2009-07-13
3
1,210 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ignore other .htaccess 2 45
maybe no no httpd.conf 6 47
Really simple no curl. Send a post 3 times 4 25
Logic behind "best rated" calculation 11 22
How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
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…

777 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