Changes between Version 2 and Version 3 of VPN


Ignore:
Timestamp:
01/18/25 01:35:23 (5 weeks ago)
Author:
krit
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VPN

    v2 v3  
    6969[root@Bluefin ppp]#
    7070}}}
     71
     72== xl2tp-client with out IPsec ==
     73package to install
     74{{{
     75sudo apt install xl2tpd ppp
     76}}}
     77configure /etc/xl2tpd/xl2tpd.conf
     78{{{
     79root b2 xl2tpd # cat /etc/xl2tpd/xl2tpd.conf
     80[global]
     81access control = no
     82auth file = /etc/ppp/chap-secrets
     83debug avp = no
     84debug network = no
     85debug packet = no
     86debug state = no
     87;debug tunnel = no[lac “lns name you specified on the server”]
     88
     89[lac vpnMikrotik]
     90lns = 159.65.10.52
     91require chap = yes
     92require authentication = yes
     93ppp debug = yes
     94pppoptfile = /etc/ppp/options.xl2tpd
     95require pap = no
     96name = user1
     97root b2 xl2tpd #
     98}}}
     99config /etc/ppp/options.xl2tpd
     100{{{
     101root b2 ppp # cat /etc/ppp/options.xl2tpd
     102ipcp-accept-local
     103ipcp-accept-remote
     104refuse-eap
     105require-mschap-v2
     106noccp
     107noauth
     108idle 1800
     109mtu 1410
     110mru 1410
     111defaultroute
     112usepeerdns
     113debug
     114connect-delay 5000
     115name vpn_user
     116password vpn_password
     117
     118root b2 ppp #
     119}}}