简体   繁体   English

CharlesProxy -Cisco Anyconnect - Android

[英]CharlesProxy -Cisco Anyconnect - Android

Am unable to make CharlesProxy work on Android or iOS device.我无法让 CharlesProxy 在 Android 或 iOS 设备上工作。 The laptop and mobile devices are behind Anyconnect VPN.笔记本电脑和移动设备位于 Anyconnect VPN 之后。 Any pointers here would help.这里的任何指示都会有所帮助。 Thanks.谢谢。

I had an issue with Charles and AnyConnect for a long time:很长一段时间以来,我一直对 Charles 和 AnyConnect 有疑问:

  • If I opened Charles first, AnyConnect would just spin on the 'Contacting [host]...." and never open the panel to enter credentials.如果我先打开 Charles,AnyConnect 只会在“正在联系 [主机]....”上旋转,而永远不会打开面板来输入凭据。

  • If I opened AnyConnect and connected to the host first Charles would not monitor any network traffic.如果我先打开 AnyConnect 并连接到主机,Charles 将不会监控任何网络流量。

I stumbled on this (non-technical) solution which always works for me (though I don't understand why):我偶然发现了这个(非技术)解决方案,它总是对我有用(虽然我不明白为什么):

  • Close both AnyConnect and Charles Proxy.关闭 AnyConnect 和 Charles Proxy。
  • Open AnyConnect and click the "Connect" button but do NOT enter your credentials yet.打开 AnyConnect 并单击“连接”按钮,但不要输入您的凭据。
  • Open Charles.打开查尔斯。
  • Enter you credentials to connect with AnyConnect.输入您的凭据以连接 AnyConnect。

VPN is now connected and Charles monitors all network traffic. VPN 现在已连接,Charles 监控所有网络流量。

Works for me every time.每次都为我工作。

It depends on VVPN version.这取决于 VVPN 版本。 The main idea is to try different approaches主要思想是尝试不同的方法

For example:例如:

connect Charles Proxy -> connect VPN

Basically, VPN doesn't cooperate well with any Proxy Tools.基本上,VPN 与任何代理工具都不能很好地配合。

You might fix it by open the Cisco AnyConnect VPN Preference -> Select "Block Connection to untrusted server".您可以通过打开 Cisco AnyConnect VPN 首选项 -> Select“阻止连接到不受信任的服务器”来修复它。

Then opening Charles Proxy or Proxyman first, then open the VPN later.然后先打开 Charles Proxy 或 Proxyman,再打开 VPN。

思科

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM