7f5b4d4612
A sample implementaiton set of "L2TP-IPv6PD" client using mpd. "OCN IPv6", provided by NTT Communications Corp, was the first commercial tunnel service using "L2TP-IPv6PD". NOTE: This port runs on FreeBSD 6.3 and later. If you want to run it on FreeBSD 6.2, you need to apply following diff to your ng_ksocket: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netgraph/ng_ksocket.c.diff?r1=1.59&r2=1.60 WWW: http://www.ocn.v6.ntt.net/ocnipv6/pdf/ocnipv6uni_ver1.0.pdf
25 lines
557 B
Text
25 lines
557 B
Text
startup:
|
|
|
|
default:
|
|
load l2tp
|
|
|
|
l2tp:
|
|
new -i %%INTERFACE%% l2tp L2TP0
|
|
set auth authname %%PPP_ID%%
|
|
set iface disable on-demand
|
|
set iface idle 0
|
|
set bundle no multilink
|
|
set bundle no ipcp
|
|
set bundle enable ipv6cp
|
|
set bundle disable noretry
|
|
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 iface up-script %%PREFIX%%/%%CONF_DIR%%/linkup.sh
|
|
set iface down-script %%PREFIX%%/%%CONF_DIR%%/linkdown.sh
|
|
#set iface route ::/0
|
|
open
|