• How to setup L2TP over IPSec VPN server (Ubuntu 16.04 – 20.04)

    How to setup L2TP over IPSec VPN server (Ubuntu 16.04)

    # (optional, need to check ) apt-get install ppp libgmp3-dev bison flex

    Edit /etc/ipsec.conf

    Edit /etc/ipsec.secrets

    Edit /etc/ppp/options.xl2tpd

    Edit /etc/xl2tpd/xl2tpd.conf

    And finally add password to the /etc/ppp/chap-secrets file

    Everything should work fine!

    Upd. 2022.01