Hi to all,
I have a problem with establishing L2TP connection between 2 mikrotik routers. Information about my scheme:
Router 1 Office
Public address: 77.78.13.114
LAN address: 172.16.1.0/24
Router 2 Home
Public address: 77.78.24.166
LAN address: 192.168.88.0/24
Print of the config:
ROUTER 1
Print of /ppp secret
name="Slavyanska" service=l2tp caller-id="" password="BLABLABLA" profile=default local-address=10.1.100.1 remote-address=10.1.100.2 routes="192.168.88.0/24 10.1.100.2 1" limit-bytes-in=0 limit-bytes-out=0 last-logged-out=jan/01/1970 00:00:00
Print of /interface l2tp-server server
enabled: yes
max-mtu: 1460
max-mru: 1460
mrru: disabled
authentication: mschap2
keepalive-timeout: 30
max-sessions: unlimited
default-profile: default-encryption
use-ipsec: no
ipsec-secret:
caller-id-type: ip-address
one-session-per-host: no
allow-fast-path: no
ROUTER 2
Print of /interface l2tp-client
name="l2tp-out1" max-mtu=1460 max-mru=1460 mrru=disabled connect-to=77.78.13.114 user="Slavyanska" password="BLABLABLA" profile=default-encryption keepalive-timeout=60 use-ipsec=no ipsec-secret="" allow-fast-path=no add-default-route=no dial-on-demand=no allow=pap,chap,mschap1,mschap2
Print of /ip route
dst-address=172.16.1.0/24 gateway=l2tp-out1 gateway-status=l2tp-out1 unreachable distance=1 scope=30 target-scope=10
The problem is that Router 2 cannot connect to Router 1, this is from the log:
l2tp-out1: initializing...
l2tp-out1: connecting...
l2tp-out1: terminating... - session closed
So can someone tell me where is my mistake? Thank you in advance!