You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -432,6 +432,9 @@ Supported proxy schemes are:
432
432
*`chain` - pseudo-proxy assembling a chain from other proxy specifications. Query string parameters are:
433
433
*`next` - specification of the next proxy in chain. This query string parameter can be specified more than once. Example: `chain://?next=http%3A%2F%2F127.0.0.1%3A57800&next=force-resolve%3A%2F%2F`.
434
434
*`set-dst` - pseudo-proxy replacing connection destination address with the one specified in hostname part of URI. It is mostly intended for programmatic usage from within routing JS script. Example: `set-dst://localhost:9999`.
435
+
*`cmd` - wrapper which redirects connection into stdin/stdout of external program. Destination address and network are passed to subprocess via `DUMBPROXY_DST_ADDR` and `DUMBPROXY_DST_NET` environment variables. Example: `cmd://?cmd=openssl&arg=s_client&arg=-connect&arg=google.com%3A443`. Parameters:
436
+
*`cmd` - program to execute.
437
+
*`arg` - optional command line argument passed to a program. This parameter may be repeated more than once.
0 commit comments