mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-25 16:15:55 +03:00
[GH-ISSUE #211] Can't disable proxy #205
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#205
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @iandundas on GitHub (Jul 9, 2019).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/211
Originally assigned to: @NghiaTranUIT on GitHub.
Proxyman version? (Ex. Proxyman 1.4.3)
1.4.4.1 (Setapp)
macOS Version? (Ex. mac 10.14)
10.14.6 (beta)
Problem: Proxyman is permanently enabled for my vpn connection. I have to keep Proxyman open in order to use the web. Quitting or force-quitting Proxyman does not remove the proxy settings, and unfortunately in MacOS (at least for the VPN I use, not sure it's for all) you can't change the Proxy settings in
Network.prefpane, - there's no way to get to those settings.I looked into changing it at the CLI, here's how the settings stand currently for that interface:
which looks like it's all disabled, but still I must have Proxyman open to access the web.
Please could you point me in the right direction? 👍🏻
@iandundas commented on GitHub (Jul 9, 2019):
Note: for the other network services in the screenshot I can use the web without Proxyman being open
@NghiaTranUIT commented on GitHub (Jul 9, 2019):
Hey @iandundas, thank for the report.
That's strange that Proxyman doesn't revert the Proxy in VPN.
Can you run this
networksetup -getsecurewebproxy "VPN VA Amsterdam"whether it's on or off.In bad scenario, you could try remove VPN and re-add it later and I will check this bug on my machine.
@iandundas commented on GitHub (Jul 9, 2019):
Ahh, another flag that I didn't try 👀
followed by:
networksetup -setsecurewebproxystate "VPN VA Amsterdam" offand again:
But unfortunately I still can't access the web.
Dump of all states I can think of:
networksetup -getsecurewebproxy "VPN VA Amsterdam" && echo "\n\n" && networksetup -getsocksfirewallproxy "VPN VA Amsterdam" && echo "\n\n" && networksetup -getwebproxy "VPN VA Amsterdam" && echo "\n\n" && networksetup -getinfo "VPN VA Amsterdam" && echo "\n\n" && networksetup -getproxyautodiscovery "VPN VA Amsterdam"And for
"Ethernet":@NghiaTranUIT commented on GitHub (Jul 9, 2019):
Thank for detail reports!
I'm not sure why your VPN couldn't connect the Internet even all configs are off. (Proxyman only overrides HTTP & HTTPS config, and from what I see, they're off).
Here is few solution we can by-pass this issue:
Uninstallit. It means that Proxyman will usenetworksetupto override the proxy => Could fix this bugP/S: I'm in macOS 10.14.5 and I'm able to see the Advance button in Network.prefpane with VPN config. Not sure the 10.14.6 beta doesn't have it.
@iandundas commented on GitHub (Jul 9, 2019):
Maybe it's disabled by my specific corporate VPN, because for another VPN (ExpressVPN) it is still enabled
Thanks for the super fast replies :)
@NghiaTranUIT commented on GitHub (Jul 9, 2019):
Thank you for decent bug report. I will check it today 👍
@iandundas commented on GitHub (Jul 9, 2019):
Tried the suggestions above, they didn't work immediately, but doing step #4 (delete & re-add) means it now works. Which is strange, because I already tried that yesterday and it didn't work then. But anyway, sorted now 👌🏻 not sure what the cause was though!
@iandundas commented on GitHub (Jul 9, 2019):
FYI this is the corporate VPN I have to use: https://apps.apple.com/us/app/sonicwall-mobile-connect/id822514576?mt=12 (2 stars ;))
@rakheshster commented on GitHub (Jul 16, 2019):
Thanks @iandundas for reporting this and for the
networksetupcommands (macOS newbie here, wasn't aware of this). I use WireGuard for VPN and came across the same issue when I tried out Proxyman today. After stopping Proxyman my Internet stopped working over VPN unless the app was on and proxying active. I am using the official WireGuard client.For anyone else encountering this I was able to reset my VPN proxy config via the following commands (my VPN entries start with the words vpnac or mullvad, so I filter on them and disable proxy and remove the localhost proxy entry, for both secure and regular).
Before running these commands this is how an example entry looked like with even with the proxy helper uninstalled:
Afterwards:
@NghiaTranUIT commented on GitHub (Jul 17, 2019):
Huge credit for @rakheshster, it's valuable insight for me, and Good news that I'm able to reproduce it 🎉
I'm fixing it and send you a hot-fix build today 👍
@NghiaTranUIT commented on GitHub (Jul 17, 2019):
I've fixed this issue in this Hotfix Proxyman 1.4.5.51 (https://www.dropbox.com/s/3k3z60mv4f5fjhk/Proxyman_1.4.5.1.dmg?dl=0)
Technically, at the first launch,
networksetupwill override all network devices (including VPN). However, after installing the Helper Tool, it doesn't revert the VPN, which is a bug 🐞This fix including new version of Helper Tool 1.0.1. It will override/revert all available network devices.
Let give it a try @rakheshster @iandundas, if it works, I will officially roll out it in next version 🎉
@JonathanEsposito commented on GitHub (Nov 25, 2020):
Hmm.. I seem to have a similar issue with proxyman v2.13.0 (helpertool v1.2.0) in combination with Cisco AnyConnect Secure Mobility Client.. When the Cisco vpn is disabled, opening and closing proxyman doesn't interrupt my internet connection, but when I enable the Cisco vpn and close proxyman, browsers and services (like dropbox or adobe creative cloud, etc..) are not able to reach the internet anymore.. pinging in terminal still seems to work though.. :s
As soon as I disconnect the Cisco vpn, everything works again. When I connect it again, everything keeps working..
Not sure if it is fixable, but it took me a bit to figure it out
@NghiaTranUIT commented on GitHub (Nov 25, 2020):
Thanks for the input @JonathanEsposito
Basically, when you open Proxyman, Proxyman will try to override the system HTTP Proxy in Network.prefpane -> Wifi -> Advanced -> Proxies Tab to 127.0.0.1 at port 9090, where is a local proxy Proxyman server.
When Proxyman is closed, it will revert the change.
@JonathanEsposito When it happens, can you check the Proxies Tab, let see if the HTTP/HTTPS proxy is OFF or not?
@JonathanEsposito commented on GitHub (Nov 25, 2020):
Hi @NghiaTranUIT, thanks for the quick feedback!

It seems the proxy is correctly disabled:
(Note how dropbox is greyed out, indicating it is unable to connect to its backend..)
@NghiaTranUIT commented on GitHub (Nov 25, 2020):
so Proxyman is working properly. All setting is reverted when Proxyman is closed.
Your problem might cause by Cisco VPN I believe 👀 😄
@NghiaTranUIT commented on GitHub (Nov 25, 2020):
I will keep an eye on this issue, Proxyman and Cisco VPN, let see if we have any workaround to fix it 👍
@JonathanEsposito commented on GitHub (Nov 25, 2020):
I compared with Charles proxy and it has the same issue so it could very well be a Cisco issue 😅
Thanks for looking into it! 🤗
@NghiaTranUIT commented on GitHub (Nov 25, 2020):
Glad to know that it's not the bug from Proxyman 😄
@srinivas-m-a commented on GitHub (Jun 15, 2021):
Hi @NghiaTranUIT I started using ProxyMan yesterday. It is a very nice and easy helpful tool. Thank you.
I am on macOS BigSur Version 11.4 (20F71). We use this VPN https://www.paloaltonetworks.com/products/globalprotect
I still see the issue with this VPN.
For now I can keep the App open, when being on VPN. But would like to know, what is the safe set of steps, I can do to access internet without the ProxyMan App needing to be running all the time.
@NghiaTranUIT commented on GitHub (Jun 15, 2021):
Hi @srebalaji, unfortunately, there are no reliable steps to make Proxyman work with VPN apps like GlobalProject. Each VPN apps has different steps to make it works, or it doesn't work at all.
In general, if you could find a HTTP/HTTPS Proxy Config in GlobalProtect's Preference, you can override it to 127.0.0.1 port 9090. It might work 👍
I also collect these VPN issues and how to fix them (for certain VPN apps) at https://docs.proxyman.io/troubleshooting/proxyman-does-not-work-with-vpn-apps. Please check it out 😄
@lordcheeto commented on GitHub (Sep 13, 2024):
I had a similar issue with GlobalProtect. I was able to close out of Proxyman, and then disconnect from the VPN and reconnect with it no longer trying to go through the proxy.