L2TP VPN Guide

Tested using GL-MT300N-V2 ver.4.3.18

  1. Install xl2tpd
  2. Reboot device
  3. Open LuCI console.gl-inet.com/cgi-bin/luci
  4. Create network interface of type L2TP
  5. Set L2TP Server IP address (not host name), login and password
  6. Set firewall zone => wan (needed for masquerading)
  7. Use default gateway = YES
  8. Use gateway metic = 20
  9. Networking => Routing => add static route to VPN server through WAN interface
  10. Edit wan interface, don't use default gateway
  11. Use gateway metric = 50
  12. Save, apply, reboot

Note: this guide doesn't cover IPsec.

2 Likes