vpncloud/src/usage.txt

29 lines
1.7 KiB
Plaintext
Raw Normal View History

2015-11-23 10:55:37 +00:00
Usage:
2015-11-23 16:10:42 +00:00
vpncloud [options] [-t <type>] [-d <name>] [-l <listen>] [-c <addr>...]
2015-11-23 10:55:37 +00:00
Options:
-t <type>, --type <type> Set the type of network ("tap" or "tun").
[default: tap]
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
[default: vpncloud%d]
-m <mode>, --mode <mode> The mode of the VPN ("hub", "switch",
"router", or "normal"). [default: normal]
2015-11-23 16:10:42 +00:00
-l <addr>, --listen <addr> The address to listen for data.
2015-11-23 10:55:37 +00:00
[default: 0.0.0.0:3210]
-c <addr>, --connect <addr> Address of a peer to connect to.
--subnet <subnet> The local subnets to use.
2015-11-23 16:10:42 +00:00
--network-id <id> Optional token that identifies the network.
--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
"chacha20"). [default: aes256]
2015-11-23 19:53:58 +00:00
--peer-timeout <secs> Peer timeout in seconds. [default: 1800]
--dst-timeout <secs> Switch table entry timeout in seconds.
2015-11-23 10:55:37 +00:00
[default: 300]
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.
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.