shadow is a simple and fast http proxy written by Go.
Start a transparent http proxy
./shadow -addr :7778
With parent proxy
./shadow -addr :7777 -proxy :7778
Using configuration file instead of command line args
./shadow -c shadow.json
Name | Description |
---|---|
help, h | Prints usage. |
version, v | Prints shadow version. |
config, c | configuration file, all other args arg ignored if config is specified. |
addr, a | Listen address (default ":1080"). |
proxy, p | Parent proxy address. |
dial_timeout, dt | Timeout for dialing proxy, by milliseconds. |
read_timeout, rt | Timeout for waiting response headers, by milliseconds. |
verbose | Verbose output. |
Here is a config sample
{
"addr": ":7778",
"dial_timeout": 30000,
"read_timeout": 30000,
"proxy": "",
"verbose": true
}