[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
4 Running Campagnol
4.1 Running the rendez-vous server | ||
4.2 Running the client |
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
4.1 Running the rendez-vous server
Run the rendez-vous server on a publicly accessible computer (for every clients of the VPN). The server uses the default UDP port 57888. Be sure that this port is reachable. The server doesn’t require superuser privileges if you do not ask for a privileged port (<1024).
By default, the server accepts up to 100 registered clients.
Start the server and adjust the maximum number of registered clients:
campagnol_rdv --max-clients=20
To start the server on another port:
campagnol_rdv --port=34567
To start the server as a daemon:
campagnol_rdv --daemon
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
4.2 Running the client
The client needs to run with a privileged account to configure the interfaces. To start a client, run:
campagnol conf_file.conf
To start the client as a daemon:
campagnol --daemon conf_file.conf
Send a ‘SIGTERM’ or ‘SIGINT’ signal to the client to kill it cleanly. If no configuration file is given, campagnol will search for a default ‘/etc/campagnol.conf’ file. When campagnol is launched as a daemon, it will write its PID into ‘/var/run/campagnol.pid’ (or another file defined with ‘--pidfile’).
If you changed the CRL or the key/certificate used by a client, you can use the following signals:
- ‘SIGUSR1’ to immediately kill all the connections and reload the files
- ‘SIGUSR2’ to smoothly reload the files (they will be used for the subsequent connections)
[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated
using texi2html 5.0.