[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4 Running Campagnol


[ << ] [ < ] [ 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:


[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated using texi2html 5.0.