Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

Mikrotik L2TP Server: Difference between revisions

mNo edit summary
(→‎Add a PPP secret: fix redlink)
 
(7 intermediate revisions by 2 users not shown)
__NOTOC__<indicator name="L2TP">[[File:Menu-L2TP-Relay.svg|link=:Category:L2TP Handover|30px|Back up to the L2TP Handover page]]</indicator>
L2TP handover can be done with Mikrotik routers.
 
 
==Enable L2TP server on a router board==
<syntaxhighlight lang=bash>
<pre>
/interface l2tp-server server
set authentication=pap,chap default-profile=default enabled=yes max-mru=1460 max-mtu=1460 mrru=disabled
</syntaxhighlight>
</pre>
 
==Set up an L2TP server==
<syntaxhighlight lang=bash>
<pre>
 
/interface l2tp-server
add comment="L2TP Server" disabled=no name="RevDATADATA SIM" user=<this is the number you will see in L2TP debugging, you can also get it from the log on cluelessControl Pages related to your data sim>
</syntaxhighlight>
</pre>
 
==Add a PPP secret==
<syntaxhighlight lang=bash>
<pre>
 
/ppp secret
add caller-id="" disabled=no limit-bytes-in=0 limit-bytes-out=0 local-address=<IP address on the rb ie 10.10.10.10>\
name=<this is the number you will see in L2TP debugging> \
password=password profile=default remote-address=<your choice of IP here ie 10.10.10.11> routes="" service=l2tp
</syntaxhighlight>
</pre>
 
 
The "name" is a number in the format of 4477xxxxxxxx.
 
You will need to watch the L2TP PPP debug for this, or get it from [[:Category:Control Pages|clueless]].
 
 
editor
699

edits