如何在Windows代理计算机上设置透明代理?

时间:2020-05-04 11:17:12

标签: android windows mitmproxy transparentproxy

有关如何设置透明代理的当前文档不包括Windows:https://docs.mitmproxy.org/stable/howto-transparent/

我想知道是否有人可以向我解释如何在Windows计算机上设置透明代理?

我的最终目标是使Android应用程序数据通过mitmproxy。 我最初使用的是常规代理,但是后来我无法使用需要Internet的应用程序。

抱歉,这是一个愚蠢的问题-我对这种事情很陌生。

提前谢谢

1 个答案:

答案 0 :(得分:0)

I) 通过打开 regedit 启用 IP 转发

  1. 导航到“HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters”
  2. 将 IPEnableRouter 更改为 1 II) 运行服务->路由和远程->启动

III) 有人说你必须运行 py 脚本:https://github.com/mitmproxy/mitmproxy/blob/master/libmproxy/platform/windows.py

IV) mitmweb --mode transparent --listen-port 1080 --web-port 8080 --showhost