How to redirect all http requests to the local server?

There is a computer on linux for a small web server with a single page. He gives wifi. How to make so that when a user connects to it and typed in the address of any browser opened this page?
July 9th 19 at 10:49
1 answer
July 9th 19 at 10:51
The technology is called "Captive portal".

You did not mention on what basis (what solution) Your server gives out wifi, but here's an example of iptables:
Another review of the decisions on the subject:

If they don't fit, now knowing the name of the topic, you can look for a solution that fits Your mechanism of distribution of Wi-Fi.
Thanks but I heard somewhere that there may be problems if the user enters along with the address of some of the parameters may not work. Or am I mistaken? - nikita.Stracke commented on July 9th 19 at 10:54
: If the selected method of providing Captive portal has bugs that allows to do so, it may not work. I haven't heard of it.
Do fine - would be fine. (C) - Carli commented on July 9th 19 at 10:57
: Thanks! I will try with iptables - nikita.Stracke commented on July 9th 19 at 11:00
: You can search the name of the selected technologies "Captive portal" in the search for the word "avoid" or "bypass". Suddenly the chosen solution do there are ways? - Carli commented on July 9th 19 at 11:03

Find more questions by tags Linux