ProxymanApp / Proxyman

Modern. Native. Delightful Web Debugging Proxy for macOS, iOS, and Android ⚡️
https://proxyman.io
5.41k stars 178 forks source link

Unable to load website after connecting to CISCO - AnyConnect VPN #1766

Open Bellaposa opened 10 months ago

Bellaposa commented 10 months ago

Description

Website loading issues arise when using Proxyman in conjunction with CISCO - AnyConnect VPN.

Steps to Reproduce

  1. Launch Proxyman.
  2. Initiate VPN connection through CISCO - AnyConnect.
  3. Open a browser.
  4. Attempt to access a website, or Application e.g., https://google.com., Microsoft Teams The site/app fails to load

Current Behavior

I'm able to intercept only the data coming from the VPN server, such as intranet pages and associated content. Yet, when I attempt to search on Google, the page doesn't load.

Using just the VPN, websites load without issues. However, challenges occur when Proxyman and AnyConnect are run together.

Expected Behavior

The website should load without any hindrance.

Environment

Screenshot 2023-09-11 at 15 39 56 Screenshot 2023-09-11 at 15 43 34
NghiaTranUIT commented 10 months ago

Hi, it's because the Cisco VPN doesn't accept any proxy server (Proxyman), so you get the error.

To fix it, please follow this docs: https://docs.proxyman.io/troubleshooting/proxyman-does-not-work-with-vpn-apps#3.-anyconnect

Some users can make both Proxyman and AnyConnect VPN work 👍

Bellaposa commented 10 months ago

Hello,

Thank you for getting back to me. I followed the guide to the letter, but the problem persists. It's odd because I had been using the Proxyman app smoothly until about 20 days ago. After updating to version 4.10.0, it stopped working. I even attempted to revert to an older version, but, curiously, that doesn’t seem to work anymore either.

On a side note, I don’t encounter this issue with other tools I use.

zhihuitang commented 9 months ago

Same here. I am able to load my employer's website only, but not google.com, and Teams cannot login either.

Bellaposa commented 1 month ago

Hello!

After extensive investigation, it was found that running the command sudo pfctl -d after connecting to the VPN resolves the blocking issue. This command disables the packet filter.

It seems that MacOS Sonoma has a bug in Firewall More info

Please note that you will need to run this command each time you connect to the VPN.

While this may not be the most ideal solution, it currently helps to bypass the problem.

Hope this helps!