summaryrefslogtreecommitdiff
path: root/accel-pppd/utils.h
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2013-02-11 21:03:24 +0100
committerKozlov Dmitry <xeb@mail.ru>2013-02-12 00:12:48 +0400
commit49ef69e6cd519de0a693fee2526ed217c39db305 (patch)
treefbadb4ca8169c363c2ea34b367ed9bb8f87d1ae7 /accel-pppd/utils.h
parenta517397a30f366995b561c60688cfa6484a9ede2 (diff)
downloadaccel-ppp-xebd-49ef69e6cd519de0a693fee2526ed217c39db305.tar.gz
accel-ppp-xebd-49ef69e6cd519de0a693fee2526ed217c39db305.zip
l2tp: Implement on demand tunnel creation
Add the "l2tp create tunnel" command to initiate new tunnels. This command accepts three parameters: * peer-addr (mandatory): IPv4 address of the remote tunnel end. * host-addr (optional): IPv4 address of the local tunnel end. By default the "l2tp bind" configuration option is used (if defined). * mode (optional): tunnel operating mode: lac (default) or lns. Example with the telnet interface: accel-ppp# l2tp create tunnel peer-addr 192.0.2.1 host-addr 192.0.2.2 The above command tells accel-ppp to establish a new tunnel with the peer at 192.0.2.1. The local address will be 192.0.2.2 and the tunnel will operate as lac. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/utils.h')
0 files changed, 0 insertions, 0 deletions