2015-11-23 10:55:37 +00:00
|
|
|
Usage:
|
2016-08-08 14:30:22 +00:00
|
|
|
vpncloud [options] [--config <file>] [-t <type>] [-d <name>] [-l <listen>] [-c <addr>...] [-s <subnet>...]
|
2015-11-23 10:55:37 +00:00
|
|
|
|
|
|
|
Options:
|
2016-08-08 14:30:22 +00:00
|
|
|
--config <file> Read configuration options from the
|
|
|
|
specified file.
|
2015-11-23 10:55:37 +00:00
|
|
|
-t <type>, --type <type> Set the type of network ("tap" or "tun").
|
2015-11-23 16:10:42 +00:00
|
|
|
-d <name>, --device <name> Name of the virtual device.
|
2015-11-23 10:55:37 +00:00
|
|
|
-m <mode>, --mode <mode> The mode of the VPN ("hub", "switch",
|
2016-08-10 08:25:19 +00:00
|
|
|
"router", or "normal").
|
2016-05-02 06:35:11 +00:00
|
|
|
-l <port>, --listen <port> The port number on which to listen for data.
|
2015-11-23 10:55:37 +00:00
|
|
|
-c <addr>, --connect <addr> Address of a peer to connect to.
|
2016-08-08 01:54:55 +00:00
|
|
|
-s <addr>, --subnet <subnet> The local subnets to use.
|
2016-08-08 07:34:13 +00:00
|
|
|
--magic <hex> Override the 4-byte magic header of each
|
|
|
|
packet.
|
2015-11-23 16:10:42 +00:00
|
|
|
--network-id <id> Optional token that identifies the network.
|
2016-08-08 07:34:13 +00:00
|
|
|
(DEPRECATED)
|
2015-11-23 16:10:42 +00:00
|
|
|
--shared-key <key> The shared key to encrypt all traffic.
|
2015-11-30 16:27:50 +00:00
|
|
|
--crypto <method> The encryption method to use ("aes256", or
|
2016-08-10 08:25:19 +00:00
|
|
|
"chacha20").
|
2016-08-08 14:30:22 +00:00
|
|
|
--peer-timeout <secs> Peer timeout in seconds.
|
2015-11-23 19:53:58 +00:00
|
|
|
--dst-timeout <secs> Switch table entry timeout in seconds.
|
2015-11-23 18:06:25 +00:00
|
|
|
--ifup <command> A command to setup the network interface.
|
|
|
|
--ifdown <command> A command to bring down the network
|
|
|
|
interface.
|
2016-08-10 09:34:13 +00:00
|
|
|
--no-port-forwarding Disable automatic port forward.
|
2015-11-23 10:55:37 +00:00
|
|
|
-v, --verbose Print debug information.
|
|
|
|
-q, --quiet Only print errors and warnings.
|
|
|
|
-h, --help Display the help.
|
2015-11-24 10:19:27 +00:00
|
|
|
-V, --version Print the version and exit.
|