A
A
Alexander2013-02-22 19:27:59
Computer networks
Alexander, 2013-02-22 19:27:59

Internet access to local servers using https://?

There are a couple of servers in the local network, access to which in the local network is carried out at addresses like http s ://192.168.xxx.xxx:
A Dlink-320 router looks at the Internet. Has a static IP from the provider.
Throwing one server on port 443 is not a problem - everything works and the server is accessible via a white IP using https://
How to deal with the second and subsequent ones, when forwarding to router ports other than 443, the servers are unavailable.

Maybe I'm doing something wrong? Please advise where to dig?

Thank you.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander, 2013-02-22
@avorsa


Did a restart of the router.

K
kreativf, 2013-02-22
@kreativf

First you need to configure a different port for https (for example 8080). Then try to register the port manually. For example:

https://your.external.ip.here:8080
Then it should work.

V
Vladimir Dubrovin, 2013-02-22
@z3apa3a

There should be no problems in order to forward different ports of the router to different servers. Make sure that your external port is different, and the internal port is 443 everywhere, try restarting the router after saving the settings.
You can also make several servers on one port (the solution, of course, is not a product one, only if for yourself):
1. (optional) A certificate is made for two names (using alternative names). Without such a certificate, there will be a curse about a name mismatch when connecting.
2. a reverse proxy is installed on one of the servers, for example nginx
3. https is forwarded to it
4. nginx receives content from both servers via Host: from the request

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question