ProxymanApp / Proxyman

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

Use a proxy server #1572

Open diegozimet opened 1 year ago

diegozimet commented 1 year ago

Is it possible to configure proxyman to send data through a proxy server? I'm using the iPhone app, and I would like to use a proxy server for cellular data as well, not just Wifi.

Thank you.

NghiaTranUIT commented 1 year ago

It's possible for the WiFi. Here is how you setup:

  1. Open Proxyman for macOS
  2. Get your iPhone iOS 16.3 or later, set the Proxy, and install / trust the certificate (https://docs.proxyman.io/debug-devices/ios-device)
  3. Make sure you set it up properly, so you can see the HTTPS traffic from your iPhone. To test it, just simply open the Safari iOS app -> Visit Google.com -> Back to the macOS app -> Enable SSL on this domain -> Verify you can see HTTPS content.
  4. To use the Proxy Server, go to Proxyman for macOS -> Tools -> Proxy Setting -> External Proxy
  5. Enter your IP/Port for the HTTP and HTTPS.
  6. Done.

Your iPhone -> Proxyman -> External Proxy -> The Internet.

You can read more at https://docs.proxyman.io/advanced-features/external-proxy

doroved commented 1 year ago

It's possible for the WiFi. Here is how you setup:

  1. Open Proxyman for macOS
  2. Get your iPhone iOS 16.3 or later, set the Proxy, and install / trust the certificate (https://docs.proxyman.io/debug-devices/ios-device)
  3. Make sure you set it up properly, so you can see the HTTPS traffic from your iPhone. To test it, just simply open the Safari iOS app -> Visit Google.com -> Back to the macOS app -> Enable SSL on this domain -> Verify you can see HTTPS content.
  4. To use the Proxy Server, go to Proxyman for macOS -> Tools -> Proxy Setting -> External Proxy
  5. Enter your IP/Port for the HTTP and HTTPS.
  6. Done.

Your iPhone -> Proxyman -> External Proxy -> The Internet.

You can read more at https://docs.proxyman.io/advanced-features/external-proxy

It doesn't work. I installed an external proxy, but the traffic is still proxied through my ISP's internet. What could be the problem?

image
doroved commented 1 year ago

@NghiaTranUIT

Burp Siute has a proxy setting that allows you to pass all proxied traffic through an external proxy. I take it your program does not have this?

image
NghiaTranUIT commented 1 year ago

@doroved It's the External proxying Feature in the Tool menu -> Proxy Setting.

Screenshot 2023-05-25 at 06 35 44
doroved commented 1 year ago

@NghiaTranUIT I enter ip,port,auth credentials external proxy like this, but it does not work, the traffic does not go through the external proxy image

NghiaTranUIT commented 1 year ago

What is your URL? Is it localhost request?

NghiaTranUIT commented 1 year ago

If it's localhost url, please uncheck the Always bypass the localhost in the end of the box 👍

doroved commented 1 year ago

What is your URL? Is it localhost request?

No, for example I go to the site to check my ip and it does not change ifconfig.co. By the way, in Charles, my external proxy does not work either. I closed all applications proxy traffic and manually set proxy in wi-fi, also does not work, even no error, traffic does not go through external proxy and goes through my provider's internet. I can not understand what the problem may be.

NghiaTranUIT commented 1 year ago

Can you verify that you use HTTPS on the External Proxy too?

From what I see, you only enable HTTP.

CleanShot 2023-05-25 at 14 30 04@2x

doroved commented 1 year ago

Can you verify that you use HTTPS on the External Proxy too?

From what I see, you only enable HTTP.

I added the same proxy for HTTPS and everything worked, thanks) It confused me that for HTTPS the default port is 443, I have these proxies, they work through the domain instead of ip, so I specified my HTTP proxies in Proxyman's HTTP settings

NghiaTranUIT commented 1 year ago

Ah, I see. I will change the placeholder of the HTTPS Box to make it clear 👍