Category: OpenWRT

  • L2TP in OpenWRT

    #opkg update #opkg install strongswan-full xl2tpd install for module ipsec, if you not using ipsec skip this: #opkg install kmod-crypto-aes kmod-crypto-sha1 kmod-ipsec config xl2tpd: #vi /etc/xl2tpd/xl2tpd.conf [global]port = 1701 [lac mikrotik]lns = IP_MIKROTIKpppoptfile = /etc/ppp/options.l2tplength bit = yes #vi /etc/ppp/options.l2tp name openwrtpassword 123456refuse-eaprequire-chapnoccpnoauthmtu 1460mru 1460persistdefaultrouteusepeerdns open your l2tp port on your openwrt uci add firewall…