I'm probably gonna buy 5 mikrotik router to do sitetosite lan over vpn and remote access to lan through l2tp
I was taking a look at the wiki to prepare myself and i think i spotted an error. It may also be that i'm wrong. In this case could you please explain to me why there is no mention of "password" on server side , and why "test123456" is mentioned two time on the server side?
L2TP Config
On the server:
Code: Select all
/interface l2tp-server server
set enabled=yes profil=default
/ip pool
add name=l2tp-pool ranges=192.168.1.2-192.168.1.20
/ppp profile
set default local-address=192.168.1.1 remote-address=l2tp-pool
/ppp secret
add name=l2tp-test password=test123456 <---------------------this should be "password"
On the client:
/interface l2tp-client
add connect-to=1.1.1.1 disabled=no name=l2tp-out1 password=password user=l2tp-test
On server side:
/ip ipsec proposal
set [ find default=yes ] enc-algorithms=3des,aes-128,aes-192,aes-256
/ip ipsec peer
add generate-policy=yes hash-algorithm=sha1 nat-traversal=yes secret=test123456
RouterOS as client:
/ip ipsec proposal
set [ find default=yes ] enc-algorithms=aes-128
/ip ipsec peer
add address=1.1.1.1/32 hash-algorithm=sha1 nat-traversal=yes secret=test123456
/ip ipsec policy
add dst-address=1.1.1.1/32 protocol=udp sa-dst-address=1.1.1.1 \
sa-src-address=10.5.8.120 src-address=10.5.8.120/32