8000 Intercept traffic in `local` mode, then forward to upstream proxy · mitmproxy mitmproxy · Discussion #6786 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

mitmproxy --mode local:curl --mode upstream:http://localhost:8081

This commands starts two proxy modes: First, proxy all local cURL traffic. Second, spawn an HTTP proxy on port 8080 that will forward all traffic to another HTTP proxy upstream at localhost:8081. Proxy modes are not "interconnected".
There currently is no (easy) way to use an upstream proxy with local redirect mode.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@lawrence-forooghian
Comment options

Answer selected by lawrence-forooghian
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
0