Capturing Traffic from Remote Devices
Environment
Product | Fiddler Everywhere |
Product Version | 1.0.0 and above |
Operating System | macOS, Windows, Linux |
Description
How to capture HTTP/HTTPS traffic from a client on the same network as the Fiddler Everywhere host?
Solution
The Fiddler Everywhere proxy can capture HTTP/HTTPS traffic from virtually any device (like a computer, smartphone, smart tv, etc.) on the same network as the Fiddler Everywhere host. Before configuring the proxy on the client machine and the host, you must consider the following prerequisites:
The Fiddler Everywhere host and the target using the Fiddler Everywhere proxy must be on the same network.
-
The Fiddler Everywhere host and the target using the Fiddler Everywhere proxy must be discoverable on the network. There must be no administrative limitations or security policies that prevent device discovery on the local network.
If you can ping the Fiddler host from the target device and the other way around, that would indicate that both devices are "seeing" each other.
The Fiddler Everywhere host and the target using the Fiddler Everywhere proxy should have the Fiddler proxy port opened. By default, the port is 8866.
The requirement for using the same network is actually not a must. However, most remote networks, like those managed by ISPs, use firewalls and explicitly close most ports. That makes configuring and using Fiddler over the internet virtually impossible (as there are not many ISPs that will allow you to open a random port). If you are the administrator of two separate networks, you must ensure that the Fiddler proxy port is open and that both host and target machines are seeing each other (successful ping).
Configuring Fiddler Everywhere (Host)
Enable the remote connections of Fiddler Everywhere through Settings > Connections > Allow remote computers to connect.
-
Check the local IP address of the Fiddler Everywhere application host. You can use the connection status on the lower right-hand side to obtain the host IP address. Alternatively, you can obtain the host IP address while using a terminal command like ipconfig/ ifconfig (depending on the OS).
Ensure that Fiddler root certificate is installed and the Capture HTTPS traffic option is enabled.
Configuring Fiddler Everywhere (Target)
-
On the target machine, go to the operating system proxy settings.
The proxy settings location of the target machine will differ depending on the used OS (it could be macOS, Windows, Ubuntu, Android, iOS, etc.).
-
Open the manual proxy settings:
Enter the IP address of the Fiddler Everywhere host—for example, 192.168.148.39 (demo IP only).
Enter the Fiddler Everywhere proxy port. By default, the port is 8866.
Apply and save the above settings.
-
Open a browser on the iOS device and type the http://ipv4.fiddler:8866 echo service address of Fiddler Everywhere.
Instead of the echo service address, you can access the Fiddler certificate download page through
host-IP-address:fiddler-port
(for example, 192.168.148.39:8866). Click the Fiddler root certificate link to download it.
Open your client's certificate manager (like Keychain App on macOS or Certificate Manager on Windows), install, and fully trust the downloaded Fiddler certificate.