[GH-ISSUE #1038] [Feature Request] Add ability to enable external proxy for a list of hosts only #1032

Open
opened 2026-03-03 19:23:58 +03:00 by kerem · 3 comments
Owner

Originally created by @Bertrand on GitHub (Oct 19, 2021).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1038

Originally assigned to: @NghiaTranUIT on GitHub.

Currently, it is possible to disable external proxying for a list of hosts. This is great.

In our case, we're using a (paid) external proxy so we always have the same IP address to query some providers' APIs.
We only need the external proxy for a handful of hosts.

Since we pay the proxy based on traffic, we need to prevent casual traffic from going through the external proxy during our debug sessions.

The only way to do this is to disable "Override MacOS Proxy" while external proxy is enabled.
This is really cumbersome, and from time to time, we forget to disable external proxy before re-enabling Mac OS proxy.

It would be fantastic to have a list of hosts for which external proxy is enabled.

An Include/Exclude UI like in Charles Proxy recording settings would probably work on terms of ux:

image
Originally created by @Bertrand on GitHub (Oct 19, 2021). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1038 Originally assigned to: @NghiaTranUIT on GitHub. Currently, it is possible to disable external proxying for a list of hosts. This is great. In our case, we're using a (paid) external proxy so we always have the same IP address to query some providers' APIs. We only need the external proxy for a handful of hosts. Since we pay the proxy based on traffic, we need to prevent casual traffic from going through the external proxy during our debug sessions. The only way to do this is to disable "Override MacOS Proxy" while external proxy is enabled. This is really cumbersome, and from time to time, we forget to disable external proxy before re-enabling Mac OS proxy. It would be *fantastic* to have a list of hosts for which external proxy is enabled. An Include/Exclude UI like in Charles Proxy recording settings would probably work on terms of ux: <img width="567" alt="image" src="https://user-images.githubusercontent.com/4960/137863151-54521e16-ca43-4b30-9766-ec9039c21882.png">
Author
Owner

@NghiaTranUIT commented on GitHub (Oct 19, 2021):

Thanks for your insight 👍 I understand it's reasonable to support the Include List.

My idea is that we might copy the Bypass list UI and reuse it for the Inclusive List. As a result, you can define a list, such as:

*.api.com, myapi.com

If you leave it empty, it will allow all traffic (except the Bypass List) 👍

It's quite easy to implement, we might send you a beta build this week for testing @Bertrand

<!-- gh-comment-id:946502740 --> @NghiaTranUIT commented on GitHub (Oct 19, 2021): Thanks for your insight 👍 I understand it's reasonable to support the Include List. My idea is that we might copy the Bypass list UI and reuse it for the Inclusive List. As a result, you can define a list, such as: ``` *.api.com, myapi.com ``` If you leave it empty, it will allow all traffic (except the Bypass List) 👍 It's quite easy to implement, we might send you a beta build this week for testing @Bertrand
Author
Owner

@NghiaTranUIT commented on GitHub (Oct 20, 2021):

Hey @Bertrand Let try this beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.34.1_Include_List_for_External_Proxy.dmg

You can define an Include List for the External Proxies.

Screen Shot 2021-10-20 at 09 16 06
  • For testing, I use Charles Proxy as an external Proxy. As you can see, only domains (in Include List) are going through the external Proxy. Other traffic will go straight to the Internet 👍
Screen Shot 2021-10-20 at 09 16 20
<!-- gh-comment-id:947267463 --> @NghiaTranUIT commented on GitHub (Oct 20, 2021): Hey @Bertrand Let try this beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.34.1_Include_List_for_External_Proxy.dmg You can define an Include List for the External Proxies. <img width="705" alt="Screen Shot 2021-10-20 at 09 16 06" src="https://user-images.githubusercontent.com/5878421/138018332-116e2f6b-5822-4f64-88e2-98a3a84f6215.png"> - For testing, I use Charles Proxy as an external Proxy. As you can see, only domains (in Include List) are going through the external Proxy. Other traffic will go straight to the Internet 👍 <img width="1680" alt="Screen Shot 2021-10-20 at 09 16 20" src="https://user-images.githubusercontent.com/5878421/138018306-f638fb12-80ad-404b-9fc9-786e1799d477.png">
Author
Owner

@Bertrand commented on GitHub (Oct 21, 2021):

Hello,

works like a charm !
Thanks.

Le 20 Oct 2021 à 04:33, Nghia Tran @.***> a écrit :

Hey @Bertrand https://github.com/Bertrand Let try this beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.34.1_Include_List_for_External_Proxy.dmg https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.34.1_Include_List_for_External_Proxy.dmg
You can define an Include List for the External Proxies.

https://user-images.githubusercontent.com/5878421/138018332-116e2f6b-5822-4f64-88e2-98a3a84f6215.png
For testing, I use Charles Proxy as an external Proxy. As you can see, only domains (in Include List) are going through the external Proxy. Other traffic will go straight to the Internet 👍
https://user-images.githubusercontent.com/5878421/138018306-f638fb12-80ad-404b-9fc9-786e1799d477.png

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/ProxymanApp/Proxyman/issues/1038#issuecomment-947267463, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAABGYAZNX2JRCQSV4ZTGGTUHYS7TANCNFSM5GINIG7A.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

<!-- gh-comment-id:948692456 --> @Bertrand commented on GitHub (Oct 21, 2021): Hello, works like a charm ! Thanks. > Le 20 Oct 2021 à 04:33, Nghia Tran ***@***.***> a écrit : > > > Hey @Bertrand <https://github.com/Bertrand> Let try this beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.34.1_Include_List_for_External_Proxy.dmg <https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.34.1_Include_List_for_External_Proxy.dmg> > You can define an Include List for the External Proxies. > > <https://user-images.githubusercontent.com/5878421/138018332-116e2f6b-5822-4f64-88e2-98a3a84f6215.png> > For testing, I use Charles Proxy as an external Proxy. As you can see, only domains (in Include List) are going through the external Proxy. Other traffic will go straight to the Internet 👍 > <https://user-images.githubusercontent.com/5878421/138018306-f638fb12-80ad-404b-9fc9-786e1799d477.png> > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub <https://github.com/ProxymanApp/Proxyman/issues/1038#issuecomment-947267463>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAABGYAZNX2JRCQSV4ZTGGTUHYS7TANCNFSM5GINIG7A>. > Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>. >
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#1032
No description provided.