Next: , Previous: , Up: User  


Client part

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

-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

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.

-noise

Enable Noise.

-cpr

Set 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