-
Notifications
You must be signed in to change notification settings - Fork 69
Windows: Simulate an enterprise proxy on a single developer machine
BergWerkGIS edited this page Oct 24, 2014
·
2 revisions
Sometimes it is necessary to simulate a proxy on a developer machine, that otherwise has free internet access.
e.g. when troubleshooting Mapbox Studio:
Download and install free Fiddler4: http://www.telerik.com/download/fiddler
- open properties
- block all outbound connections:
- Domain Profile
- Private Profile
- Public Profile
- create new outbound rule
- type =
Program
-
Browse...
to where you installed Fiddler and selectFiddler.exe
Allow the connection
- applies to
Domain
,Private
andPublic
- name your rule, e.g.
ALLOW FIDDLER
->Finish
Now all programs (except Fiddler) are blocked by the firewall and there is no internet access! Don't forget to undo your changes in the firewall properties when you are done debugging.
- Start Fiddler
- Set the proxy of the program you want to allow to have internet access via proxy to
http://localhost:8888
orhttp://127.0.0.1:8888
-
8888
is the default port Fiddler listens on, it can be changed viaTools -> Fiddler Options -> Connections -> Fiddler listens on port:
- If you need to test authentication check
Rules -> Require Proxy Authentication
- user:
1
- pwd:
1
- proxy setting with auth:
http://1:[email protected]:8888
- user: