Solved

PHP VPN Remote Data

Posted on 2009-07-13
3
1,218 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

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 i…
Secure VPN Connection terminated locally by the Client.  Reason 442: Failed to enable Virtual Adapter. If you receive this error on Windows 8 or Windows 8.1 while trying to connect with the Cisco VPN Client then the solution is a simple registry f…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

691 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