Next: Server part, Previous: Verifier, Up: User manual
Except for common -mtu
, -stats
options client has the
following ones:
-remote
Address (host:port
format) of remote server we need to connect to.
-iface
TAP interface name.
-id
Our client’s Identity (hexadecimal string).
-key
Path to the file with the passphrase. See Verifier for how to enter passphrase from stdin silently and store it in the file.
-timeout
Timeout setting in seconds.
-noncediff
Allowable Nonce difference.
-noise
Enable Noise.
-cpr
Enable CPR in KiB/sec.
-up
Optional path to script that will be executed after connection is established. Interface name will be given to it as a first argument.
-down
Same as -up
above, but it is executed when connection is lost,
when we exit.
Example up-script that calls DHCP client and IPv6 advertisement solicitation:
client% cat > up.sh <<EOF #!/bin/sh dhclient $1 rtsol $1 EOF client% chmod +x up.sh