S
S
Sergey Dzheygalo2013-12-23 17:04:36
Computer networks
Sergey Dzheygalo, 2013-12-23 17:04:36

How to organize the publication of an HTTP server for access outside the local network?

Hello!
I am developing the MajorDoMo smart home panel and sooner or later all users face the issue of publishing a server on an external network in order to be able to control devices via the Internet. The classic solution is to get a "white" IP from an Internet provider and "forward" ports on the router. However, the problem with it is that it is quite complex for many users and cannot be provided, as they say, "out of the box". So I want to ask the community about possible alternatives.
Some of the things I've been thinking about:
1. Organization of an SSH tunnel. The user launches a certain program that organizes a tunnel between the local server and a dedicated external one (conditionally "dedicated.com"), when from outside the call to the internal server goes on a specific port (for example " dedicated.com:2342 ")
publishing a web server and organizing a web service to receive data / commands from outside and transfer them to the local system through some kind of long polling or push notifications.
In general, I will be glad to advice.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Stepan, 2013-12-23
@L3n1n

Most routers work fine with DDNS

D
Dmitry Guketlev, 2013-12-23
@Yavanosta

For everyone, only the second option is suitable. At first, you don’t have enough ports for everyone

I
Ilya Evseev, 2013-12-25
@IlyaEvseev

Portal to the outside world.
Web interface for clients.
For devices, IRC chat over TLS.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question