Ubuntu Pastebin

Paste from jghjghj at Mon, 6 Feb 2017 12:54:14 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
######/etc/xl2tpd/xl2tpd.conf

port = 1701
auth file = /etc/xl2tpd/l2tp-secrets
access control = no

[lns default]
ip range = 10.152.2.2-10.152.2.254
local ip - 10.152.2.1
hidden bit = no
require chap = yes
refuse pap = yes
refuse authentification = no
require authentification = yes
name = dell_server
ppp debug = yes
pppoptfile = /etc/ppp/options.xl2tpd
flow bit = yes



###/etc/xl2tpd/l2tp-secrets
phone   *       superstrongpassword
test    *       superstrongpassword



####/etc/ppp/options.xl2tpd
refuse-ms-chap-v2
refuse-mschap
ms-dns 8.8.8.8
ms-dns 8.8.4.4
asyncmap 0
auth
crtscts
idle 1800
mtu 1200
mru 1200
lock
hide-password
local
#debug
name l2tpd
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4



###/etc/ppp/chap-secrets
phone           *       superstrongpassword     *
test            *       superstrongpassword     *



systemctl status xl2tpd.service
● xl2tpd.service - LSB: layer 2 tunelling protocol daemon
   Loaded: loaded (/etc/init.d/xl2tpd)
   Active: failed (Result: exit-code) since Mon 2017-02-06 15:50:28 MSK; 3min 40s ago
  Process: 7180 ExecStop=/etc/init.d/xl2tpd stop (code=exited, status=0/SUCCESS)
  Process: 11142 ExecStart=/etc/init.d/xl2tpd start (code=exited, status=1/FAILURE)

Feb 06 15:50:28 dell_server systemd[1]: xl2tpd.service: control process exited, code=exited status=1
Feb 06 15:50:28 dell_server systemd[1]: Failed to start LSB: layer 2 tunelling protocol daemon.
Feb 06 15:50:28 dell_server systemd[1]: Unit xl2tpd.service entered failed state.
Feb 06 15:50:28 dell_server xl2tpd[11142]: Starting xl2tpd:
Download as text