OPENWRT Linux Portal Implementation supports HTTPS

Source: Internet
Author: User

Brief introduction

The application of portal in OpenWrt is mainly WiFiDog and CoovaChilli. The following describes the implementation principles of the two applications respectively.

Introduction to the principle of wifidog implementation

Redirect HTTP requests to the WiFiDog Web server by using the redirection rules of the iptables NAT table.

The Web service then sends an HTTP 302 redirect to the portal home page for portal popup functionality. When client authentication

After passing, increase the cancellation of the client punch rules to achieve portal authentication through the normal Internet function.

advantages : Efficient, easy to expand.

disadvantage : HTTPS redirection is not supported at this stage.

Introduction to the implementation principle of CoovaChilli

CoovaChilli by taking over all the data of the WiFi interface, the portal home page is returned when an HTTP request is found for the client that is not authenticated, and other requests are discarded. The request is forwarded when the client authentication passes. This allows for portal functionality.

Advantages : Accurate data packet control is achieved.

Disadvantage : The performance impact is large, the HTTPS is not supported temporarily.

Introduction of the above two types of portal implementation procedures, in fact, there is no use of eggs. Today I would like to introduce you to a new portal implementation, which should be a wifidog upgrade extension, but simpler than WiFiDog.



This article is from the "record Little Harvest Growth" blog, please be sure to keep this source http://gofly.blog.51cto.com/4344767/1689815

OPENWRT Linux Portal Implementation supports HTTPS

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.