Use a bridging proxy

The Perfecto Connect executable includes a bundled proxy that redirects the device-to-network traffic through the Perfecto Connect tunnel. As a result, you can start using Perfecto Connect without any prerequisite installations.

Perfecto Connect does support using a bridging proxy, anything from Charles Proxy to BrowserMob proxy (or any other proxy that may be installed), rather than the bundled proxy. Using a bridging proxy only requires that you supply information on the location (meaning the IP address and port number) of the proxy. For example, if the workstation has Charles Proxy running locally on 127.0.0.1:8888 and you would like to redirect all traffic from the Perfecto Connect Tunnel to Charles Proxy, you could use the bridgeproxyip (providing the IP address of the proxy) and bridgeproxyport (providing the IP port to connect over) parameters of the command line to identify the proxy, as shown in the following code snippet.

Copy
macosx:/usr/local/etc/perfecto$ ./perfectoconnect start -c demo.perfectomobile.com -s eyJhbGciOiJSUz...DxAkAuw82Hao7qrA --bridgeproxyip=127.0.0.1 --bridgeproxyport=8888
...
TUNNELID:0a334599-210a-4d42-aa8e-445071a4070b
...

Next, associate a device with this tunnel. All HTTP/S requests made by this device are redirected through your Charles Proxy instance.