Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

PHP VPN Remote Data

Posted on 2009-07-13
3
Medium Priority
?
1,221 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 2000 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 2000 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

Looking for the Wi-Fi vendor that's right for you?

We know how difficult it can be to evaluate Wi-Fi vendors, so we created this helpful Wi-Fi Buyer's Guide to help you find the Wi-Fi vendor that's right for your business! Download the guide and get started on our checklist today!

Question has a verified solution.

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

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

604 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