-
Notifications
You must be signed in to change notification settings - Fork 0
/
install-xl2tpd.html
102 lines (98 loc) · 55.8 KB
/
install-xl2tpd.html
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<html class="notion-html" lang="en"><head><meta charset="utf-8"/><meta content="width=device-width,height=device-height,initial-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover" name="viewport"/><title>[INSTALL] xl2tpd</title><meta content="en_US" property="og:locale"/><link href="/images/favicon.ico" rel="shortcut icon" type="image/x-icon"/><link href="/images/logo-ios.png" rel="apple-touch-icon"/><meta content="yes" name="apple-mobile-web-app-capable"/><meta content="telephone=no" name="format-detection"/><meta content="no" name="msapplication-tap-highlight"/><link href="4c758603f1604611142662f0ddecadcb583394b5.css" media="print" rel="stylesheet"/><link href="e1d809d762eeca23edf0cb31bb17bf3c703085f5.css" rel="stylesheet"/><link href="6cb5ab61248391df951f5ce1297730fc4d573f46.css" rel="stylesheet"/></head><body class="notion-body"><style>body{background:#fff}body.dark{background:#2f3437}.initial-loading-spinner{-webkit-animation:rotate 1s linear infinite;animation:rotate 1s linear infinite;-webkit-transform-origin:center center;transform-origin:center center;width:1em;height:1em;opacity:.5;display:block;pointer-events:none}@-webkit-keyframes rotate{0%{-webkit-transform:rotate(0) translateZ(0);transform:rotate(0) translateZ(0)}100%{-webkit-transform:rotate(360deg) translateZ(0);transform:rotate(360deg) translateZ(0)}}@keyframes rotate{0%{-webkit-transform:rotate(0) translateZ(0);transform:rotate(0) translateZ(0)}100%{-webkit-transform:rotate(360deg) translateZ(0);transform:rotate(360deg) translateZ(0)}}</style><style id="scroll-properties">
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar {
background: transparent;
}
::-webkit-scrollbar-track {
background: #EDECE9;
}
::-webkit-scrollbar-thumb {
background:#D3D1CB;
}
::-webkit-scrollbar-thumb:hover {
background:#AEACA6;
}
</style><div id="notion-app"><div class="notion-app-inner notion-light-theme" style='color: rgb(55, 53, 47); fill: currentcolor; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; -webkit-font-smoothing: auto;'><div class="notion-cursor-listener" style="width: 100vw; height: 100%; position: relative; display: flex; flex: 1 1 0%; background: white; cursor: text;"><div class="notion-frame" style="flex-grow: 1; flex-shrink: 1; display: flex; flex-direction: column; background: white; z-index: 1; height: 100vh; max-height: 100%; width: 1920px;"><div style="width: 100%; max-width: 100vw; z-index: 9;"><div class="notion-topbar" style="width: 100%; max-width: 100vw; height: 45px; opacity: 1; transition: opacity 700ms ease 0s, color 700ms ease 0s; position: relative;"><div style="display: flex; justify-content: space-between; align-items: center; position: absolute; overflow: hidden; height: 45px; left: 0px; right: 0px; bottom: 0px; padding-left: 12px; padding-right: 10px;"><div class="notranslate" style="display: flex; align-items: center; line-height: 1.2; font-size: 14px; height: 100%; flex-grow: 0; margin-right: 8px; min-width: 0px;"><div class="notion-selectable notion-page-block" data-block-id="2e334e86-f4db-4870-b0f8-c0eb5d9e308d" style="display: flex; align-items: center; min-width: 0px;"><a href="index.html" rel="noopener noreferrer" style="display: flex; text-decoration: none; user-select: none; cursor: pointer; color: inherit; min-width: 0px;"><div class="" role="button" style="user-select: none; transition: background 20ms ease-in 0s; cursor: pointer; display: inline-flex; align-items: center; flex-shrink: 1; white-space: nowrap; height: 24px; border-radius: 3px; font-size: inherit; line-height: 1.2; min-width: 0px; padding-left: 6px; padding-right: 6px; color: rgb(55, 53, 47);" tabindex="0"><div style="display: flex; align-items: center; min-width: 0px;"><div aria-disabled="true" class="notion-record-icon notranslate" role="button" style="user-select: none; transition: background 20ms ease-in 0s; display: flex; align-items: center; justify-content: center; height: 20px; width: 20px; border-radius: 3px; flex-shrink: 0; margin-right: 6px;" tabindex="-1"><div style="display: flex; align-items: center; justify-content: center; height: 20px; width: 20px;"><div style="height: 14px; width: 14px; font-size: 14px; line-height: 1.1; margin-left: 0px; color: black;"><img alt="⚙️" aria-label="⚙️" class="notion-emoji" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" style="width: 100%;
height: 100%;
background: url(9a8c947f139c3e6c1d3d11e3f0ecbc261719de6f.png) 94.6429% 83.9286%/5700% 5700%"/></div></div></div><div class="notranslate" style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px;">USEFUL CMD</div></div></div></a></div><span style="margin-left: 2px; margin-right: 2px; color: rgba(55, 53, 47, 0.4);">/</span><div aria-disabled="true" class="" role="button" style="user-select: none; transition: background 20ms ease-in 0s; display: inline-flex; align-items: center; flex-shrink: 1; white-space: nowrap; height: 24px; border-radius: 3px; font-size: 14px; line-height: 1.2; min-width: 0px; padding-left: 6px; padding-right: 6px; color: rgb(55, 53, 47);" tabindex="-1"><div class="notranslate" style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px;">[INSTALL] xl2tpd</div></div></div><div style="flex-grow: 1; flex-shrink: 1;"></div><div class="" role="button" style="user-select: none; transition: background 20ms ease-in 0s; cursor: pointer; display: inline-flex; align-items: center; flex-shrink: 0; white-space: nowrap; height: 28px; border-radius: 3px; font-size: 14px; line-height: 1.2; min-width: 0px; padding-left: 8px; padding-right: 8px; color: rgb(55, 53, 47);" tabindex="0"><svg class="searchNew" style="width: 14px; height: 14px; display: block; fill: inherit; flex-shrink: 0; backface-visibility: hidden; margin-right: 6px;" viewbox="0 0 17 17"><path d="M6.78027 13.6729C8.24805 13.6729 9.60156 13.1982 10.709 12.4072L14.875 16.5732C15.0684 16.7666 15.3232 16.8633 15.5957 16.8633C16.167 16.8633 16.5713 16.4238 16.5713 15.8613C16.5713 15.5977 16.4834 15.3516 16.29 15.1582L12.1504 11.0098C13.0205 9.86719 13.5391 8.45215 13.5391 6.91406C13.5391 3.19629 10.498 0.155273 6.78027 0.155273C3.0625 0.155273 0.0214844 3.19629 0.0214844 6.91406C0.0214844 10.6318 3.0625 13.6729 6.78027 13.6729ZM6.78027 12.2139C3.87988 12.2139 1.48047 9.81445 1.48047 6.91406C1.48047 4.01367 3.87988 1.61426 6.78027 1.61426C9.68066 1.61426 12.0801 4.01367 12.0801 6.91406C12.0801 9.81445 9.68066 12.2139 6.78027 12.2139Z"></path></svg>Search</div><div style="flex: 0 0 auto; width: 1px; height: 16px; margin-left: 8px; margin-right: 8px; background: rgba(55, 53, 47, 0.16);"></div><div class="" role="button" style="user-select: none; transition: background 20ms ease-in 0s; cursor: pointer; display: inline-flex; align-items: center; flex-shrink: 0; white-space: nowrap; height: 28px; border-radius: 3px; font-size: 14px; line-height: 1.2; min-width: 0px; padding-left: 8px; padding-right: 8px; color: rgb(55, 53, 47);" tabindex="0"><svg class="notionLogo" style="width: 18px; height: 18px; display: block; fill: inherit; flex-shrink: 0; backface-visibility: hidden; margin-right: 6px;" viewbox="0 0 120 126"><path d="M 20.6927 21.9315C 24.5836 25.0924 26.0432 24.8512 33.3492 24.3638L 102.228 20.2279C 103.689 20.2279 102.474 18.7705 101.987 18.5283L 90.5477 10.2586C 88.3558 8.55699 85.4356 6.60818 79.8387 7.09563L 13.1433 11.9602C 10.711 12.2014 10.2251 13.4175 11.1939 14.3924L 20.6927 21.9315ZM 24.8281 37.9835L 24.8281 110.456C 24.8281 114.351 26.7745 115.808 31.1553 115.567L 106.853 111.187C 111.236 110.946 111.724 108.267 111.724 105.103L 111.724 33.1169C 111.724 29.958 110.509 28.2544 107.826 28.4976L 28.721 33.1169C 25.8018 33.3622 24.8281 34.8225 24.8281 37.9835ZM 99.5567 41.8711C 100.042 44.0622 99.5567 46.2512 97.3618 46.4974L 93.7143 47.2241L 93.7143 100.728C 90.5477 102.43 87.6275 103.403 85.1942 103.403C 81.2983 103.403 80.3226 102.186 77.4044 98.54L 53.5471 61.087L 53.5471 97.3239L 61.0964 99.0275C 61.0964 99.0275 61.0964 103.403 55.0057 103.403L 38.2148 104.377C 37.727 103.403 38.2148 100.973 39.9179 100.486L 44.2996 99.2717L 44.2996 51.36L 38.2158 50.8725C 37.728 48.6815 38.9431 45.5225 42.3532 45.2773L 60.3661 44.0631L 85.1942 82.0036L 85.1942 48.4402L 78.864 47.7136C 78.3781 45.0351 80.3226 43.0902 82.7569 42.849L 99.5567 41.8711ZM 7.5434 5.39404L 76.9175 0.285276C 85.4366 -0.445402 87.6285 0.0440428 92.983 3.93368L 115.128 19.4982C 118.782 22.1747 120 22.9034 120 25.8211L 120 111.187C 120 116.537 118.051 119.701 111.237 120.185L 30.6734 125.05C 25.5584 125.294 23.124 124.565 20.4453 121.158L 4.13735 99.9994C 1.21516 96.1048 0 93.191 0 89.7819L 0 13.903C 0 9.5279 1.94945 5.8785 7.5434 5.39404Z"></path></svg>Notion</div></div></div><div style="width: 100%; user-select: none;"></div></div><div class="notion-scroller vertical horizontal" style="display: flex; flex-direction: column; z-index: 1; flex-grow: 1; position: relative; align-items: center; overflow: auto; margin-right: 0px; margin-bottom: 0px;"><div style="width: 100%; display: flex; flex-direction: column; align-items: center; flex-shrink: 0; flex-grow: 0;"><div style="padding-left: calc(96px + env(safe-area-inset-left)); padding-right: calc(96px + env(safe-area-inset-right)); max-width: 100%; width: 100%;"><div class="notion-page-controls" style='display: flex; justify-content: flex-start; flex-wrap: wrap; margin-top: 80px; margin-bottom: 4px; margin-left: -1px; color: rgba(55, 53, 47, 0.4); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; height: 24px;'></div><div class="notion-selectable notion-page-block" data-block-id="fa15534d-e600-4734-b8bc-1102e342f47a" style='color: rgb(55, 53, 47); font-weight: 700; line-height: 1.2; font-size: 40px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; cursor: text; display: flex; align-items: center;'><div class="" contenteditable="false" data-root="true" placeholder="Untitled" spellcheck="true" style="max-width: 100%; width: 100%; white-space: pre-wrap; word-break: break-word; caret-color: rgb(55, 53, 47); padding: 3px 2px;">[INSTALL] xl2tpd</div></div></div></div><div style="width: 100%; display: flex; flex-direction: column; align-items: center; flex-shrink: 0; flex-grow: 0;"><div style="padding-left: calc(96px + env(safe-area-inset-left)); padding-right: calc(96px + env(safe-area-inset-right)); max-width: 100%; width: 100%;"><div class="notion-page-details-controls" style='display: flex; align-items: baseline; justify-content: flex-start; flex-wrap: wrap; color: rgba(55, 53, 47, 0.4); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; padding-bottom: 20px;'></div></div></div><div class="notion-page-content" style="flex-shrink: 0; flex-grow: 1; width: 100%; max-width: 100%; display: flex; align-items: center; flex-direction: column; font-size: 16px; line-height: 1.5; color: rgb(55, 53, 47); padding-left: calc(96px + env(safe-area-inset-left)); padding-right: calc(96px + env(safe-area-inset-right)); padding-bottom: 30vh;"><div class="notion-selectable notion-text-block" data-block-id="5502c8c5-833d-4b3f-8a08-6ad4858459a6" style="width: 100%; max-width: 1713px; margin-top: 2px; margin-bottom: 1px;"><div style="color: inherit; fill: inherit;"><div style="display: flex;"><div class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="true" style="max-width: 100%; width: 100%; white-space: pre-wrap; word-break: break-word; caret-color: rgb(55, 53, 47); padding: 3px 2px;">Usefull docs:</div></div></div></div><div class="notion-selectable notion-text-block" data-block-id="15c36790-d5d9-440c-99cf-394f290c68ab" style="width: 100%; max-width: 1713px; margin-top: 1px; margin-bottom: 1px;"><div style="color: inherit; fill: inherit;"><div style="display: flex;"><div class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="true" style="max-width: 100%; width: 100%; white-space: pre-wrap; word-break: break-word; caret-color: rgb(55, 53, 47); padding: 3px 2px;"><a class="notion-link-token notion-enable-hover" data-token-index="0" href="https://linux.die.net/man/5/xl2tpd.conf" rel="noopener noreferrer" style="cursor:pointer;color:inherit;word-wrap:break-word;text-decoration:inherit" target="_blank"><span style="border-bottom:0.05em solid;border-color:rgba(55,53,47,0.4);opacity:0.7">https://linux.die.net/man/5/xl2tpd.conf</span></a>
<a class="notion-link-token notion-enable-hover" data-token-index="2" href="https://ppp.samba.org/pppd.html" rel="noopener noreferrer" style="cursor:pointer;color:inherit;word-wrap:break-word;text-decoration:inherit" target="_blank"><span style="border-bottom:0.05em solid;border-color:rgba(55,53,47,0.4);opacity:0.7">https://ppp.samba.org/pppd.html</span></a> </div></div></div></div><div class="notion-selectable notion-text-block" data-block-id="f138e026-9ab3-4bf0-a897-3845a32faa13" style="width: 100%; max-width: 1713px; margin-top: 1px; margin-bottom: 1px;"><div style="color: inherit; fill: inherit;"><div style="display: flex;"><div class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="true" style="max-width: 100%; width: 100%; white-space: pre-wrap; word-break: break-word; caret-color: rgb(55, 53, 47); padding: 3px 2px;"><a class="notion-link-token notion-enable-hover" data-token-index="0" href="https://www.altlinux.org/L2TP_VPN_Client_Server" rel="noopener noreferrer" style="cursor:pointer;color:inherit;word-wrap:break-word;text-decoration:inherit" target="_blank"><span style="border-bottom:0.05em solid;border-color:rgba(55,53,47,0.4);opacity:0.7">https://www.altlinux.org/L2TP_VPN_Client_Server</span></a></div></div></div></div><div class="notion-selectable notion-text-block" data-block-id="210c7de1-2962-4bca-94b5-c663332275f9" style="width: 100%; max-width: 1713px; margin-top: 1px; margin-bottom: 1px;"><div style="color: inherit; fill: inherit;"><div style="display: flex;"><div class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="true" style="max-width: 100%; width: 100%; white-space: pre-wrap; word-break: break-word; caret-color: rgb(55, 53, 47); padding: 3px 2px;"><a class="notion-link-token notion-enable-hover" data-token-index="0" href="https://wiki.archlinux.org/index.php/Openswan_L2TP/IPsec_VPN_client_setup" rel="noopener noreferrer" style="cursor:pointer;color:inherit;word-wrap:break-word;text-decoration:inherit" target="_blank"><span style="border-bottom:0.05em solid;border-color:rgba(55,53,47,0.4);opacity:0.7">https://wiki.archlinux.org/index.php/Openswan_L2TP/IPsec_VPN_client_setup</span></a>
<a class="notion-link-token notion-enable-hover" data-token-index="2" href="https://github.com/jabas06/l2tp-ipsec-vpn-client" rel="noopener noreferrer" style="cursor:pointer;color:inherit;word-wrap:break-word;text-decoration:inherit" target="_blank"><span style="border-bottom:0.05em solid;border-color:rgba(55,53,47,0.4);opacity:0.7">https://github.com/jabas06/l2tp-ipsec-vpn-client</span></a></div></div></div></div><div class="notion-selectable notion-text-block" data-block-id="4371fd3c-1a1d-4afa-8322-49c96d2a3807" style="width: 100%; max-width: 1713px; margin-top: 1px; margin-bottom: 1px;"><div style="color: inherit; fill: inherit;"><div style="display: flex;"><div class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="true" style="max-width: 100%; width: 100%; white-space: pre-wrap; word-break: break-word; caret-color: rgb(55, 53, 47); padding: 3px 2px; min-height: 1em; color: rgb(55, 53, 47); -webkit-text-fill-color: rgba(55, 53, 47, 0.4);"></div></div></div></div><div class="notion-selectable notion-text-block" data-block-id="0658ff00-2533-4264-8b0c-17c8506f091b" style="width: 100%; max-width: 1713px; margin-top: 1px; margin-bottom: 1px;"><div style="color: inherit; fill: inherit;"><div style="display: flex;"><div class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="true" style="max-width: 100%; width: 100%; white-space: pre-wrap; word-break: break-word; caret-color: rgb(55, 53, 47); padding: 3px 2px;">Install:</div></div></div></div><div class="notion-selectable notion-code-block" data-block-id="eb825a0d-0f70-4ce1-ba66-943207776f73" style="width: 100%; max-width: 1713px; margin-top: 4px; margin-bottom: 4px;"><div style="display: flex;"><div style="flex-grow: 1; border-radius: 3px; text-align: left; position: relative; background: rgb(247, 246, 243); min-width: 0px; width: 100%;"><div class="line-numbers notion-code-block" style="display: flex;"><div autocapitalize="off" autocorrect="off" class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="false" style='flex-grow: 1; flex-shrink: 1; text-align: left; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 85%; tab-size: 2; padding: 34px 16px 32px 32px; min-height: 1em; color: rgb(55, 53, 47); white-space: pre-wrap; word-break: break-all; min-width: 0px;'><span class="token function" data-token-index="0">sudo</span><span data-token-index="0"> </span><span class="token function" data-token-index="0">apt-get</span><span data-token-index="0"> -y </span><span class="token function" data-token-index="0">install</span><span data-token-index="0"> ipsec xl2tpd</span><span>
</span></div></div><div style="position: absolute; top: 3px; right: 1px; color: rgba(55, 53, 47, 0.6); display: flex; align-items: center; justify-content: flex-end; height: 25px; font-size: 11.5px; opacity: 0; transition: opacity 300ms ease-in 0s;"></div><div style="position: absolute; top: 8px; left: 8px; color: rgba(55, 53, 47, 0.6); display: flex; align-items: center; justify-content: flex-end; opacity: 0; transition: opacity 300ms ease-in 0s;"><div aria-disabled="true" class="" role="button" style="user-select: none; transition: background 20ms ease-in 0s; display: inline-flex; align-items: center; white-space: nowrap; height: 20px; border-radius: 3px; font-size: 12px; line-height: 1.2; padding-left: 5px; padding-right: 5px; color: rgba(55, 53, 47, 0.6); margin-right: 5px;" tabindex="-1">Bash<svg class="chevronDown" style="width: 10px; height: 100%; display: block; fill: rgba(55, 53, 47, 0.3); flex-shrink: 0; backface-visibility: hidden; margin-left: 4px;" viewbox="0 0 30 30"><polygon points="15,17.4 4.8,7 2,9.8 15,23 28,9.8 25.2,7 "></polygon></svg></div></div><div style="background: white; padding-right: 105px;"></div></div></div></div><div class="notion-selectable notion-text-block" data-block-id="198a5ae7-d343-4961-b131-19309e6d5c4a" style="width: 100%; max-width: 1713px; margin-top: 1px; margin-bottom: 1px;"><div style="color: inherit; fill: inherit;"><div style="display: flex;"><div class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="true" style="max-width: 100%; width: 100%; white-space: pre-wrap; word-break: break-word; caret-color: rgb(55, 53, 47); padding: 3px 2px;">xl2tpd can be also downloaded <a class="notion-link-token notion-enable-hover" data-token-index="1" href="https://github.com/xelerance/xl2tpd/releases" rel="noopener noreferrer" style="cursor:pointer;color:inherit;word-wrap:break-word;text-decoration:inherit" target="_blank"><span style="border-bottom:0.05em solid;border-color:rgba(55,53,47,0.4);opacity:0.7">here</span></a>. Compile and install with dependency lib:</div></div></div></div><div class="notion-selectable notion-code-block" data-block-id="2baad34b-20c0-452e-8d77-12d0a6385327" style="width: 100%; max-width: 1713px; margin-top: 4px; margin-bottom: 4px;"><div style="display: flex;"><div style="flex-grow: 1; border-radius: 3px; text-align: left; position: relative; background: rgb(247, 246, 243); min-width: 0px; width: 100%;"><div class="line-numbers notion-code-block" style="display: flex;"><div autocapitalize="off" autocorrect="off" class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="false" style='flex-grow: 1; flex-shrink: 1; text-align: left; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 85%; tab-size: 2; padding: 34px 16px 32px 32px; min-height: 1em; color: rgb(55, 53, 47); white-space: pre-wrap; word-break: break-all; min-width: 0px;'><span class="token function" data-token-index="0">sudo</span><span data-token-index="0"> </span><span class="token function" data-token-index="0">apt</span><span data-token-index="0"> </span><span class="token function" data-token-index="0">install</span><span data-token-index="0"> libpcap0.8-dev
</span><span class="token function" data-token-index="0">make</span><span data-token-index="0"> </span><span class="token operator" data-token-index="0">&&</span><span data-token-index="0"> </span><span class="token function" data-token-index="0">make</span><span data-token-index="0"> </span><span class="token function" data-token-index="0">install</span><span>
</span></div></div><div style="position: absolute; top: 3px; right: 1px; color: rgba(55, 53, 47, 0.6); display: flex; align-items: center; justify-content: flex-end; height: 25px; font-size: 11.5px; opacity: 0; transition: opacity 300ms ease-in 0s;"></div><div style="position: absolute; top: 8px; left: 8px; color: rgba(55, 53, 47, 0.6); display: flex; align-items: center; justify-content: flex-end; opacity: 0; transition: opacity 300ms ease-in 0s;"><div aria-disabled="true" class="" role="button" style="user-select: none; transition: background 20ms ease-in 0s; display: inline-flex; align-items: center; white-space: nowrap; height: 20px; border-radius: 3px; font-size: 12px; line-height: 1.2; padding-left: 5px; padding-right: 5px; color: rgba(55, 53, 47, 0.6); margin-right: 5px;" tabindex="-1">Bash<svg class="chevronDown" style="width: 10px; height: 100%; display: block; fill: rgba(55, 53, 47, 0.3); flex-shrink: 0; backface-visibility: hidden; margin-left: 4px;" viewbox="0 0 30 30"><polygon points="15,17.4 4.8,7 2,9.8 15,23 28,9.8 25.2,7 "></polygon></svg></div></div><div style="background: white; padding-right: 105px;"></div></div></div></div><div class="notion-selectable notion-text-block" data-block-id="82e9510a-705a-408b-b495-b407b5f83575" style="width: 100%; max-width: 1713px; margin-top: 1px; margin-bottom: 1px;"><div style="color: inherit; fill: inherit;"><div style="display: flex;"><div class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="true" style="max-width: 100%; width: 100%; white-space: pre-wrap; word-break: break-word; caret-color: rgb(55, 53, 47); padding: 3px 2px;">Create <span data-token-index="1" spellcheck="false" style='font-family:"SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;line-height:normal;background:rgba(135,131,120,0.15);color:#EB5757;border-radius:3px;font-size:85%;padding:0.2em 0.4em'>/etc/systemd/system/xl2tpd.service</span></div></div></div></div><div class="notion-selectable notion-code-block" data-block-id="7b25e304-c2c4-4a9c-9906-8fdb8023e05b" style="width: 100%; max-width: 1713px; margin-top: 4px; margin-bottom: 4px;"><div style="display: flex;"><div style="flex-grow: 1; border-radius: 3px; text-align: left; position: relative; background: rgb(247, 246, 243); min-width: 0px; width: 100%;"><div class="line-numbers notion-code-block" style="display: flex;"><div autocapitalize="off" autocorrect="off" class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="false" style='flex-grow: 1; flex-shrink: 1; text-align: left; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 85%; tab-size: 2; padding: 34px 16px 32px 32px; min-height: 1em; color: rgb(55, 53, 47); white-space: pre-wrap; word-break: break-all; min-width: 0px;'><span class="token punctuation" data-token-index="0">[</span><span data-token-index="0">Unit</span><span class="token punctuation" data-token-index="0">]</span><span data-token-index="0">
</span><span class="token assign-left variable" data-token-index="0">Description</span><span class="token operator" data-token-index="0">=</span><span data-token-index="0">Level </span><span class="token number" data-token-index="0">2</span><span data-token-index="0"> Tunnel Protocol Daemon </span><span class="token punctuation" data-token-index="0">(</span><span data-token-index="0">L2TP</span><span class="token punctuation" data-token-index="0">)</span><span data-token-index="0">
</span><span class="token assign-left variable" data-token-index="0">After</span><span class="token operator" data-token-index="0">=</span><span data-token-index="0">syslog.target network.target strongswan.service ipsec.service
</span><span class="token punctuation" data-token-index="0">[</span><span data-token-index="0">Service</span><span class="token punctuation" data-token-index="0">]</span><span data-token-index="0">
</span><span class="token assign-left variable" data-token-index="0">Type</span><span class="token operator" data-token-index="0">=</span><span data-token-index="0">simple
</span><span class="token assign-left variable" data-token-index="0">PIDFile</span><span class="token operator" data-token-index="0">=</span><span data-token-index="0">/var/run/xl2tpd/xl2tpd.pid
</span><span class="token assign-left variable" data-token-index="0">ExecStartPre</span><span class="token operator" data-token-index="0">=</span><span data-token-index="0">-/bin/mkdir /var/run/xl2tpd/
</span><span class="token assign-left variable" data-token-index="0">ExecStartPre</span><span class="token operator" data-token-index="0">=</span><span data-token-index="0">-/usr/bin/touch /var/run/xl2tpd/l2tp-control
</span><span class="token assign-left variable" data-token-index="0">ExecStart</span><span class="token operator" data-token-index="0">=</span><span data-token-index="0">/usr/local/sbin/xl2tpd -D
</span><span class="token assign-left variable" data-token-index="0">Restart</span><span class="token operator" data-token-index="0">=</span><span data-token-index="0">on-abort
</span><span class="token punctuation" data-token-index="0">[</span><span data-token-index="0">Install</span><span class="token punctuation" data-token-index="0">]</span><span data-token-index="0">
</span><span class="token assign-left variable" data-token-index="0">WantedBy</span><span class="token operator" data-token-index="0">=</span><span data-token-index="0">multi-user.target</span><span>
</span></div></div><div style="position: absolute; top: 3px; right: 1px; color: rgba(55, 53, 47, 0.6); display: flex; align-items: center; justify-content: flex-end; height: 25px; font-size: 11.5px; opacity: 0; transition: opacity 300ms ease-in 0s;"></div><div style="position: absolute; top: 8px; left: 8px; color: rgba(55, 53, 47, 0.6); display: flex; align-items: center; justify-content: flex-end; opacity: 0; transition: opacity 300ms ease-in 0s;"><div aria-disabled="true" class="" role="button" style="user-select: none; transition: background 20ms ease-in 0s; display: inline-flex; align-items: center; white-space: nowrap; height: 20px; border-radius: 3px; font-size: 12px; line-height: 1.2; padding-left: 5px; padding-right: 5px; color: rgba(55, 53, 47, 0.6); margin-right: 5px;" tabindex="-1">Bash<svg class="chevronDown" style="width: 10px; height: 100%; display: block; fill: rgba(55, 53, 47, 0.3); flex-shrink: 0; backface-visibility: hidden; margin-left: 4px;" viewbox="0 0 30 30"><polygon points="15,17.4 4.8,7 2,9.8 15,23 28,9.8 25.2,7 "></polygon></svg></div></div><div style="background: white; padding-right: 105px;"></div></div></div></div><div class="notion-selectable notion-text-block" data-block-id="3ea4b45f-8e72-4e0a-b55b-b40f6d29f3bf" style="width: 100%; max-width: 1713px; margin-top: 1px; margin-bottom: 1px;"><div style="color: inherit; fill: inherit;"><div style="display: flex;"><div class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="true" style="max-width: 100%; width: 100%; white-space: pre-wrap; word-break: break-word; caret-color: rgb(55, 53, 47); padding: 3px 2px;">Append to <span data-token-index="1" spellcheck="false" style='font-family:"SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;line-height:normal;background:rgba(135,131,120,0.15);color:#EB5757;border-radius:3px;font-size:85%;padding:0.2em 0.4em'>/etc/ipsec.conf</span></div></div></div></div><div class="notion-selectable notion-code-block" data-block-id="6b32f5aa-4e45-4748-8162-2bb1c3140573" style="width: 100%; max-width: 1713px; margin-top: 4px; margin-bottom: 4px;"><div style="display: flex;"><div style="flex-grow: 1; border-radius: 3px; text-align: left; position: relative; background: rgb(247, 246, 243); min-width: 0px; width: 100%;"><div class="line-numbers notion-code-block" style="display: flex;"><div autocapitalize="off" autocorrect="off" class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="false" style='flex-grow: 1; flex-shrink: 1; text-align: left; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 85%; tab-size: 2; padding: 34px 16px 32px 32px; min-height: 1em; color: rgb(55, 53, 47); white-space: pre-wrap; word-break: break-all; min-width: 0px;'><span data-token-index="0">config setup
conn %default
</span><span class="token assign-left variable" data-token-index="0">ikelifetime</span><span class="token operator" data-token-index="0">=</span><span data-token-index="0">60m
</span><span class="token assign-left variable" data-token-index="0">keylife</span><span class="token operator" data-token-index="0">=</span><span data-token-index="0">20m
</span><span class="token assign-left variable" data-token-index="0">rekeymargin</span><span class="token operator" data-token-index="0">=</span><span data-token-index="0">3m
</span><span class="token assign-left variable" data-token-index="0">keyingtries</span><span class="token operator" data-token-index="0">=</span><span class="token number" data-token-index="0">1</span><span data-token-index="0">
</span><span class="token assign-left variable" data-token-index="0">keyexchange</span><span class="token operator" data-token-index="0">=</span><span data-token-index="0">ikev1
</span><span class="token assign-left variable" data-token-index="0">authby</span><span class="token operator" data-token-index="0">=</span><span data-token-index="0">secret
</span><span class="token assign-left variable" data-token-index="0">ike</span><span class="token operator" data-token-index="0">=</span><span data-token-index="0">aes128-sha1-modp1024,3des-sha1-modp1024</span><span class="token operator" data-token-index="0">!</span><span data-token-index="0">
</span><span class="token assign-left variable" data-token-index="0">esp</span><span class="token operator" data-token-index="0">=</span><span data-token-index="0">aes128-sha1-modp1024,3des-sha1-modp1024</span><span class="token operator" data-token-index="0">!</span><span data-token-index="0">
conn L2TP-PSK
</span><span class="token assign-left variable" data-token-index="0">keyexchange</span><span class="token operator" data-token-index="0">=</span><span data-token-index="0">ikev1
</span><span class="token assign-left variable" data-token-index="0">left</span><span class="token operator" data-token-index="0">=</span><span data-token-index="0">%any
</span><span class="token assign-left variable" data-token-index="0">auto</span><span class="token operator" data-token-index="0">=</span><span data-token-index="0">add
</span><span class="token assign-left variable" data-token-index="0">authby</span><span class="token operator" data-token-index="0">=</span><span data-token-index="0">secret
</span><span class="token assign-left variable" data-token-index="0">type</span><span class="token operator" data-token-index="0">=</span><span data-token-index="0">transport
</span><span class="token assign-left variable" data-token-index="0">leftprotoport</span><span class="token operator" data-token-index="0">=</span><span class="token number" data-token-index="0">17</span><span data-token-index="0">/1701
</span><span class="token assign-left variable" data-token-index="0">rightprotoport</span><span class="token operator" data-token-index="0">=</span><span class="token number" data-token-index="0">17</span><span data-token-index="0">/1701
</span><span class="token assign-left variable" data-token-index="0">right</span><span class="token operator" data-token-index="0">=</span><span class="token number" data-token-index="0">12.34</span><span data-token-index="0">.56.78</span><span>
</span></div></div><div style="position: absolute; top: 3px; right: 1px; color: rgba(55, 53, 47, 0.6); display: flex; align-items: center; justify-content: flex-end; height: 25px; font-size: 11.5px; opacity: 0; transition: opacity 300ms ease-in 0s;"></div><div style="position: absolute; top: 8px; left: 8px; color: rgba(55, 53, 47, 0.6); display: flex; align-items: center; justify-content: flex-end; opacity: 0; transition: opacity 300ms ease-in 0s;"><div aria-disabled="true" class="" role="button" style="user-select: none; transition: background 20ms ease-in 0s; display: inline-flex; align-items: center; white-space: nowrap; height: 20px; border-radius: 3px; font-size: 12px; line-height: 1.2; padding-left: 5px; padding-right: 5px; color: rgba(55, 53, 47, 0.6); margin-right: 5px;" tabindex="-1">Bash<svg class="chevronDown" style="width: 10px; height: 100%; display: block; fill: rgba(55, 53, 47, 0.3); flex-shrink: 0; backface-visibility: hidden; margin-left: 4px;" viewbox="0 0 30 30"><polygon points="15,17.4 4.8,7 2,9.8 15,23 28,9.8 25.2,7 "></polygon></svg></div></div><div style="background: white; padding-right: 105px;"></div></div></div></div><div class="notion-selectable notion-text-block" data-block-id="a184a8bc-409f-4d9a-84ca-0ea2104a160f" style="width: 100%; max-width: 1713px; margin-top: 1px; margin-bottom: 1px;"><div style="color: inherit; fill: inherit;"><div style="display: flex;"><div class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="true" style="max-width: 100%; width: 100%; white-space: pre-wrap; word-break: break-word; caret-color: rgb(55, 53, 47); padding: 3px 2px;">Append to <span data-token-index="1" spellcheck="false" style='font-family:"SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;line-height:normal;background:rgba(135,131,120,0.15);color:#EB5757;border-radius:3px;font-size:85%;padding:0.2em 0.4em'>/etc/ipsec.secrets</span></div></div></div></div><div class="notion-selectable notion-code-block" data-block-id="0cad25bf-a1e5-4e99-a011-e29318798cc8" style="width: 100%; max-width: 1713px; margin-top: 4px; margin-bottom: 4px;"><div style="display: flex;"><div style="flex-grow: 1; border-radius: 3px; text-align: left; position: relative; background: rgb(247, 246, 243); min-width: 0px; width: 100%;"><div class="line-numbers notion-code-block" style="display: flex;"><div autocapitalize="off" autocorrect="off" class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="false" style='flex-grow: 1; flex-shrink: 1; text-align: left; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 85%; tab-size: 2; padding: 34px 16px 32px 32px; min-height: 1em; color: rgb(55, 53, 47); white-space: pre-wrap; word-break: break-all; min-width: 0px;'><span class="token builtin class-name" data-token-index="0">:</span><span data-token-index="0"> PSK </span><span class="token string" data-token-index="0">"PreSharedKey"</span><span>
</span></div></div><div style="position: absolute; top: 3px; right: 1px; color: rgba(55, 53, 47, 0.6); display: flex; align-items: center; justify-content: flex-end; height: 25px; font-size: 11.5px; opacity: 0; transition: opacity 300ms ease-in 0s;"></div><div style="position: absolute; top: 8px; left: 8px; color: rgba(55, 53, 47, 0.6); display: flex; align-items: center; justify-content: flex-end; opacity: 0; transition: opacity 300ms ease-in 0s;"><div aria-disabled="true" class="" role="button" style="user-select: none; transition: background 20ms ease-in 0s; display: inline-flex; align-items: center; white-space: nowrap; height: 20px; border-radius: 3px; font-size: 12px; line-height: 1.2; padding-left: 5px; padding-right: 5px; color: rgba(55, 53, 47, 0.6); margin-right: 5px;" tabindex="-1">Bash<svg class="chevronDown" style="width: 10px; height: 100%; display: block; fill: rgba(55, 53, 47, 0.3); flex-shrink: 0; backface-visibility: hidden; margin-left: 4px;" viewbox="0 0 30 30"><polygon points="15,17.4 4.8,7 2,9.8 15,23 28,9.8 25.2,7 "></polygon></svg></div></div><div style="background: white; padding-right: 105px;"></div></div></div></div><div class="notion-selectable notion-text-block" data-block-id="543cef8a-94f7-41db-92ae-b5fc7c904fb4" style="width: 100%; max-width: 1713px; margin-top: 1px; margin-bottom: 1px;"><div style="color: inherit; fill: inherit;"><div style="display: flex;"><div class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="true" style="max-width: 100%; width: 100%; white-space: pre-wrap; word-break: break-word; caret-color: rgb(55, 53, 47); padding: 3px 2px;">Append to <span data-token-index="1" spellcheck="false" style='font-family:"SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;line-height:normal;background:rgba(135,131,120,0.15);color:#EB5757;border-radius:3px;font-size:85%;padding:0.2em 0.4em'>/etc/xl2tpd/xl2tpd.conf</span></div></div></div></div><div class="notion-selectable notion-code-block" data-block-id="97644be1-11a0-4a20-961a-8c39c5b5c3ec" style="width: 100%; max-width: 1713px; margin-top: 4px; margin-bottom: 4px;"><div style="display: flex;"><div style="flex-grow: 1; border-radius: 3px; text-align: left; position: relative; background: rgb(247, 246, 243); min-width: 0px; width: 100%;"><div class="line-numbers notion-code-block" style="display: flex;"><div autocapitalize="off" autocorrect="off" class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="false" style='flex-grow: 1; flex-shrink: 1; text-align: left; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 85%; tab-size: 2; padding: 34px 16px 32px 32px; min-height: 1em; color: rgb(55, 53, 47); white-space: pre-wrap; word-break: break-all; min-width: 0px;'><span class="token punctuation" data-token-index="0">[</span><span data-token-index="0">lac ClientName</span><span class="token punctuation" data-token-index="0">]</span><span data-token-index="0">
lns </span><span class="token operator" data-token-index="0">=</span><span data-token-index="0"> </span><span class="token number" data-token-index="0">12.34</span><span data-token-index="0">.56.78
</span><span class="token builtin class-name" data-token-index="0">local</span><span data-token-index="0"> </span><span class="token function" data-token-index="0">ip</span><span data-token-index="0"> </span><span class="token operator" data-token-index="0">=</span><span data-token-index="0"> </span><span class="token number" data-token-index="0">192.168</span><span data-token-index="0">.0.254
redial </span><span class="token operator" data-token-index="0">=</span><span data-token-index="0"> </span><span class="token function" data-token-index="0">yes</span><span data-token-index="0">
redial </span><span class="token function" data-token-index="0">timeout</span><span data-token-index="0"> </span><span class="token operator" data-token-index="0">=</span><span data-token-index="0"> </span><span class="token number" data-token-index="0">15</span><span data-token-index="0">
autodial </span><span class="token operator" data-token-index="0">=</span><span data-token-index="0"> </span><span class="token function" data-token-index="0">yes</span><span data-token-index="0">
ppp debug </span><span class="token operator" data-token-index="0">=</span><span data-token-index="0"> </span><span class="token function" data-token-index="0">yes</span><span data-token-index="0">
pppoptfile </span><span class="token operator" data-token-index="0">=</span><span data-token-index="0"> /etc/ppp/options.l2tpd.ClientName
length bit </span><span class="token operator" data-token-index="0">=</span><span data-token-index="0"> </span><span class="token function" data-token-index="0">yes</span><span>
</span></div></div><div style="position: absolute; top: 3px; right: 1px; color: rgba(55, 53, 47, 0.6); display: flex; align-items: center; justify-content: flex-end; height: 25px; font-size: 11.5px; opacity: 0; transition: opacity 300ms ease-in 0s;"></div><div style="position: absolute; top: 8px; left: 8px; color: rgba(55, 53, 47, 0.6); display: flex; align-items: center; justify-content: flex-end; opacity: 0; transition: opacity 300ms ease-in 0s;"><div aria-disabled="true" class="" role="button" style="user-select: none; transition: background 20ms ease-in 0s; display: inline-flex; align-items: center; white-space: nowrap; height: 20px; border-radius: 3px; font-size: 12px; line-height: 1.2; padding-left: 5px; padding-right: 5px; color: rgba(55, 53, 47, 0.6); margin-right: 5px;" tabindex="-1">Bash<svg class="chevronDown" style="width: 10px; height: 100%; display: block; fill: rgba(55, 53, 47, 0.3); flex-shrink: 0; backface-visibility: hidden; margin-left: 4px;" viewbox="0 0 30 30"><polygon points="15,17.4 4.8,7 2,9.8 15,23 28,9.8 25.2,7 "></polygon></svg></div></div><div style="background: white; padding-right: 105px;"></div></div></div></div><div class="notion-selectable notion-text-block" data-block-id="07565991-b66d-4b7d-afc2-d1612903a5f1" style="width: 100%; max-width: 1713px; margin-top: 1px; margin-bottom: 1px;"><div style="color: inherit; fill: inherit;"><div style="display: flex;"><div class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="true" style="max-width: 100%; width: 100%; white-space: pre-wrap; word-break: break-word; caret-color: rgb(55, 53, 47); padding: 3px 2px;">Create <span data-token-index="1" spellcheck="false" style='font-family:"SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;line-height:normal;background:rgba(135,131,120,0.15);color:#EB5757;border-radius:3px;font-size:85%;padding:0.2em 0.4em'>/etc/ppp/options.l2tpd.ClientName</span></div></div></div></div><div class="notion-selectable notion-code-block" data-block-id="eb1464a3-d488-4169-bcc8-3172dae94160" style="width: 100%; max-width: 1713px; margin-top: 4px; margin-bottom: 4px;"><div style="display: flex;"><div style="flex-grow: 1; border-radius: 3px; text-align: left; position: relative; background: rgb(247, 246, 243); min-width: 0px; width: 100%;"><div class="line-numbers notion-code-block" style="display: flex;"><div autocapitalize="off" autocorrect="off" class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="false" style='flex-grow: 1; flex-shrink: 1; text-align: left; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 85%; tab-size: 2; padding: 34px 16px 32px 32px; min-height: 1em; color: rgb(55, 53, 47); white-space: pre-wrap; word-break: break-all; min-width: 0px;'><span data-token-index="0">ipparam ClientName
ipcp-accept-local
ipcp-accept-remote
refuse-eap
require-mschap-v2
noccp
noauth
logfile /var/log/xl2tpd.log
idle </span><span class="token number" data-token-index="0">1800</span><span data-token-index="0">
mtu </span><span class="token number" data-token-index="0">1500</span><span data-token-index="0">
mru </span><span class="token number" data-token-index="0">1500</span><span data-token-index="0">
nodefaultroute
ipcp-accept-local
ipcp-accept-remote
debug
connect-delay </span><span class="token number" data-token-index="0">5000</span><span data-token-index="0">
name ***
password ***</span><span>
</span></div></div><div style="position: absolute; top: 3px; right: 1px; color: rgba(55, 53, 47, 0.6); display: flex; align-items: center; justify-content: flex-end; height: 25px; font-size: 11.5px; opacity: 0; transition: opacity 300ms ease-in 0s;"></div><div style="position: absolute; top: 8px; left: 8px; color: rgba(55, 53, 47, 0.6); display: flex; align-items: center; justify-content: flex-end; opacity: 0; transition: opacity 300ms ease-in 0s;"><div aria-disabled="true" class="" role="button" style="user-select: none; transition: background 20ms ease-in 0s; display: inline-flex; align-items: center; white-space: nowrap; height: 20px; border-radius: 3px; font-size: 12px; line-height: 1.2; padding-left: 5px; padding-right: 5px; color: rgba(55, 53, 47, 0.6); margin-right: 5px;" tabindex="-1">Bash<svg class="chevronDown" style="width: 10px; height: 100%; display: block; fill: rgba(55, 53, 47, 0.3); flex-shrink: 0; backface-visibility: hidden; margin-left: 4px;" viewbox="0 0 30 30"><polygon points="15,17.4 4.8,7 2,9.8 15,23 28,9.8 25.2,7 "></polygon></svg></div></div><div style="background: white; padding-right: 105px;"></div></div></div></div><div class="notion-selectable notion-text-block" data-block-id="95911146-4c34-4cf5-bb19-e37c005eb087" style="width: 100%; max-width: 1713px; margin-top: 1px; margin-bottom: 1px;"><div style="color: inherit; fill: inherit;"><div style="display: flex;"><div class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="true" style="max-width: 100%; width: 100%; white-space: pre-wrap; word-break: break-word; caret-color: rgb(55, 53, 47); padding: 3px 2px;">Append to <span data-token-index="1" spellcheck="false" style='font-family:"SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;line-height:normal;background:rgba(135,131,120,0.15);color:#EB5757;border-radius:3px;font-size:85%;padding:0.2em 0.4em'>/etc/dhcp/dhclient.conf</span> </div></div></div></div><div class="notion-selectable notion-code-block" data-block-id="248661c1-f8e8-4e95-afec-950c04400e6a" style="width: 100%; max-width: 1713px; margin-top: 4px; margin-bottom: 4px;"><div style="display: flex;"><div style="flex-grow: 1; border-radius: 3px; text-align: left; position: relative; background: rgb(247, 246, 243); min-width: 0px; width: 100%;"><div class="line-numbers notion-code-block" style="display: flex;"><div autocapitalize="off" autocorrect="off" class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="false" style='flex-grow: 1; flex-shrink: 1; text-align: left; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 85%; tab-size: 2; padding: 34px 16px 32px 32px; min-height: 1em; color: rgb(55, 53, 47); white-space: pre-wrap; word-break: break-all; min-width: 0px;'><span data-token-index="0">prepend domain-name-servers </span><span class="token number" data-token-index="0">192.168</span><span data-token-index="0">.0.1</span><span class="token punctuation" data-token-index="0">;</span><span data-token-index="0">
prepend domain-name-servers </span><span class="token number" data-token-index="0">192.168</span><span data-token-index="0">.0.2</span><span class="token punctuation" data-token-index="0">;</span><span>
</span></div></div><div style="position: absolute; top: 3px; right: 1px; color: rgba(55, 53, 47, 0.6); display: flex; align-items: center; justify-content: flex-end; height: 25px; font-size: 11.5px; opacity: 0; transition: opacity 300ms ease-in 0s;"></div><div style="position: absolute; top: 8px; left: 8px; color: rgba(55, 53, 47, 0.6); display: flex; align-items: center; justify-content: flex-end; opacity: 0; transition: opacity 300ms ease-in 0s;"><div aria-disabled="true" class="" role="button" style="user-select: none; transition: background 20ms ease-in 0s; display: inline-flex; align-items: center; white-space: nowrap; height: 20px; border-radius: 3px; font-size: 12px; line-height: 1.2; padding-left: 5px; padding-right: 5px; color: rgba(55, 53, 47, 0.6); margin-right: 5px;" tabindex="-1">Bash<svg class="chevronDown" style="width: 10px; height: 100%; display: block; fill: rgba(55, 53, 47, 0.3); flex-shrink: 0; backface-visibility: hidden; margin-left: 4px;" viewbox="0 0 30 30"><polygon points="15,17.4 4.8,7 2,9.8 15,23 28,9.8 25.2,7 "></polygon></svg></div></div><div style="background: white; padding-right: 105px;"></div></div></div></div><div class="notion-selectable notion-text-block" data-block-id="3edcbe8e-c5d8-4281-9b74-9d611c38ea38" style="width: 100%; max-width: 1713px; margin-top: 1px; margin-bottom: 1px;"><div style="color: inherit; fill: inherit;"><div style="display: flex;"><div class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="true" style="max-width: 100%; width: 100%; white-space: pre-wrap; word-break: break-word; caret-color: rgb(55, 53, 47); padding: 3px 2px;">Append to <span data-token-index="1" spellcheck="false" style='font-family:"SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;line-height:normal;background:rgba(135,131,120,0.15);color:#EB5757;border-radius:3px;font-size:85%;padding:0.2em 0.4em'>/etc/ppp/ip-up</span></div></div></div></div><div class="notion-selectable notion-code-block" data-block-id="1488627e-8f0c-4456-953c-92079b60d885" style="width: 100%; max-width: 1713px; margin-top: 4px; margin-bottom: 4px;"><div style="display: flex;"><div style="flex-grow: 1; border-radius: 3px; text-align: left; position: relative; background: rgb(247, 246, 243); min-width: 0px; width: 100%;"><div class="line-numbers notion-code-block" style="display: flex;"><div autocapitalize="off" autocorrect="off" class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="false" style='flex-grow: 1; flex-shrink: 1; text-align: left; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 85%; tab-size: 2; padding: 34px 16px 32px 32px; min-height: 1em; color: rgb(55, 53, 47); white-space: pre-wrap; word-break: break-all; min-width: 0px;'><span class="token keyword" data-token-index="0">case</span><span data-token-index="0"> </span><span class="token string" data-token-index="0">"</span><span class="token variable" data-token-index="0">$4</span><span class="token string" data-token-index="0">"</span><span data-token-index="0"> </span><span class="token keyword" data-token-index="0">in</span><span data-token-index="0">
</span><span class="token number" data-token-index="0">192.168</span><span data-token-index="0">.0.254</span><span class="token punctuation" data-token-index="0">)</span><span data-token-index="0">
/sbin/route </span><span class="token function" data-token-index="0">add</span><span data-token-index="0"> -net </span><span class="token number" data-token-index="0">192.168</span><span data-token-index="0">.0.0/24 gw </span><span class="token number" data-token-index="0">192.168</span><span data-token-index="0">.0.1
</span><span class="token punctuation" data-token-index="0">;</span><span class="token punctuation" data-token-index="0">;</span><span data-token-index="0">
*</span><span class="token punctuation" data-token-index="0">)</span><span data-token-index="0">
</span><span class="token keyword" data-token-index="0">esac</span><span>
</span></div></div><div style="position: absolute; top: 3px; right: 1px; color: rgba(55, 53, 47, 0.6); display: flex; align-items: center; justify-content: flex-end; height: 25px; font-size: 11.5px; opacity: 0; transition: opacity 300ms ease-in 0s;"></div><div style="position: absolute; top: 8px; left: 8px; color: rgba(55, 53, 47, 0.6); display: flex; align-items: center; justify-content: flex-end; opacity: 0; transition: opacity 300ms ease-in 0s;"><div aria-disabled="true" class="" role="button" style="user-select: none; transition: background 20ms ease-in 0s; display: inline-flex; align-items: center; white-space: nowrap; height: 20px; border-radius: 3px; font-size: 12px; line-height: 1.2; padding-left: 5px; padding-right: 5px; color: rgba(55, 53, 47, 0.6); margin-right: 5px;" tabindex="-1">Bash<svg class="chevronDown" style="width: 10px; height: 100%; display: block; fill: rgba(55, 53, 47, 0.3); flex-shrink: 0; backface-visibility: hidden; margin-left: 4px;" viewbox="0 0 30 30"><polygon points="15,17.4 4.8,7 2,9.8 15,23 28,9.8 25.2,7 "></polygon></svg></div></div><div style="background: white; padding-right: 105px;"></div></div></div></div><div class="notion-selectable notion-text-block" data-block-id="25d7d3cd-4ac8-436b-a6fe-e5549505361f" style="width: 100%; max-width: 1713px; margin-top: 1px; margin-bottom: 1px;"><div style="color: inherit; fill: inherit;"><div style="display: flex;"><div class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="true" style="max-width: 100%; width: 100%; white-space: pre-wrap; word-break: break-word; caret-color: rgb(55, 53, 47); padding: 3px 2px;">To start and enable on boot:</div></div></div></div><div class="notion-selectable notion-code-block" data-block-id="d87146da-a309-4fb9-8286-d6b2381fa2be" style="width: 100%; max-width: 1713px; margin-top: 4px; margin-bottom: 4px;"><div style="display: flex;"><div style="flex-grow: 1; border-radius: 3px; text-align: left; position: relative; background: rgb(247, 246, 243); min-width: 0px; width: 100%;"><div class="line-numbers notion-code-block" style="display: flex;"><div autocapitalize="off" autocorrect="off" class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="false" style='flex-grow: 1; flex-shrink: 1; text-align: left; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 85%; tab-size: 2; padding: 34px 16px 32px 32px; min-height: 1em; color: rgb(55, 53, 47); white-space: pre-wrap; word-break: break-all; min-width: 0px;'><span data-token-index="0">systemctl restart networking
systemctl daemon-reload
systemctl </span><span class="token builtin class-name" data-token-index="0">enable</span><span data-token-index="0"> ipsec
systemctl </span><span class="token builtin class-name" data-token-index="0">enable</span><span data-token-index="0"> xl2tpd
systemctl start ipsec
systemctl start xl2tpd</span><span>
</span></div></div><div style="position: absolute; top: 3px; right: 1px; color: rgba(55, 53, 47, 0.6); display: flex; align-items: center; justify-content: flex-end; height: 25px; font-size: 11.5px; opacity: 0; transition: opacity 300ms ease-in 0s;"></div><div style="position: absolute; top: 8px; left: 8px; color: rgba(55, 53, 47, 0.6); display: flex; align-items: center; justify-content: flex-end; opacity: 0; transition: opacity 300ms ease-in 0s;"><div aria-disabled="true" class="" role="button" style="user-select: none; transition: background 20ms ease-in 0s; display: inline-flex; align-items: center; white-space: nowrap; height: 20px; border-radius: 3px; font-size: 12px; line-height: 1.2; padding-left: 5px; padding-right: 5px; color: rgba(55, 53, 47, 0.6); margin-right: 5px;" tabindex="-1">Bash<svg class="chevronDown" style="width: 10px; height: 100%; display: block; fill: rgba(55, 53, 47, 0.3); flex-shrink: 0; backface-visibility: hidden; margin-left: 4px;" viewbox="0 0 30 30"><polygon points="15,17.4 4.8,7 2,9.8 15,23 28,9.8 25.2,7 "></polygon></svg></div></div><div style="background: white; padding-right: 105px;"></div></div></div></div><div class="notion-selectable notion-text-block" data-block-id="437b9014-6e2d-4517-980d-5caf5d768c84" style="width: 100%; max-width: 1713px; margin-top: 1px; margin-bottom: 0px;"><div style="color: inherit; fill: inherit;"><div style="display: flex;"><div class="" contenteditable="false" data-root="true" placeholder=" " spellcheck="true" style="max-width: 100%; width: 100%; white-space: pre-wrap; word-break: break-word; caret-color: rgb(55, 53, 47); padding: 3px 2px; min-height: 1em; color: rgb(55, 53, 47); -webkit-text-fill-color: rgba(55, 53, 47, 0.4);"></div></div></div></div></div><div class="notion-presence-container" style="position: absolute; top: 0px; left: 0px; pointer-events: none; z-index: 1;"><div></div></div></div><div style="position: absolute; top: 0px; left: 0px;"><div></div></div></div></div></div></div><textarea style="opacity: 0; pointer-events: none; position: fixed; left: 0px; top: 0px;"></textarea><textarea style="opacity: 0; pointer-events: none; position: fixed; left: 0px; top: 0px;"></textarea><div style="width: env(safe-area-inset-bottom);"></div><script src="1172e9111a5fb396bcb8a05870b5eabf8abf221c.js" type="text/javascript"></script><iframe aria-hidden="true" id="intercom-frame" style="position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; top: 0 !important; left: 0 !important; border: none !important; display: block !important; z-index: -1 !important; pointer-events: none;" tabindex="-1" title="Intercom"></iframe></body></html>