Router Installation and Configuration Manual/Configuring L2TP as LAC

From ImageStream Router Documentation

Jump to: navigation, search

While support for L2TP Access Concentrator (LAC) mode is incomplete, L2TP tunnels and PPP sessions can be manually established to remote L2TP Network Servers (LNS).

L2TP commands must be placed in the local startup script (rc.local) which can be edited from the main menu option 1 (Configuration Menu) => option 1 (Global configuration) => option 4 (Configure rc.local).

Client configuration

rc.local:

!/bin/sh
################################################################################
# rc.local file, use this to setup your boot-time configuration.               #
################################################################################

Extract l2tp
rpc.portmap
modprobe pppol2tp
openl2tpd -u 1701
l2tpconfig ppp profile modify profile_name=default default_route=yes options_file=/etc/l2tp.opts
l2tpconfig tunnel create tunnel_name=tun1 dest_ipaddr=205.159.243.1 secret=mypass persist=yes
l2tpconfig session create tunnel_name=tun1 user_name=client1 user_password=clientpass

Enter this command from the command line (bash shell): echo "persist" > /etc/l2tp.opts

Personal tools
Router software releases