summarylogtreecommitdiffstats
path: root/example-server.openl2tpd.conf
diff options
context:
space:
mode:
authorKanogin Alex2016-01-17 18:46:34 +0300
committerKanogin Alex2016-01-17 18:46:34 +0300
commit16e6e97b7f695931da39bf259b6f5946a21b9d04 (patch)
treef501e8b0ff85f19b27a7d4578b707bceebb83db2 /example-server.openl2tpd.conf
downloadaur-16e6e97b7f695931da39bf259b6f5946a21b9d04.tar.gz
Initial commit
Diffstat (limited to 'example-server.openl2tpd.conf')
-rw-r--r--example-server.openl2tpd.conf36
1 files changed, 36 insertions, 0 deletions
diff --git a/example-server.openl2tpd.conf b/example-server.openl2tpd.conf
new file mode 100644
index 000000000000..e960e14e1a33
--- /dev/null
+++ b/example-server.openl2tpd.conf
@@ -0,0 +1,36 @@
+system modify \
+ deny_remote_tunnel_creates=no \
+ tunnel_establish_timeout=60 \
+ session_establish_timeout=0 \
+ tunnel_persist_pend_timeout=60 \
+ session_persist_pend_timeout=60
+
+ppp profile modify profile_name=default \
+ optionsfile=/etc/ppp/options.openl2tpd \
+ local_ipaddr=172.16.17.1 \
+ lcp_echo_interval=10 \
+ lcp_echo_failure_count=3 \
+ auth_eap=no \
+ auth_pap=no \
+ auth_none=no \
+ auth_chap=yes \
+ auth_mschapv1=no \
+ auth_mschapv2=yes
+
+session profile create profile_name=peer1 \
+ ppp_profile_name=peer1
+
+ppp profile create profile_name=peer1 \
+ optionsfile=/etc/ppp/options.openl2tpd \
+ auth_none=no \
+ auth_pap=no \
+ auth_chap=yes \
+ auth_mschapv1=no \
+ auth_mschapv2=yes \
+ auth_peer=no \
+ dns_ipaddr_pri=172.16.17.1 \
+ local_ipaddr=172.16.17.1 \
+ remote_ipaddr=172.16.17.6 # ipaddr of peer1
+
+tunnel profile modify profile_name=default \
+ our_udp_port=1701