The simplest command to run DeleGate as a HTTP proxy is as follows:

% delegated -P8080 SERVER=http

To test a command observing the progress, use "-v" option to make DeleGate run in foreground with logging on the console.

% delegated -P8080 SERVER=http -v

You will be asked the E-mail address of the administrator (it should be yourself) if your delegated is got as the binary distribution. It can be specified in the ADMIN argument.

% delegated -P8080 SERVER=http -v ADMIN=you@your.domain

A list of command line arguments can be loaded from a file with "+=filename" option. The file contains an argument per line.

% delegated +=dg.conf

[the content of dg.conf]

-P8080

SERVER=http

-v

ADMIN=you@your.domain



When you use DeleGate on the privileged port (of number lower than 1024) on Unix, you need to run DeleGate with the privilege of the super-user.

% sudo delegated -P80 SERVER=http ...

But running DeleGate under the super-user's privilege is not recommended in the consideration of security. You should install subin to escape the problem.