fix: add SOCKS5 to README and command help message
parent
16e3b4adf1
commit
0fc2fafb50
|
|
@ -1,3 +1,3 @@
|
||||||
# wghttp
|
# wghttp
|
||||||
|
|
||||||
Turn WireGuard to an HTTP proxy.
|
Turn WireGuard to an HTTP & SOCKS5 proxy.
|
||||||
|
|
|
||||||
2
main.go
2
main.go
|
|
@ -23,7 +23,7 @@ type options struct {
|
||||||
PeerKey string `long:"peer-key" env:"PEER_KEY" required:"true" description:"WireGuard server public key in base64 format"`
|
PeerKey string `long:"peer-key" env:"PEER_KEY" required:"true" description:"WireGuard server public key in base64 format"`
|
||||||
PrivateKey string `long:"private-key" env:"PRIVATE_KEY" required:"true" description:"WireGuard client private key in base64 format"`
|
PrivateKey string `long:"private-key" env:"PRIVATE_KEY" required:"true" description:"WireGuard client private key in base64 format"`
|
||||||
ClientIPs []string `long:"client-ip" env:"CLIENT_IP" env-delim:"," required:"true" description:"WireGuard client IP address"`
|
ClientIPs []string `long:"client-ip" env:"CLIENT_IP" env-delim:"," required:"true" description:"WireGuard client IP address"`
|
||||||
Listen string `long:"listen" env:"LISTEN" default:"localhost:8080" description:"HTTP proxy server listen address"`
|
Listen string `long:"listen" env:"LISTEN" default:"localhost:8080" description:"HTTP & SOCKS5 proxy server listen address"`
|
||||||
DNS []string `long:"dns" env:"DNS" env-delim:"," default:"1.0.0.1" description:"DNS server IP address"`
|
DNS []string `long:"dns" env:"DNS" env-delim:"," default:"1.0.0.1" description:"DNS server IP address"`
|
||||||
MTU int `long:"mtu" env:"MTU" default:"1280" description:"MTU"`
|
MTU int `long:"mtu" env:"MTU" default:"1280" description:"MTU"`
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue