aboutsummaryrefslogtreecommitdiff
path: root/network/openl2tp/sample.conf
diff options
context:
space:
mode:
authorEugene P <pieu@mail.ru>2011-10-11 14:48:28 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-10-11 14:48:28 -0500
commit1b9bd70f42652a76f3ca12e0fcd34e4c1b01084c (patch)
treea650a8cf50957c671715f3eb9efce62b7ea5f525 /network/openl2tp/sample.conf
parentdbc37fd6f34b1c74994d7b2c25b1d61448c01e2c (diff)
network/openl2tp: Added (Layer Two Tunneling Protocol Version 2)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/openl2tp/sample.conf')
-rw-r--r--network/openl2tp/sample.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/network/openl2tp/sample.conf b/network/openl2tp/sample.conf
new file mode 100644
index 0000000000000..fba34766c748e
--- /dev/null
+++ b/network/openl2tp/sample.conf
@@ -0,0 +1,17 @@
+system modify deny_remote_tunnel_creates=yes \
+ tunnel_establish_timeout=60 \
+ session_establish_timeout=30 \
+ tunnel_persist_pend_timeout=60 \
+ session_persist_pend_timeout=30
+
+peer profile modify profile_name=default lac_lns=lac
+
+ppp profile modify profile_name=default \
+ auth_pap=no auth_eap=no auth_none=no auth_mschapv1=no auth_mschapv2=yes \
+ default_route=no proxy_arp=no
+
+tunnel create tunnel_name=CONNECTION_NAME dest_ipaddr=VPN_SERVER_IP persist=yes
+
+session create tunnel_name=CONNECTION_NAME session_name=CONNECTION_NAME \
+ user_name="LOGIN" user_password="PASSWORD"
+