Solved

PHP VPN Remote Data

Posted on 2009-07-13
3
1,201 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
Comment Utility
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
Comment Utility
#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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now