I have tried many configurations but still was unable to connect. Anyone can provide with steps to check? Also checked the forum but was still unable to solve it.
Find below configuration:
Code: Select all
/interface l2tp-server
add name=<l2tp-xyz> user=l2tp-xyz
/interface list
add name=vpn-vlan-l2tp
/ppp profile
add change-tcp-mss=yes dns-server=192.168.0.20,192.168.0.22 local-address=\
192.168.150.1 name=vpn-l2tp-user-profile only-one=yes remote-address=dhcp_pool-vpn-150 use-encryption=yes
/interface list member
add interface=<l2tp-xyz> list=vpn-vlan-l2tp
/ip firewall filter
add action=accept chain=input comment="allow l2tp connection" dst-port=\
1701,500,4500 protocol=udp
/ppp secret
add disabled=yes name=l2tp-xyz profile=vpn-l2tp-user-profile \
service=l2tp password=XXXXXXXX
/interface l2tp-server server
set authentication=mschap2 default-profile=vpn-l2tp-user-profile \
enabled=yes one-session-per-host=yes use-ipsec=required ipsec-secret=XXXXXXXXXX
Find below IPSEC/L2TP Logs: