K
K
kirillW2016-05-29 12:06:28
linux
kirillW, 2016-05-29 12:06:28

How to redirect all http requests to the local server?

There is a computer on linux on it a small web server with one page. He also distributes wifi. How to make it so that when a user connects to it and types in the browser any address, this page opens?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
landergate, 2016-05-29
@kirillW

The technology is called " Captive portal ".
You did not mention by what principle (by what solution) your server distributes wifi, but here is an example on iptables:
https://habrahabr.ru/sandbox/79059/
Another review of solutions on the topic:
https://xakep.ru/2013 /10/29/captive-portal/
If they do not fit, now knowing the name of this topic, you can look for a solution suitable for your Wifi distribution mechanism.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question