Changes between Version 3 and Version 4 of VPN


Ignore:
Timestamp:
01/18/25 01:43:52 (5 weeks ago)
Author:
krit
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VPN

    v3 v4  
    7575sudo apt install xl2tpd ppp
    7676}}}
    77 configure /etc/xl2tpd/xl2tpd.conf
     77
     781. configure /etc/xl2tpd/xl2tpd.conf
    7879{{{
    79 root b2 xl2tpd # cat /etc/xl2tpd/xl2tpd.conf
     80[root b2 xl2tpd ]# cat /etc/xl2tpd/xl2tpd.conf
    8081[global]
    8182access control = no
     
    9798root b2 xl2tpd #
    9899}}}
    99 config /etc/ppp/options.xl2tpd
     100
     1012.config /etc/ppp/options.xl2tpd
    100102{{{
    101 root b2 ppp # cat /etc/ppp/options.xl2tpd
     103[root b2 ppp ]# cat /etc/ppp/options.xl2tpd
    102104ipcp-accept-local
    103105ipcp-accept-remote
     
    116118password vpn_password
    117119
    118 root b2 ppp #
     120[root b2 ppp ]#
    119121}}}
     122
     1233. test l2tp vpn client connection, we should see ppp0 interface up
     124{{{
     125echo "c vpnMikrotik" > /var/run/xl2tpd/l2tp-control
     126}}}
     127for disconnect
     128{{{
     129echo "d vpnMikrotik" > /var/run/xl2tpd/l2tp-control
     130}}}
     131for debug
     132{{{
     133[root b2 ppp ]# journalctl -xeu xl2tpd.service
     134}}}
     135