使用dnsmasq进行https重定向 [英] https redirection with dnsmasq

查看:507
本文介绍了使用dnsmasq进行https重定向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为我的项目使用树莓派,我也将我的pi设置为wifi接入点。
我正在尝试创建一个登录页面,当用户连接到pi的wifi接入点时,必须将所有http和https请求重定向到该登录页面。
我现在正在使用dnsmasq进行重定向,使用http重定向完美运行。
但我无法弄清楚如何使用dnsmasq重定向https请求。

I am using a raspberry pi for my project and also I have setup my pi as a wifi access point. I am trying to create a landing page to which all the http and https requests must be redirected when a user is connected to pi's wifi access point. I am using dnsmasq right now for redirection,with which the http redirection is working perfectly. But I am not able to figure out how to redirect https requests with dnsmasq.

我使用address = /#/ 192.168.137.45选项来启用http重定向。
我可以将它用于https,或者如果不可能帮助我使用其他一些可能性。

I used the "address=/#/192.168.137.45" option to enable http redirection. Can I use the same for https or if not possible help me with some other possibilities.

如何使用iptables?它是dnsmasq的一部分还是与它不同?

How about using iptables? Is it a part of dnsmasq or different from it?

推荐答案

为了检查HTTPS,您需要安装例如SQUID并启用SSL检查。

In order to inspect HTTPS, you need install for example SQUID and enable SSL Inspection.

这篇关于使用dnsmasq进行https重定向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆