Redirect virtual machine network traffic according to specified settings.
The syntax:
--net protocol://[login:password@][host:port][?parameters]
|
protocol—one of the supported protocols (vpn, tor, socks4, socks5, or shadowsocks), if the net parameter is not specified, the vpn protocol is used by default.
login:password—proxy authorization parameters (optional for socks5, required for shadowsocks, not specified for other protocols).
parameters—additional (optional) parameters:
•udp—UDP traffic redirection.
Possible values:
udp=on redirects all UDP traffic;
udp=off does not redirect UDP traffic.
This parameter is supported for all protocols except for vpn.
•mitm—encrypted traffic interception.
Possible values:
mitm=on intercepts encrypted traffic;
mitm=off does not intercept encrypted traffic (the default option).
This parameter is supported for all protocols.
Examples:
•VPN = vpn://?mitm=on
•TOR = tor://?udp=off
•Socks4 = socks4://myproxy.com:4050?udp=off&mitm=on
•Socks5 = socks5://user:123321@myproxy.com:1080?udp=on&mitm=on
•Shadowsocks = shadowsocks://aes-256-cfb:123321@myproxy.com:1080?mitm=on |