Prev: Next: Up: Configuration[Contents][Index]


11.11 Tunnel

The Tunnel statement defines a direct communication channel between two network sockets. This is described in detail in Tunnel.

Tunnel: Address address

The IP address that pound will listen on. This can be a numeric IPv4 or IPv6 address, or a full pathname of a UNIX socket. To listen on all available interfaces, use ‘0.0.0.0’ (for IPv4), or ‘::0’ (for both IPv4 and IPv6).

If neither Address or SocketFrom are supplied, ‘::0’ is assumed.

Tunnel: Port n

The port number or service name (as per /etc/services) that this listener will listen on.

Tunnel: SocketFrom "pathname"

Read the socket to listen on from the UNIX socket supplied by pathname. If this parameter is supplied, neither Address nor Port may be used. This parameter is intended for use in pound testsuite.

Tunnel: Backend ... End

Defines a backend, i.e. the network socket to connect to the tunnel listener. Exactly one Backend statement must be present in the Tunnel section.

This is a simplified version of the statement described in Backend. The following statements can be used in it:

Tunnel backend: Address IP

IP address or host name of the backend server. If the name cannot be resolved to a valid address, pound will assume that it represents a path to a Unix-domain socket.

This statement is mandatory.

Tunnel backend: Port n

Port number to connect to.

Tunnel backend: TimeOut

Sets the response timeout, i.e. time to wait for a response from the backend (in seconds). Default is 15.

Tunnel backend: ConnTO

Sets connection timeout, i.e. time to wait for establishing connection with the backend (in seconds).

Tunnel backend: Disabled

Mark the backend as disabled.


Prev: Next: Up: Configuration[Contents][Index]