Next: , Previous: , Up: User  


Client part

Except for common -stats, -egd, -syslog options client has the following ones:

-mtu

Expected TUN/TAP interface MTU.

-proto

Network protocol to use. Can be either udp (default) or tcp.

-proxy

Use specified host:port Proxy server for accessing remote server.

-proxy-auth

Optional user:password for HTTP Basic authorization on proxy server.

-remote

Address (host:port format) of remote server we need to connect to.

-iface

TUN/TAP interface name.

-verifier

Our client’s Verifier.

-key

Path to the file with the passphrase. If omitted, then you will be asked to enter it in the terminal.

-timeout

Timeout setting in seconds.

-noreconnect

Disable reconnection after timeout.

-timesync

Optional time synchronization requirement. If set to zero, then no synchronization required.

-noise

Enable Noise.

-cpr

Set CPR in KiB/sec.

-encless

Enable encryptionless mode.

-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 $GOVPN_IFACE
rtsol $GOVPN_IFACE
EOF
client$ chmod +x up.sh