openl2tpd.conf(5)

openl2tpd.conf(5) OpenL2TP Manual openl2tpd.conf(5)

NAME

openl2tpd.conf - OpenL2TP configuration file

SYNOPSIS

This document describes the configuration file syntax of OpenL2TP.

DESCRIPTION

The configuration file syntax is the same as that written by l2tpconfig's config save command. The file contains a number of l2tpconfig create and modify commands, though the commands aren't processed by l2tpconfig - they are processed by openl2tpd directly when it starts up and again if it receives a SIGHUP signal.

The preferred way to save and restore openl2tpd configuration information is to use the l2tpconfig utility's config save and config restore commands. The local configuration file support is usually enabled only when l2tpconfig is not available.

See l2tpconfig(1) for a list of all available create and modify commands.

A # character on the first line is used to begin a comment line.

A \ character at the end of a line is used to break a long command into multiple lines.

Commands are processed in order. If a tunnel create command references a named peer profile, the profile must be created before the tunnel create command.

A config file written by the config save command of the l2tpconfig utility may be copied to /etc/openl2tpd.conf if desired, in order to have the configuration automatically applied when openl2tpd restarts. However, the preferred method to reload saved configuration is to use l2tpconfig config restore file=xxx.

EXAMPLES

tunnel profile create profile_name=one \
	hello_timeout=30
tunnel create tunnel_name=one dest_ipaddr=10.1.2.3 \
	profile_name=one

SEE ALSO

l2tpconfig(1), openl2tp(7), openl2tpd(8),

13 August 2007 OpenL2TP