aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src/features/forwardproxy.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc-src/features/forwardproxy.html')
-rw-r--r--doc-src/features/forwardproxy.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc-src/features/forwardproxy.html b/doc-src/features/forwardproxy.html
new file mode 100644
index 00000000..203520d5
--- /dev/null
+++ b/doc-src/features/forwardproxy.html
@@ -0,0 +1,16 @@
+
+In this mode, mitmproxy accepts proxy requests and unconditionally forwards all
+requests to a specified upstream server. This is in contrast to <a
+href="@!urlTo("reverseproxy.html")!@">reverse proxy mode</a>, in which
+mitmproxy forwards ordinary HTTP requests to an upstream server.
+
+<table class="table">
+ <tbody>
+ <tr>
+ <th width="20%">command-line</th> <td>-F http[s]://hostname[:port]</td>
+ </tr>
+ <tr>
+ <th>mitmproxy shortcut</th> <td><b>F</b></td>
+ </tr>
+ </tbody>
+</table>