Mikrotik L2TP Server: Difference between revisions
Appearance
Content deleted Content added
mNo edit summary |
mNo edit summary |
||
| Line 7: | Line 7: | ||
In the log, indicating that the tunnel for the first SIM has been dropped. |
In the log, indicating that the tunnel for the first SIM has been dropped. |
||
=Configuration= |
|||
The following was taken from: https://www.aa-asterisk.org.uk/Data_sim_L2TP_server_for_ROS |
|||
===Enable L2TP server on a router board=== |
|||
<pre> |
|||
/interface l2tp-server server |
|||
set authentication=pap,chap default-profile=default enabled=yes max-mru=1460 max-mtu=1460 mrru=disabled |
|||
</pre> |
|||
===Set up an L2TP server=== |
|||
<pre> |
|||
/interface l2tp-server |
|||
add comment="L2TP Server" disabled=no name="RevDATA SIM" user=<this is the number you will see in L2TP debugging, you can also get it from the log on clueless related to your data sim> |
|||
</pre> |
|||
===Add a PPP secret=== |
|||
<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 |
|||
</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 [[clueless]]. |
|||