Greetings.
I’d like to get your help.
RouterOS: 6.41 (tried on 6.40.4 before).
We have a central office where we have Huawei Edge router, which has L2TP+IPSec server on.
Also we have branch offices, which have MikroTik routers as edge devices. Some branches have public addresses, some are connected behind ISP’s NAT and have “gray”, private IP addresses.
We have successfully configured L2TP+IPSec connection between CO and public BO, but now we are facing problem connecting other branch offices.
L2TP client without IPSec works fine behind the NAT, but as we turn on IPSec it stops working.
Related configuration with working L2TP+IPSec and public BO:
/interface l2tp-client
add allow=chap,mschap1,mschap2 comment=ERT1 connect-to=XXX.XXX.XXX.XXX
disabled=no ipsec-secret=KEY keepalive-timeout=disabled
max-mru=1500 max-mtu=1500 name=L2TP password=L2TP profile=L2TP_ppp
use-ipsec=yes user=l2tp_user
/ip ipsec proposal
set [ find default=yes ] auth-algorithms=sha1,md5 enc-algorithms=
aes-256-cbc,aes-192-cbc,aes-128-cbc,3des,des
/ppp profile
add name=L2TP_ppp use-compression=no use-encryption=yes use-mpls=no
set *FFFFFFFE use-encryption=default
On the problematic BO routers:
If we copy the dynamically created IPSec peer and uncheck the “Use IPSec” button in the L2TP-Client interface, then we start receiving error “No address provided”.
If we change the “Exchange Mode” to IKE2, then we stop getting any messages related to IPSec in the log (but L2TP w/o IPsec works).
Is it possible to resolve? What could be the problem?
Thanks.