tak ja to mam takhle, se sdileným heslem, ktere je heslo
jo a myslim ze od nejake verze 6.36 doslo ke zmene, takze bylo potreba udelat upgrade na vyzsi verze nez 6.36 nebo 6.38 ted presne netusim
/ip pool
add name=VPN_POOL ranges=172.30.255.100-172.30.255.200
/ip ipsec policy group
set [ find default=yes ] name=group1
/ip ipsec proposal
set [ find default=yes ] disabled=yes enc-algorithms=des
add enc-algorithms=aes-256-cbc,3des name=L2TP-proposal pfs-group=none
/ip ipsec peer
add address=0.0.0.0/0 dh-group=modp1024 enc-algorithm=aes-256,aes-128,3des exchange-mode=main-l2tp generate-policy=port-override secret=heslo
/ip ipsec policy
add dst-address=0.0.0.0/0 proposal=L2TP-proposal src-address=0.0.0.0/0 template=yes
/ppp profile
add change-tcp-mss=yes dns-server=8.8.8.8 local-address=172.30.255.1 name=L2TP remote-address=VPN_POOL use-encryption=required
/ppp secret
add name=user2 password=L2tpheslo profile=L2TP remote-address=172.30.255.98 service=l2tp
add name=user1 password=L2tpheslo profile=L2TP service=l2tp
/interface l2tp-server server
set authentication=mschap2 enabled=yes ipsec-secret=heslo max-mru=1460 max-mtu=1460 use-ipsec=yes