Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am relativity new to Linux systems and am faced with the following problem:

I have n servers behind a n local router (different networks), i would like to access this servers via port 80 from outside the local networks.

The general setup is the following:

               _____________________________
Client 1 <===> |                            | <===> [ROUTER 1] <===> Local Server 1
Client 2 <===> |         Net Server          |
               |   (External IP /Internet)  | <===> [ROUTER 2] <===> Local Server 2
Client 3 <===> |                            | <===> [ROUTER 3] <===> Local Server 3
Client n <===> |____________________________| <===> [ROUTER n] <===> Local Server n

The challenge is to do this WITHOUT MANUALLY forwarding port 80 on routers. ( ie logging into local router 'n' and changing settings)

Is this possible ? (SSH Tunnel .... ?)

Your input would be much appreciated

share|improve this question

migrated from security.stackexchange.com Jul 31 '13 at 23:50

This question came from our site for Information security professionals.

    
Maybe the system administrator can help you out with this. –  Scandalist Aug 1 '13 at 1:48

1 Answer 1

SSH tunneling would work if you have a way to ssh somehow inside of the network. Those who want to access the site on port 80 would have to setup their SSH client and SSH forwarding beforehand.

If you can run an OpenVPN server outside of your network, you can configure OpenVPN as a client on the servers. The servers will then make an outgoing connection to the external OpenVPN server. You can then connect to that OpenVPN server as another client and access the servers over port 80 on the virtual network.

Other than that, no way.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.