User Tools

Site Tools


networking:router:mikrotik_vpn_l2tp

Mikrotik L2TP VPN

Enable L2TP Server

PPP → Interface → L2TP Server → Enable

  • Max MTU
    • L2TP has 40-byte overhead
    • 1450 - Lowering the MTU can speed up VPN - test path MTU first
    • 1460 - Default - Good if uplink MTU is 1500
  • Default Profile
    • Select default-encryption or create your own profile
  • Authentication
    • De-select chap and pap
    • Select MSCHAPv2 and MSCHAP1
  • Select Use IPsec
  • Enter IPsec Secret needed to configure client
  • Click OK

Create IP Pool for Multiple Users

IP → Pool → Add

  • Name L2TPpool
  • Range of addresses e.g. (192.168.1.10-192.168.1.20) outside of LAN DHCP range

PPP → Profiles → Default-Encryption

  • Local Address (same for all)
  • Remote Address (pool you created)

PPP → Interface → L2TP Server

  • Specify Default Profile → default-encryption

Create Users

PPP → Secrets → Add+

  • Name
    • Username
  • Password
  • Service
    • l2tp
  • Local Address (leave blank if using IP pool)
    • Same for all users
    • Router's LAN address
  • Remote Address (leave blank if using IP pool)
    • Different for each user
    • Outside of DHCP range
  • Profile
    • default-encryption

Proxy-ARP

:!: Enable Proxy-ARP on the LAN interface for proper (layer 2 address) ARP resolution.

:!: If you use a LAN bridge, modify that.

Interfaces → etherN → General → ARP → Proxy-ARP

networking/router/mikrotik_vpn_l2tp.txt · Last modified: 2019/08/14 14:13 by gcooper