zorpctl

zorpctl is primarily used to control Zorp instances. It is able to start an instance, to stop an already running instance, and to query version information of the currently installed Zorp Firewall.

zorpctl is a wrapper script around the main zorp binary, first setting the necessary environment variables (for example LD_LIBRARY_PATH and PYTHONPATH) and doing whatever is required for the currently requested operation.

To start an instance you'll need to issue a zorpctl start <instancename> command. Empty instance name refer to all instances, thus a simple zorpctl start will start all instances listed in your instances.conf file.

An instance is assumed to be running if its pidfile exists. Zorp creates this pidfile on startup, and deletes during exit, so this is a safe assumption. However zorpctl will not be able to stop instances without a pidfile.

Synopsis

zorpctl <operation> [options]
	

Where operation is one of "start", "stop", "restart" or "version" and options is usually a list of instance names.

Arguments

Table 2-2. Command line arguments of zorpctl

ArgumentDescription
startStart the given or all instances.
stopStop the given or all instances.
restartStop and then start the given or all instances.
versionDisplay version and compilation information of your Zorp installation.