aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2009-01-11 17:26:24 +0800
committerume <ume@FreeBSD.org>2009-01-11 17:26:24 +0800
commitd1d4618df06acaa38fe84c60c41ec6657fb143f3 (patch)
tree3b2a967de03ede64f1929128023b2c5f064a0e81 /net
parentb1e2b795cb1ce4e165a8a36608a72d982deeea51 (diff)
downloadfreebsd-ports-gnome-d1d4618df06acaa38fe84c60c41ec6657fb143f3.tar.gz
freebsd-ports-gnome-d1d4618df06acaa38fe84c60c41ec6657fb143f3.tar.zst
freebsd-ports-gnome-d1d4618df06acaa38fe84c60c41ec6657fb143f3.zip
Add missing template file to generate config file for mpd5.
Reported by: Hiroo Ono <hiroo__at__oikumene.gcd.org>
Diffstat (limited to 'net')
-rw-r--r--net/mpd-l2tp-ipv6pd-client/scripts/mpd5.conf.in27
1 files changed, 27 insertions, 0 deletions
diff --git a/net/mpd-l2tp-ipv6pd-client/scripts/mpd5.conf.in b/net/mpd-l2tp-ipv6pd-client/scripts/mpd5.conf.in
new file mode 100644
index 000000000000..28507d4e97a3
--- /dev/null
+++ b/net/mpd-l2tp-ipv6pd-client/scripts/mpd5.conf.in
@@ -0,0 +1,27 @@
+startup:
+
+default:
+ load l2tp
+
+l2tp:
+ create bundle static Bl2tp
+ set bundle no ipcp
+ set bundle enable ipv6cp
+ set iface idle 0
+ set iface up-script %%PREFIX%%/%%CONF_DIR%%/linkup.sh
+ set iface down-script %%PREFIX%%/%%CONF_DIR%%/linkdown.sh
+ #set iface route ::/0
+
+ create link static Ll2tp l2tp
+ set link action bundle Bl2tp
+ set link no acfcomp protocomp
+ set link disable pap chap
+ set link accept chap
+ set link keep-alive 15 60
+ set link max-redial 0
+ set link mtu 1390
+ set link mru 1390
+ set l2tp peer %%FIXED_SERVER%%
+ set l2tp hostname %%PPP_ID%%
+ set auth authname %%PPP_ID%%
+ open