mirror of
https://github.com/oneclickvirt/oneclickvirt.github.io.git
synced 2026-07-05 00:34:21 +08:00
105 lines
97 KiB
HTML
105 lines
97 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en-US" dir="ltr">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||
<title>Custom | One Click Virtualization</title>
|
||
<meta name="description" content="Open source, easy to use server virtualization project">
|
||
<link rel="preload stylesheet" href="/assets/style.e150f059.css" as="style">
|
||
|
||
<script type="module" src="/assets/app.7da1868b.js"></script>
|
||
<link rel="preload" href="/assets/inter-roman-latin.2ed14f66.woff2" as="font" type="font/woff2" crossorigin="">
|
||
<link rel="modulepreload" href="/assets/chunks/framework.70afa331.js">
|
||
<link rel="modulepreload" href="/assets/chunks/theme.b9d97670.js">
|
||
<link rel="modulepreload" href="/assets/en_guide_incus_incus_custom.md.6c526825.lean.js">
|
||
<link rel="icon" href="https://cdn.spiritlhl.net/https://raw.githubusercontent.com/spiritlhls/pages/main/logo.png">
|
||
<meta name="google-site-verification" content="wdrGBim_2XmtMrqxivze70saMiPQAiOhpmN3KAWb0Sw">
|
||
<meta name="msvalidate.01" content="FC9B6B8BEB3D3B56844ADA69766DBB24">
|
||
<script src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5991535488582679" crossorigin="anonymous"></script>
|
||
<script id="check-dark-light">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
|
||
</head>
|
||
<body>
|
||
<div id="app"><div class="Layout" data-v-255ec12d><!--[--><!--]--><!--[--><span tabindex="-1" data-v-ae3e3f51></span><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-ae3e3f51> Skip to content </a><!--]--><!----><header class="VPNav" data-v-255ec12d data-v-7e5bc4a5><div class="VPNavBar has-sidebar" data-v-7e5bc4a5 data-v-faa4ef78><div class="container" data-v-faa4ef78><div class="title" data-v-faa4ef78><div class="VPNavBarTitle has-sidebar" data-v-faa4ef78 data-v-8bbac535><a class="title" href="/en/" data-v-8bbac535><!--[--><!--]--><!--[--><img class="VPImage logo" src="https://cdn.spiritlhl.net/https://raw.githubusercontent.com/spiritlhls/pages/main/logo.png" alt data-v-6db2186b><!--]--><!--[-->One Click Virtualization<!--]--><!--[--><!--]--></a></div></div><div class="content" data-v-faa4ef78><div class="curtain" data-v-faa4ef78></div><div class="content-body" data-v-faa4ef78><!--[--><!--]--><div class="VPNavBarSearch search" style="--vp-meta-key:'Meta';" data-v-faa4ef78><!--[--><!----><div id="docsearch"><button type="button" class="DocSearch DocSearch-Button" aria-label="Search"><span class="DocSearch-Button-Container"><svg class="DocSearch-Search-Icon" width="20" height="20" viewBox="0 0 20 20" aria-label="search icon"><path d="M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"></path></svg><span class="DocSearch-Button-Placeholder">Search</span></span><span class="DocSearch-Button-Keys"><kbd class="DocSearch-Button-Key"></kbd><kbd class="DocSearch-Button-Key">K</kbd></span></button></div><!--]--></div><nav aria-labelledby="main-nav-aria-label" class="VPNavBarMenu menu" data-v-faa4ef78 data-v-7f418b0f><span id="main-nav-aria-label" class="visually-hidden" data-v-7f418b0f>Main Navigation</span><!--[--><!--[--><a class="VPLink link VPNavBarMenuLink active" href="/en/" tabindex="0" data-v-7f418b0f data-v-5e623618><!--[-->One Click Virtualization<!--]--></a><!--]--><!--[--><a class="VPLink link vp-external-link-icon VPNavBarMenuLink" href="https://spiders.spiritlhl.net/" target="_blank" rel="noreferrer" tabindex="0" data-v-7f418b0f data-v-5e623618><!--[-->VPS Stock Monitor<!--]--></a><!--]--><!--[--><a class="VPLink link vp-external-link-icon VPNavBarMenuLink" href="https://beta.spiritlhl.net/" target="_blank" rel="noreferrer" tabindex="0" data-v-7f418b0f data-v-5e623618><!--[-->VPS Test Archive<!--]--></a><!--]--><!--]--></nav><div class="VPFlyout VPNavBarTranslations translations" data-v-faa4ef78 data-v-74abcbb9 data-v-764effdf><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="Change language" data-v-764effdf><span class="text" data-v-764effdf><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="option-icon" data-v-764effdf><path d="M0 0h24v24H0z" fill="none"></path><path d=" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z " class="css-c4d79v"></path></svg> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="text-icon" data-v-764effdf><path d="M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"></path></svg></span></button><div class="menu" data-v-764effdf><div class="VPMenu" data-v-764effdf data-v-e7ea1737><!----><!--[--><!--[--><div class="items" data-v-74abcbb9><p class="title" data-v-74abcbb9>English</p><!--[--><div class="VPMenuLink" data-v-74abcbb9 data-v-2f2cfafc><a class="VPLink link" href="/guide/incus/incus_custom.html" data-v-2f2cfafc><!--[-->简体中文<!--]--></a></div><!--]--></div><!--]--><!--]--></div></div></div><div class="VPNavBarAppearance appearance" data-v-faa4ef78 data-v-f6a63727><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title="toggle dark mode" aria-checked="false" data-v-f6a63727 data-v-82b282f1 data-v-f3c41672><span class="check" data-v-f3c41672><span class="icon" data-v-f3c41672><!--[--><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="sun" data-v-82b282f1><path d="M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S15.3,18,12,18zM12,8c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4C16,9.8,14.2,8,12,8z"></path><path d="M12,4c-0.6,0-1-0.4-1-1V1c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,3.6,12.6,4,12,4z"></path><path d="M12,24c-0.6,0-1-0.4-1-1v-2c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,23.6,12.6,24,12,24z"></path><path d="M5.6,6.6c-0.3,0-0.5-0.1-0.7-0.3L3.5,4.9c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C6.2,6.5,5.9,6.6,5.6,6.6z"></path><path d="M19.8,20.8c-0.3,0-0.5-0.1-0.7-0.3l-1.4-1.4c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C20.3,20.7,20,20.8,19.8,20.8z"></path><path d="M3,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S3.6,13,3,13z"></path><path d="M23,13h-2c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S23.6,13,23,13z"></path><path d="M4.2,20.8c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C4.7,20.7,4.5,20.8,4.2,20.8z"></path><path d="M18.4,6.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C18.9,6.5,18.6,6.6,18.4,6.6z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="moon" data-v-82b282f1><path d="M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"></path></svg><!--]--></span></span></button></div><div class="VPSocialLinks VPNavBarSocialLinks social-links" data-v-faa4ef78 data-v-0394ad82 data-v-7bc22406><!--[--><a class="VPSocialLink no-icon" href="https://github.com/oneclickvirt/oneclickvirt.github.io" aria-label="github" target="_blank" rel="noopener" data-v-7bc22406 data-v-f80f8133><svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg></a><!--]--></div><div class="VPFlyout VPNavBarExtra extra" data-v-faa4ef78 data-v-40855f84 data-v-764effdf><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="extra navigation" data-v-764effdf><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="icon" data-v-764effdf><circle cx="12" cy="12" r="2"></circle><circle cx="19" cy="12" r="2"></circle><circle cx="5" cy="12" r="2"></circle></svg></button><div class="menu" data-v-764effdf><div class="VPMenu" data-v-764effdf data-v-e7ea1737><!----><!--[--><!--[--><div class="group translations" data-v-40855f84><p class="trans-title" data-v-40855f84>English</p><!--[--><div class="VPMenuLink" data-v-40855f84 data-v-2f2cfafc><a class="VPLink link" href="/guide/incus/incus_custom.html" data-v-2f2cfafc><!--[-->简体中文<!--]--></a></div><!--]--></div><div class="group" data-v-40855f84><div class="item appearance" data-v-40855f84><p class="label" data-v-40855f84>Appearance</p><div class="appearance-action" data-v-40855f84><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title="toggle dark mode" aria-checked="false" data-v-40855f84 data-v-82b282f1 data-v-f3c41672><span class="check" data-v-f3c41672><span class="icon" data-v-f3c41672><!--[--><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="sun" data-v-82b282f1><path d="M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S15.3,18,12,18zM12,8c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4C16,9.8,14.2,8,12,8z"></path><path d="M12,4c-0.6,0-1-0.4-1-1V1c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,3.6,12.6,4,12,4z"></path><path d="M12,24c-0.6,0-1-0.4-1-1v-2c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,23.6,12.6,24,12,24z"></path><path d="M5.6,6.6c-0.3,0-0.5-0.1-0.7-0.3L3.5,4.9c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C6.2,6.5,5.9,6.6,5.6,6.6z"></path><path d="M19.8,20.8c-0.3,0-0.5-0.1-0.7-0.3l-1.4-1.4c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C20.3,20.7,20,20.8,19.8,20.8z"></path><path d="M3,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S3.6,13,3,13z"></path><path d="M23,13h-2c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S23.6,13,23,13z"></path><path d="M4.2,20.8c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C4.7,20.7,4.5,20.8,4.2,20.8z"></path><path d="M18.4,6.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C18.9,6.5,18.6,6.6,18.4,6.6z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="moon" data-v-82b282f1><path d="M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"></path></svg><!--]--></span></span></button></div></div></div><div class="group" data-v-40855f84><div class="item social-links" data-v-40855f84><div class="VPSocialLinks social-links-list" data-v-40855f84 data-v-7bc22406><!--[--><a class="VPSocialLink no-icon" href="https://github.com/oneclickvirt/oneclickvirt.github.io" aria-label="github" target="_blank" rel="noopener" data-v-7bc22406 data-v-f80f8133><svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg></a><!--]--></div></div></div><!--]--><!--]--></div></div></div><!--[--><!--]--><button type="button" class="VPNavBarHamburger hamburger" aria-label="mobile navigation" aria-expanded="false" aria-controls="VPNavScreen" data-v-faa4ef78 data-v-e5dd9c1c><span class="container" data-v-e5dd9c1c><span class="top" data-v-e5dd9c1c></span><span class="middle" data-v-e5dd9c1c></span><span class="bottom" data-v-e5dd9c1c></span></span></button></div></div></div></div><!----></header><div class="VPLocalNav reached-top" data-v-255ec12d data-v-5cfd5582><button class="menu" aria-expanded="false" aria-controls="VPSidebarNav" data-v-5cfd5582><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="menu-icon" data-v-5cfd5582><path d="M17,11H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,11,17,11z"></path><path d="M21,7H3C2.4,7,2,6.6,2,6s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,7,21,7z"></path><path d="M21,15H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,15,21,15z"></path><path d="M17,19H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,19,17,19z"></path></svg><span class="menu-text" data-v-5cfd5582>Menu</span></button><div class="VPLocalNavOutlineDropdown" style="--vp-vh:0px;" data-v-5cfd5582 data-v-d5bb9d56><button data-v-d5bb9d56>Return to top</button><!----></div></div><aside class="VPSidebar" data-v-255ec12d data-v-845b8fc6><div class="curtain" data-v-845b8fc6></div><nav class="nav" id="VPSidebarNav" aria-labelledby="sidebar-aria-label" tabindex="-1" data-v-845b8fc6><span class="visually-hidden" id="sidebar-aria-label" data-v-845b8fc6> Sidebar Navigation </span><!--[--><!--]--><!--[--><div class="group" data-v-845b8fc6><section class="VPSidebarItem level-0" data-v-845b8fc6 data-v-4fbabd82><div class="item" role="button" tabindex="0" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><h2 class="text" data-v-4fbabd82>Pre-requisites for all projects</h2><!----></div><div class="items" data-v-4fbabd82><!--[--><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/dashboard.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>Preparation</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><div class="group" data-v-845b8fc6><section class="VPSidebarItem level-0" data-v-845b8fc6 data-v-4fbabd82><div class="item" role="button" tabindex="0" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><h2 class="text" data-v-4fbabd82>Proxmox VE</h2><!----></div><div class="items" data-v-4fbabd82><!--[--><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/pve/pve_precheck.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>Configuration requirements</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/pve/pve_install.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>PVE main installation</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/pve/pve_kvm.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>KVM Virtualization</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/pve/pve_lxc.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>LXC Virtualization</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/pve/pve_windows.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>Windows Virtual Machine</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/pve/pve_custom.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>Custom</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/pve/pve_thanks.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>Acknowledgements</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/pve/pve_qa.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>FAQ</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><div class="group" data-v-845b8fc6><section class="VPSidebarItem level-0 has-active" data-v-845b8fc6 data-v-4fbabd82><div class="item" role="button" tabindex="0" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><h2 class="text" data-v-4fbabd82>incus</h2><!----></div><div class="items" data-v-4fbabd82><!--[--><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/incus/incus_precheck.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>Configuration requirements</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/incus/incus_install.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>incus main installation</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/incus/incus_lxc.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>LXC Virtualization</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/incus/incus_extra_config.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>Extra configuration</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link is-active has-active" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/incus/incus_custom.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>Custom</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/incus/incus_thanks.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>Acknowledgements</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/incus/incus_qa.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>FAQ</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><div class="group" data-v-845b8fc6><section class="VPSidebarItem level-0" data-v-845b8fc6 data-v-4fbabd82><div class="item" role="button" tabindex="0" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><h2 class="text" data-v-4fbabd82>Docker</h2><!----></div><div class="items" data-v-4fbabd82><!--[--><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/docker/docker_precheck.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>Configuration requirements</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/docker/docker_install.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>Docker main installation</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/docker/docker_build.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>Docker Virtualization</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/docker/docker_custom.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>Custom</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/docker/docker_thanks.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>Acknowledgements</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/docker/docker_qa.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>FAQ</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><div class="group" data-v-845b8fc6><section class="VPSidebarItem level-0" data-v-845b8fc6 data-v-4fbabd82><div class="item" role="button" tabindex="0" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><h2 class="text" data-v-4fbabd82>LXD</h2><!----></div><div class="items" data-v-4fbabd82><!--[--><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/lxd/lxd_precheck.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>Configuration requirements</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/lxd/lxd_install.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>LXD main installation</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/lxd/lxd_lxc.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>LXC Virtualization</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/lxd/lxd_extra_config.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>Extra configuration</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/lxd/lxd_custom.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>Custom</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/lxd/lxd_thanks.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>Acknowledgements</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/en/guide/lxd/lxd_qa.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>FAQ</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><div class="group" data-v-845b8fc6><section class="VPSidebarItem level-0" data-v-845b8fc6 data-v-4fbabd82><div class="item" role="button" tabindex="0" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><h2 class="text" data-v-4fbabd82>Block Abuse</h2><!----></div><div class="items" data-v-4fbabd82><!--[--><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/guide/block/block_iptables.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>via iptables</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/guide/block/block_pve.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>In PVE</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/guide/block/block_incus.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>In INCUS</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/guide/block/block_lxd.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>In LXD</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/guide/block/block_docker.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>In DOCKER</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><div class="group" data-v-845b8fc6><section class="VPSidebarItem level-0" data-v-845b8fc6 data-v-4fbabd82><div class="item" role="button" tabindex="0" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><h2 class="text" data-v-4fbabd82>Donation</h2><!----></div><div class="items" data-v-4fbabd82><!--[--><div class="VPSidebarItem level-1 is-link" data-v-4fbabd82 data-v-4fbabd82><div class="item" data-v-4fbabd82><div class="indicator" data-v-4fbabd82></div><a class="VPLink link link" href="/guide/dashboardq.html" data-v-4fbabd82><!--[--><p class="text" data-v-4fbabd82>Donation</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><!--]--><!--[--><!--]--></nav></aside><div class="VPContent has-sidebar" id="VPContent" data-v-255ec12d data-v-3107c4ee><div class="VPDoc has-sidebar has-aside" data-v-3107c4ee data-v-6b87e69f><!--[--><!--]--><div class="container" data-v-6b87e69f><div class="aside" data-v-6b87e69f><div class="aside-curtain" data-v-6b87e69f></div><div class="aside-container" data-v-6b87e69f><div class="aside-content" data-v-6b87e69f><div class="VPDocAside" data-v-6b87e69f data-v-3f215769><!--[--><!--]--><!--[--><!--]--><div class="VPDocAsideOutline" data-v-3f215769 data-v-ff0f39c8><div class="content" data-v-ff0f39c8><div class="outline-marker" data-v-ff0f39c8></div><div class="outline-title" data-v-ff0f39c8>On this page</div><nav aria-labelledby="doc-outline-aria-label" data-v-ff0f39c8><span class="visually-hidden" id="doc-outline-aria-label" data-v-ff0f39c8> Table of Contents for current page </span><ul class="root" data-v-ff0f39c8 data-v-b0ff2abe><!--[--><!--]--></ul></nav></div></div><!--[--><!--]--><div class="spacer" data-v-3f215769></div><!--[--><!--]--><!----><!--[--><!--]--><!--[--><!--]--></div></div></div></div><div class="content" data-v-6b87e69f><div class="content-container" data-v-6b87e69f><!--[--><!--]--><!----><main class="main" data-v-6b87e69f><div style="position:relative;" class="vp-doc _en_guide_incus_incus_custom" data-v-6b87e69f><div><h1 id="custom" tabindex="-1">Custom <a class="header-anchor" href="#custom" aria-label="Permalink to "Custom""></a></h1><h2 id="attach-free-ipv6-address-segments-to-host-machines" tabindex="-1">Attach free IPV6 address segments to host machines <a class="header-anchor" href="#attach-free-ipv6-address-segments-to-host-machines" aria-label="Permalink to "Attach free IPV6 address segments to host machines""></a></h2><p>Some machines don't have an IPV6 /64 subnet on the machine itself, here is a method given to attach an IPV6 subnet for free.</p><p>Here is a solution using the 6in4 method for a host machine that doesn't have an IPV6 address on its own.</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>The operations on this page must be performed on the original system, and ensure that no other scripts from this project are installed(Except for PVE, which needs to be installed first), as this may lead to environment conflicts.</p></div><p>Here are the platforms that are currently running in 2023 that offer IPV6 subnets for free.</p><table><thead><tr><th>Supported Platforms</th><th>Corresponding Required Installation Packages</th><th>Protocols</th><th>Number of Channels/Subnets</th></tr></thead><tbody><tr><td>tunnelbroker.net</td><td>ifupdown OR ifupdown2</td><td>v4tunnel OR sit</td><td>3✖/64 OR 5✖/64</td></tr><tr><td>tunnelbroker.ch</td><td>ifupdown OR ifupdown2</td><td>v4tunnel OR sit</td><td>3✖/64</td></tr><tr><td>ip4market.ru</td><td>ifupdown OR ifupdown2</td><td>v4tunnel OR sit</td><td>1✖/64</td></tr><tr><td>netassist.ua</td><td>ifupdown OR ifupdown2</td><td>v4tunnel OR sit</td><td>1✖/64</td></tr><tr><td><a href="https://github.com/oneclickvirt/6in4" target="_blank" rel="noreferrer">https://github.com/oneclickvirt/6in4</a></td><td>ifupdown2</td><td>sit、gre、ipip</td><td>custom</td></tr></tbody></table><p>The free platform only solves the problem that IPV6 is not available, it does not provide premium IPV6 bandwidth.</p><p>If you need high quality bandwidth, please build your own tunnel. When both ifupdown and ifupdown2 are available, try ifupdown first to see if it can be installed successfully, otherwise install ifupdown2.</p><p>After the installation is complete, select which package is installed behind to convert the format.</p><h3 id="initial-environment-modifications" tabindex="-1">Initial environment modifications <a class="header-anchor" href="#initial-environment-modifications" aria-label="Permalink to "Initial environment modifications""></a></h3><p>Execute</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">touch /etc/cloud/cloud-init.disabled</span></span></code></pre></div><p>Turn off the automated overwrite of cloud-init first, and then to see what the local machine is using to manage the network, run</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">systemctl is-active systemd-networkd</span></span></code></pre></div><p>and</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">systemctl is-active networking</span></span></code></pre></div><p>See which case this falls into, if it's the former active and the latter inactive, you need to reinstall/DD a system that isn't configured this way, or switch the local machine to use ifupdown/ifupdown2 to manage network execution</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;"># Judge for yourself whether you need to disable the original network management or not</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"># systemctl stop systemd-networkd</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"># systemctl disable systemd-networkd</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"># systemctl stop systemd-networkd.socket</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"># systemctl disable systemd-networkd.socket</span></span></code></pre></div><p>If you want to install <code>ifupdown</code> to control the network, this tool is available on all major linux systems.</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">apt-get install ifupdown -y</span></span></code></pre></div><p>If you want to install <code>ifupdown2</code> for network management, which is generally only available on debian systems, you can install</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">apt-get install ifupdown2 -y</span></span></code></pre></div><p>After the installation is complete, select which package is installed behind to convert the format.</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">systemctl start networking</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">systemctl enable networking</span></span></code></pre></div><p>Then restart the server, check whether the machine's network will be rebooted due to the modification of the case of loss of connection, and run<code>uptime</code>to observe that the startup has been more than 1 minute before proceeding to the next steps</p><p>If it is inactive and active, there is no need to switch the network management program and you can proceed directly to the next step.</p><p>Since some servers have default intranet IPV6 routes that will conflict with the tunnel, you can use the following command to remove the default IPV6 routes</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">default_route=$(ip -6 route show | awk '/default via/{print $3}') && [ -n "$default_route" ] && ip -6 route del default via $default_route dev eth0</span></span></code></pre></div><p>This assumes that your client's server's default NIC is <code>eth0</code>, you can use <code>ip -6 route</code> to see the default route and replace it, the default route starts with <code>default via</code>, and uses <code>dev</code> to specify the default NIC, you just need to find it according to this rule</p><h3 id="currently-supported-platforms" tabindex="-1">Currently supported platforms <a class="header-anchor" href="#currently-supported-platforms" aria-label="Permalink to "Currently supported platforms""></a></h3><h4 id="tunnelbroker-net" tabindex="-1">tunnelbroker_net <a class="header-anchor" href="#tunnelbroker-net" aria-label="Permalink to "tunnelbroker_net""></a></h4><p>Combined with a script that opens containers with IPV6 addresses with a single click, you can attach an IPV6 address from he to each container</p><p>The downside is that the addresses are dark/dirty, and cloudflare's cdn will most likely not be able to latch on, test it yourself</p><ol><li>Register an account at <a href="https://tunnelbroker.net/" target="_blank" rel="noreferrer">https://tunnelbroker.net/</a> and click<code>Create Regular Tunnel</code>on the left.</li></ol><p><img src="https://github.com/oneclickvirt/oneclickvirt.github.io/assets/103393591/35923be5-821f-45c8-8401-962ea3f97726" alt="1"></p><ol start="2"><li>Fill in your server's IPV4 address in the red box, choose a connection point that is physically close to your server, for example, if your machine is in Los Angeles, choose a connection point on the west coast of the United States, and then click<code>Create Tunnel</code>to create the tunnel when you are prompted by the green box!</li></ol><p><img src="https://github.com/oneclickvirt/oneclickvirt.github.io/assets/103393591/cab04113-4d6a-4d6f-9952-d3851057fc4a" alt="2"></p><p><img src="https://github.com/oneclickvirt/oneclickvirt.github.io/assets/103393591/518dc62a-c8d0-48e3-bb13-befc39348990" alt="3"></p><p><img src="https://github.com/oneclickvirt/oneclickvirt.github.io/assets/103393591/6188de3f-e83c-400e-9594-dd3f73aaf46a" alt="4"></p><ol start="3"><li>Wait for the following screen, click<code>Example Configurations</code>and select the corresponding system, for example, the host of incus is definitely Debian/Ubuntu.</li></ol><p><img src="https://github.com/oneclickvirt/oneclickvirt.github.io/assets/103393591/9f0045fc-b1ac-4954-9ecd-1fba47d07d8a" alt="5"></p><p><img src="https://github.com/oneclickvirt/oneclickvirt.github.io/assets/103393591/2fb7c951-371c-452c-b775-78f69b980a2c" alt="6"></p><ol start="4"><li>The boxed part is the file to be modified and the content to be filled in.</li></ol><p><img src="https://github.com/oneclickvirt/oneclickvirt.github.io/assets/103393591/c0156902-b4c0-4001-823e-50f611215393" alt="7"></p><ol start="5"><li>Exchange the format of the command then add IPV6 settings to your network configuration file.</li></ol><p>Then open <a href="https://ipv6tunnel.spiritlhl.top/" target="_blank" rel="noreferrer">https://ipv6tunnel.spiritlhl.top/</a> and select<code>Option</code>for<code>TunnelBrokerNet</code>, another drop-down selection box to choose the name of the package you successfully installed previously, then paste what you copied in the input box.</p><p>Then click<code>Covert</code>to convert the format, and wait for the page to refresh to show the converted configuration file.</p><p>Then use vim or vi to modify the<code>/etc/network/interfaces</code>file to add content, or modify the following command to add new content</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">tee -a /etc/network/interfaces <<EOF</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"># Here, copy and paste the contents of the configuration file in the red box, and then run this command.</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">EOF</span></span></code></pre></div><p>Then you can use<code>cat /etc/network/interfaces</code>to see if the configuration file is written correctly.</p><ol start="6"><li>If all of the above is OK, then you need to enable the network interfaces</li></ol><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">apt-get install net-tools iproute2 -y</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">systemctl restart networking</span></span></code></pre></div><ol start="7"><li>Then you can test the IP address of the network interface.</li></ol><p>Execute the<code>ifconfig</code>command, and there should be a he-ipv6 interface, similar to the following:</p><p><img src="https://github.com/oneclickvirt/oneclickvirt.github.io/assets/103393591/1760af85-2b60-4352-ad8c-3c69e49fc1e4" alt="8"></p><p>Or execute:</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">curl ipv6.ip.sb</span></span></code></pre></div><p>Returns the IPV6 address you bound to</p><ol start="8"><li>Additional settings for NAT VPS</li></ol><p>IPv4 NAT VPS may require some additional settings beyond the IP replacement operation mentioned earlier, otherwise it may still not be able to access the IPv6 network.</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">apt-get install ufw -y</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">ufw allow 41</span></span></code></pre></div><p>Add the relevant routing rules</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">route -A inet6 add ::/0 dev he-ipv6</span></span></code></pre></div><ol start="9"><li>If the IPV6 network is no longer needed and you want to delete it, delete the he-ipv6 network interface configuration.</li></ol><p>If you want to delete the he-ipv6 network interface configuration (if not, it will be enabled automatically after reboot), remember to modify the<code>/etc/network/interfaces</code>file to remove the content added in the red box before.</p><p>Then reboot the server to remove the</p><h4 id="tunnelbroker-ch" tabindex="-1">tunnelbroker_ch <a class="header-anchor" href="#tunnelbroker-ch" aria-label="Permalink to "tunnelbroker_ch""></a></h4><p>Similar to the above, first register an account at <a href="https://www.tunnelbroker.ch/" target="_blank" rel="noreferrer">https://www.tunnelbroker.ch/</a> and click on the activation email after registering.</p><p>Then you have to fill in the IPV4 address of your server.</p><p><img src="https://github.com/oneclickvirt/oneclickvirt.github.io/assets/103393591/e018c7bc-e73c-4c68-88b6-b073f0dbd150" alt=""></p><p>After creating an account, you need to go to the Config page instead of the details page.</p><p><img src="https://github.com/oneclickvirt/oneclickvirt.github.io/assets/103393591/d919dda7-571d-45b1-9d2f-03f29866269e" alt=""></p><p>Don't use the following page, first refresh the page without the light blue box and then stop refreshing it</p><p>Don't stop refreshing after the light blue box pops up</p><p><img src="https://github.com/oneclickvirt/oneclickvirt.github.io/assets/103393591/aefd1477-d5f5-4a4e-a66c-80ef5f9250c6" alt=""></p><p>Record the content of the last red box on the following page, and prepare to modify the host configuration file.</p><p><img src="https://github.com/oneclickvirt/oneclickvirt.github.io/assets/103393591/9329974c-9549-4ff2-a8a0-a53c00e2863d" alt=""></p><p>Copy the last red box of the page without the blank lines.</p><p>Then open <a href="https://ipv6tunnel.spiritlhl.top/" target="_blank" rel="noreferrer">https://ipv6tunnel.spiritlhl.top/</a> and select<code>Option</code>for<code>TunnelBrokerCh</code>, another drop-down selection box to choose the name of the package you successfully installed previously, then paste what you copied in the input box.</p><p>Then click<code>Covert</code>to convert the format, and wait for the page to refresh to show the converted configuration file.</p><p>Then use vim or vi to modify the<code>/etc/network/interfaces</code>file to add content, or modify the following command to add new content</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">tee -a /etc/network/interfaces <<EOF</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"># Modify the</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">EOF</span></span></code></pre></div><p>Then you'll need to reboot the system a bit, or run</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">apt-get install net-tools iproute2 -y</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">systemctl restart networking</span></span></code></pre></div><p>Make sure the environment is OK before you do anything else</p><h4 id="ip4market-ru" tabindex="-1">ip4market_ru <a class="header-anchor" href="#ip4market-ru" aria-label="Permalink to "ip4market_ru""></a></h4><p>Similar to the above, first register an account at <a href="https://tb.ip4market.ru/" target="_blank" rel="noreferrer">https://tb.ip4market.ru</a>, the registered email address must be an unseen email address, the phone number can be written randomly without verification, and the IP address should be the IPV4 address of the host you want to attach.</p><p>The IP address is the IPV4 address of the host computer you are attaching to<img src="https://github.com/oneclickvirt/oneclickvirt.github.io/assets/103393591/24df37f2-12fe-49b6-87df-f07213346fbe" alt=""></p><p>Then you have to go through Recaptcha's human-machine verification, and click register.</p><p>You will receive an activation email with your password, memorize it.</p><p>Then login on the homepage</p><p><img src="https://github.com/oneclickvirt/oneclickvirt.github.io/assets/103393591/38b3f5a7-a5e1-47e0-b13e-8570e946c61c" alt=""></p><p>Then you will be taken to this page</p><p><img src="https://github.com/oneclickvirt/oneclickvirt.github.io/assets/103393591/fc1d38b9-b45a-41de-a931-5dbe96e9791c" alt=""></p><p>Hold down the right button and copy the four lines framed in red, which are</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">Server IPv4.</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">Client IPv4</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">Server IPv6</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">Client IPv6</span></span></code></pre></div><p>For these four lines, press ctrl+c to copy or right-click to copy</p><p><img src="https://github.com/oneclickvirt/oneclickvirt.github.io/assets/103393591/69c946e6-e82f-4665-b3c1-3c97e27f8487" alt=""></p><p>Then open <a href="https://ipv6tunnel.spiritlhl.top/" target="_blank" rel="noreferrer">https://ipv6tunnel.spiritlhl.top/</a> and select<code>Option</code>for<code>ip4market</code>, another drop-down selection box to choose the name of the package you successfully installed previously, then paste what you copied in the input box.</p><p>Then click<code>Covert</code>to convert the formatting</p><p><img src="https://github.com/oneclickvirt/oneclickvirt.github.io/assets/103393591/b9ca3ee1-4f13-4e10-bdc8-1ed1cc23ab05" alt=""></p><p>Then the page will be refreshed automatically and you need to modify the contents of the<code>/etc/network/interfaces</code>file with vim or vi commands, or modify the following commands to add new contents.</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">tee -a /etc/network/interfaces <<EOF</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"># Modify the</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">EOF</span></span></code></pre></div><p>Then you'll need to reboot the system a bit, or run</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">apt-get install net-tools iproute2 -y</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">systemctl restart networking</span></span></code></pre></div><p>Make sure the environment is OK before you do anything else</p><h4 id="netassist-ua" tabindex="-1">netassist_ua <a class="header-anchor" href="#netassist-ua" aria-label="Permalink to "netassist_ua""></a></h4><p>Similar to the above operation, first in <a href="https://tb.netassist.ua/" target="_blank" rel="noreferrer">https://tb.netassist.ua/</a> register an account first, after registration, click on the activation of the mail, the activation page will have a password display, remember to record!</p><p>Then fill in the IPV4 address of your server, you can change it later, just fill in a random one first.</p><p>Then you will get to this page</p><p><img src="https://github.com/oneclickvirt/oneclickvirt.github.io/assets/103393591/4af680d4-3b01-495a-91d1-3cf4f187d0df" alt="a"></p><p>The first red box is the location of your host's IPV4 address, if you want to modify it, modify it there, and then click change to save.</p><p>The second red box is for```Linux``, and then click on show</p><p><img src="https://github.com/oneclickvirt/oneclickvirt.github.io/assets/103393591/099d43a0-0397-4e02-9275-9ec3099c0ff1" alt="b"></p><p>The above content will appear, copy all the boxed parts without blank lines.</p><p>Then open <a href="https://ipv6tunnel.spiritlhl.top/" target="_blank" rel="noreferrer">https://ipv6tunnel.spiritlhl.top/</a> and select<code>Option</code>for<code>NetAssist</code>, another drop-down selection box to choose the name of the package you successfully installed previously, then paste what you copied in the input box.</p><p>Then click on<code>Covert</code>to convert the formatting</p><p><img src="https://github.com/oneclickvirt/oneclickvirt.github.io/assets/103393591/7324c7ff-d22f-4c17-b3c2-b5338ca6dfee" alt="c"></p><p>Then the page will be refreshed automatically and you need to modify the contents of the<code>/etc/network/interfaces</code>file with vim or vi commands, or modify the following commands to add new contents.</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">tee -a /etc/network/interfaces <<EOF</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"># Modify the</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">EOF</span></span></code></pre></div><p>Then you'll need to reboot the system a bit, or run</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">apt-get install net-tools iproute2 -y</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">systemctl restart networking</span></span></code></pre></div><p>Make sure the environment is OK before you do anything else</p><h2 id="transfer-ipv6-subnets-between-different-servers" tabindex="-1">Transfer IPV6 subnets between different servers <a class="header-anchor" href="#transfer-ipv6-subnets-between-different-servers" aria-label="Permalink to "Transfer IPV6 subnets between different servers""></a></h2><p>Related repository: <a href="https://github.com/oneclickvirt/6in4" target="_blank" rel="noreferrer">https://github.com/oneclickvirt/6in4</a></p><p>This method will provide a way to split a /80 out of the IPV6 segment on A and attach it to B to use.</p><h3 id="features" tabindex="-1">Features <a class="header-anchor" href="#features" aria-label="Permalink to "Features""></a></h3><ul><li>Self-built IPv6 tunnel for sit/gre/ipip protocols</li><li>Support to customize the IPV6 subnet size to be cut out, and the appropriate IPV6 subnet information in CIDR format will be calculated automatically.</li><li>Automatically recognizes the IPV6 subnet size of the server side</li><li>will automatically set up the tunnel server and print the commands that the client needs to execute</li><li>Setting up the IPV6 tunnel is easy to understand and easy to remove</li></ul><h3 id="environmental-preparation" tabindex="-1">Environmental Preparation <a class="header-anchor" href="#environmental-preparation" aria-label="Permalink to "Environmental Preparation""></a></h3><table><thead><tr><th>VPS(A)</th><th>VPS(B)</th></tr></thead><tbody><tr><td>one IPV4 address (server_ipv4)</td><td>one IPV4 address (clinet_ipv4)</td></tr><tr><td>one IPV6 subnet</td><td>no IPV6 address</td></tr><tr><td>Hereafter referred to as server</td><td>Hereafter referred to as client</td></tr></tbody></table><h3 id="usage" tabindex="-1">Usage <a class="header-anchor" href="#usage" aria-label="Permalink to "Usage""></a></h3><p>Download Script</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">curl -L https://raw.githubusercontent.com/oneclickvirt/6in4/main/6in4.sh -o 6in4.sh && chmod +x 6in4.sh</span></span></code></pre></div><p>Execute it</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">./6in4.sh client_ipv4 <mode_type> <subnet_size></span></span></code></pre></div><table><thead><tr><th>Options</th><th>Optional Option 1</th><th>Optional Option 2</th><th>Optional Option 3</th></tr></thead><tbody><tr><td><mode_type></td><td>gre</td><td>sit</td><td>ipip</td></tr><tr><td><subnet_size></td><td>64</td><td>80</td><td>112</td></tr></tbody></table><p><code><mode_type></code> only support those three protocols for now, the more advanced the more recommended, no fill in the default is <code>sit</code> protocol</p><p><code><subnet_size></code> as long as it is larger than the original system subnet mask, and is a multiple of 8, if you don't fill it in, it defaults to <code>80</code>.</p><p>Remember to replace <code>client_ipv4</code> with the IPV4 address of the machine you want to attach IPV6 to, and the command you need to execute on the client side will be sent back to you after execution, see the instructions after execution for details.</p><p>To prevent you from forgetting to copy the commands, the commands themselves will be written to the <code>6in4.log</code> file under the current path, you can use <code>cat 6in4.log</code> to query the commands that need to be executed on the client side</p><p>For copied commands, be sure to select option <code>6in4</code> in <a href="https://ipv6tunnel.spiritlhl.top/" target="_blank" rel="noreferrer">https://ipv6tunnel.spiritlhl.top/</a> before converting!</p><p>Then the page will be refreshed automatically and you need to modify the contents of the<code>/etc/network/interfaces</code>file with vim or vi commands, or modify the following commands to add new contents.</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">tee -a /etc/network/interfaces <<EOF</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"># Modify here</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">EOF</span></span></code></pre></div><p>Then you'll need to reboot the system a bit, or run</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">apt-get install net-tools iproute2 -y</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">systemctl restart networking</span></span></code></pre></div><p>Make sure the environment is OK before you do anything else</p><h3 id="check-server-status" tabindex="-1">Check server status <a class="header-anchor" href="#check-server-status" aria-label="Permalink to "Check server status""></a></h3><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">systemctl status ndpresponder</span></span></code></pre></div><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">ip addr show</span></span></code></pre></div><h3 id="check-client-status" tabindex="-1">Check client status <a class="header-anchor" href="#check-client-status" aria-label="Permalink to "Check client status""></a></h3><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">ip addr show</span></span></code></pre></div><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">curl ipv6.ip.sb</span></span></code></pre></div><h3 id="delete-tunnel" tabindex="-1">Delete tunnel <a class="header-anchor" href="#delete-tunnel" aria-label="Permalink to "Delete tunnel""></a></h3><p>server</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">ip link set server-ipv6 down</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">ip tunnel del server-ipv6</span></span></code></pre></div><p>client</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">ip link set user-ipv6 down</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">ip tunnel del user-ipv6</span></span></code></pre></div><p>The above deletion is only temporary, for permanent deletion you must modify and delete the contents of the <code>/etc/network/interfaces</code> file that you have previously added.</p><h3 id="one-more-thing" tabindex="-1">one more thing <a class="header-anchor" href="#one-more-thing" aria-label="Permalink to "one more thing""></a></h3><p>In fact <a href="https://tunnelbroker.net/" target="_blank" rel="noreferrer">https://tunnelbroker.net/</a> supports the application of IPV6 subnets of size <code>/48</code></p><p><img src="https://github.com/oneclickvirt/oneclickvirt.github.io/assets/103393591/07987e41-0158-430c-bcc5-f7cd8652b2c4" alt=""></p><p>Make the request here, then when converting the format change the original <code>/64</code> IPV6 address to a <code>/48</code> IPV6 address and you'll get a larger IPV6 subnet!</p><h2 id="supplemental-cloudflare-warp-ipv4-ipv6-outbound" tabindex="-1">Supplemental CloudFlare WARP IPv4 / IPv6 outbound <a class="header-anchor" href="#supplemental-cloudflare-warp-ipv4-ipv6-outbound" aria-label="Permalink to "Supplemental CloudFlare WARP IPv4 / IPv6 outbound""></a></h2><h3 id="_1-benefits" tabindex="-1">1: Benefits <a class="header-anchor" href="#_1-benefits" aria-label="Permalink to "1: Benefits""></a></h3><ul><li>By installing it on the host machine, all enabled machines can benefit from the advantages of Warp without the need for individual configurations, thus saving resources and simplifying management.</li><li>The use of kernel WireGuard on the host machine enables more efficient operation of WireGuard compared to user-space WireGuard-Go.</li></ul><h3 id="_2-manual-installation" tabindex="-1">2: Manual Installation <a class="header-anchor" href="#_2-manual-installation" aria-label="Permalink to "2: Manual Installation""></a></h3><h4 id="_2-1-installing-wireguard-dependencies" tabindex="-1">2-1 Installing WireGuard Dependencies <a class="header-anchor" href="#_2-1-installing-wireguard-dependencies" aria-label="Permalink to "2-1 Installing WireGuard Dependencies""></a></h4><ul><li>Debian and Ubuntu systems</li></ul><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;"># Update dependent libraries</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">apt update -y</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"></span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"># Install WireGuard runtime dependencies</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">apt install -y --no-install-recommends net-tools openresolv dnsutils</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"></span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"># Install WireGuard protocol-compatible toolset</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">apt install -y --no-install-recommends wireguard-tools</span></span></code></pre></div><ul><li>CentOS systems</li></ul><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;"># Update dependent libraries</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">yum update -y</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"></span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"># Install additional package components</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">yum install -y epel-release </span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"></span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"># Install WireGuard runtime dependencies</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">yum install -y net-tools</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"></span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"># Install WireGuard protocol-compatible toolset</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">yum install -y wireguard-tools</span></span></code></pre></div><h4 id="_2-2-getting-warp-account-information" tabindex="-1">2-2 Getting warp account information <a class="header-anchor" href="#_2-2-getting-warp-account-information" aria-label="Permalink to "2-2 Getting warp account information""></a></h4><p>Visit <a href="https://warp.cloudflare.now.cc/?run=register&format=yaml" target="_blank" rel="noreferrer">https://warp.cloudflare.now.cc/?run=register&format=yaml</a> and record private_key, v6 2 values</p><p><img src="https://img.imgdd.com/f210f3.5085a04e-edd3-4294-bb34-9e8263360c42.png" alt="image.png"></p><h4 id="_2-3-modifying-configuration-files" tabindex="-1">2-3: Modifying Configuration Files <a class="header-anchor" href="#_2-3-modifying-configuration-files" aria-label="Permalink to "2-3: Modifying Configuration Files""></a></h4><ul><li><p>Create and edit the /etc/wireguard/warp.conf file, replacing any parts that contain <> (pointy brackets) together, just to make it look obvious.</p></li><li><p>For IPv4-only hosts, Warp takes over IPv6 egress only</p></li></ul><div class="language-shell"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[</span><span style="color:#A6ACCD;">Interface</span><span style="color:#89DDFF;">]</span></span>
|
||
<span class="line"><span style="color:#FFCB6B;">PrivateKey</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">=</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;"><</span><span style="color:#C3E88D;">Your</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">PrivateKe</span><span style="color:#A6ACCD;">y</span><span style="color:#89DDFF;">></span></span>
|
||
<span class="line"><span style="color:#FFCB6B;">Address</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">=</span><span style="color:#A6ACCD;"> </span><span style="color:#F78C6C;">172.16</span><span style="color:#C3E88D;">.0.2/32</span></span>
|
||
<span class="line"><span style="color:#FFCB6B;">Address</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">=</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;"><</span><span style="color:#C3E88D;">Your</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">Address-v6</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">></span><span style="color:#C3E88D;">/128</span></span>
|
||
<span class="line"><span style="color:#FFCB6B;">DNS</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">=</span><span style="color:#A6ACCD;"> </span><span style="color:#F78C6C;">1.1</span><span style="color:#C3E88D;">.1.1,</span><span style="color:#A6ACCD;"> </span><span style="color:#F78C6C;">1.0</span><span style="color:#C3E88D;">.0.1,</span><span style="color:#A6ACCD;"> </span><span style="color:#F78C6C;">2606</span><span style="color:#C3E88D;">:4700:4700::1111,</span><span style="color:#A6ACCD;"> </span><span style="color:#F78C6C;">2606</span><span style="color:#C3E88D;">:4700:4700::1001</span></span>
|
||
<span class="line"><span style="color:#FFCB6B;">MTU</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">=</span><span style="color:#A6ACCD;"> </span><span style="color:#F78C6C;">1280</span></span>
|
||
<span class="line"></span>
|
||
<span class="line"><span style="color:#89DDFF;">[</span><span style="color:#A6ACCD;">Peer</span><span style="color:#89DDFF;">]</span></span>
|
||
<span class="line"><span style="color:#FFCB6B;">PublicKey</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">=</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=</span></span>
|
||
<span class="line"><span style="color:#FFCB6B;">AllowedIPs</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">=</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">::/0</span></span>
|
||
<span class="line"><span style="color:#FFCB6B;">Endpoint</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">=</span><span style="color:#A6ACCD;"> </span><span style="color:#F78C6C;">162.159</span><span style="color:#C3E88D;">.193.10:2408</span></span></code></pre></div><ul><li>For IPv6 only hosts, Warp takes over IPv4 egress only.</li></ul><div class="language-shell"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[</span><span style="color:#A6ACCD;">Interface</span><span style="color:#89DDFF;">]</span></span>
|
||
<span class="line"><span style="color:#FFCB6B;">PrivateKey</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">=</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;"><</span><span style="color:#C3E88D;">Your</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">PrivateKe</span><span style="color:#A6ACCD;">y</span><span style="color:#89DDFF;">></span></span>
|
||
<span class="line"><span style="color:#FFCB6B;">Address</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">=</span><span style="color:#A6ACCD;"> </span><span style="color:#F78C6C;">172.16</span><span style="color:#C3E88D;">.0.2/32</span></span>
|
||
<span class="line"><span style="color:#FFCB6B;">Address</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">=</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;"><</span><span style="color:#C3E88D;">Your</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">Address-v</span><span style="color:#89DDFF;">6></span><span style="color:#C3E88D;">/128</span></span>
|
||
<span class="line"><span style="color:#FFCB6B;">DNS</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">=</span><span style="color:#A6ACCD;"> </span><span style="color:#F78C6C;">2606</span><span style="color:#C3E88D;">:4700:4700::1111,</span><span style="color:#A6ACCD;"> </span><span style="color:#F78C6C;">2606</span><span style="color:#C3E88D;">:4700:4700::1001,</span><span style="color:#A6ACCD;"> </span><span style="color:#F78C6C;">1.1</span><span style="color:#C3E88D;">.1.1,</span><span style="color:#A6ACCD;"> </span><span style="color:#F78C6C;">1.0</span><span style="color:#C3E88D;">.0.1</span></span>
|
||
<span class="line"><span style="color:#FFCB6B;">MTU</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">=</span><span style="color:#A6ACCD;"> </span><span style="color:#F78C6C;">1280</span></span>
|
||
<span class="line"></span>
|
||
<span class="line"><span style="color:#89DDFF;">[</span><span style="color:#A6ACCD;">Peer</span><span style="color:#89DDFF;">]</span></span>
|
||
<span class="line"><span style="color:#FFCB6B;">PublicKey</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">=</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=</span></span>
|
||
<span class="line"><span style="color:#FFCB6B;">AllowedIPs</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">=</span><span style="color:#A6ACCD;"> </span><span style="color:#F78C6C;">0.0</span><span style="color:#C3E88D;">.0.0/0</span></span>
|
||
<span class="line"><span style="color:#FFCB6B;">Endpoint</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">=</span><span style="color:#A6ACCD;"> [2606:4700:d0::a29f:c101]:2408</span></span></code></pre></div><ul><li>There's no need to target dual-stack, after all, native network outlets are better than relaying through Warp</li></ul><h4 id="_2-4-setting-the-address-resolution-priority" tabindex="-1">2-4: Setting the Address Resolution Priority <a class="header-anchor" href="#_2-4-setting-the-address-resolution-priority" aria-label="Permalink to "2-4: Setting the Address Resolution Priority""></a></h4><p>For IPv4-only host machines, Warp only takes control of the IPv6 outbound, prioritizing the use of the native network's IPv4 outbound.</p><div class="language-shell"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#676E95;font-style:italic;"># IPv4 priority</span></span>
|
||
<span class="line"><span style="color:#FFCB6B;">grep</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">-qE</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">'</span><span style="color:#C3E88D;">^[ ]*precedence[ ]*::ffff:0:0/96[ ]*100</span><span style="color:#89DDFF;">'</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">/etc/gai.conf</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">||</span><span style="color:#A6ACCD;"> </span><span style="color:#82AAFF;">echo</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">'</span><span style="color:#C3E88D;">precedence ::ffff:0:0/96 100</span><span style="color:#89DDFF;">'</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">>></span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">/etc/gai.conf</span></span></code></pre></div><p>For IPv6-only host machines, Warp only takes control of the IPv4 outbound, prioritizing the use of the native network's IPv6 outbound.</p><div class="language-shell"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#676E95;font-style:italic;"># IPv6 priority</span></span>
|
||
<span class="line"><span style="color:#FFCB6B;">sed</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">-i</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">'</span><span style="color:#C3E88D;">/^precedence \:\:ffff\:0\:0/d;/^label 2002\:\:\/16/d</span><span style="color:#89DDFF;">'</span><span style="color:#A6ACCD;"> </span><span style="color:#C3E88D;">/etc/gai.conf</span></span></code></pre></div><h4 id="_2-5-connecting-to-warp-and-setting-up-the-systemd-process-daemon" tabindex="-1">2-5: Connecting to Warp and setting up the systemd process daemon <a class="header-anchor" href="#_2-5-connecting-to-warp-and-setting-up-the-systemd-process-daemon" aria-label="Permalink to "2-5: Connecting to Warp and setting up the systemd process daemon""></a></h4><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;"># Run wireguard to connect to Warp. If this step gets stuck and causes the connection to be lost, reboot the host in the background to resolve it.</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">wg-quick up warp</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"></span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"># Check IPv4</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">curl -A a https://api-ipv4.ip.sb/geoip</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"></span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"># Check IPv6</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">curl -A a https://api-ipv6.ip.sb/geoip</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"></span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"># Disconnect from Warp after successful test.</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">wg-quick down warp</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"></span></span>
|
||
<span class="line"><span style="color:#A6ACCD;"># Reconnect and set process daemon to take effect automatically after reboot.</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">systemctl enable --now wg-quick@warp</span></span></code></pre></div><h3 id="_3-autorun-fscarmen-s-one-click-scripts" tabindex="-1">3: Autorun: fscarmen's one-click scripts <a class="header-anchor" href="#_3-autorun-fscarmen-s-one-click-scripts" aria-label="Permalink to "3: Autorun: fscarmen's one-click scripts""></a></h3><p>Finally, the one-click script for fscarmen is introduced. The script is mentioned as a handy tool to simplify the configuration process. It also automatically handles advanced parameters such as Optimal MTU, Optimal Endpoint, etc.</p><p>Project: <a href="https://github.com/fscarmen/warp-sh" target="_blank" rel="noreferrer">https://github.com/fscarmen/warp-sh</a></p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;"># Run one-key script</span></span>
|
||
<span class="line"><span style="color:#A6ACCD;">wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh</span></span></code></pre></div><p><img src="https://img.imgdd.com/f210f3.b94cf8fb-82f2-4160-95a7-c2859238284f.png" alt="image.png"></p></div></div></main><footer class="VPDocFooter" data-v-6b87e69f data-v-37656e44><!--[--><!--]--><div class="edit-info" data-v-37656e44><div class="edit-link" data-v-37656e44><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://github.com/oneclickvirt/oneclickvirt.github.io/edit/main/docs/en/guide/incus/incus_custom.md" target="_blank" rel="noreferrer" data-v-37656e44><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="edit-link-icon" aria-label="edit icon" data-v-37656e44><path d="M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z"></path><path d="M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z"></path></svg> Edit this page on GitHub<!--]--></a></div><div class="last-updated" data-v-37656e44><p class="VPLastUpdated" data-v-37656e44 data-v-149a99df>Last Updated: <time datetime="2025-04-19T13:33:06.000Z" data-v-149a99df></time></p></div></div><nav class="prev-next" data-v-37656e44><div class="pager" data-v-37656e44><a class="pager-link prev" href="/en/guide/incus/incus_extra_config.html" data-v-37656e44><span class="desc" data-v-37656e44>Previous page</span><span class="title" data-v-37656e44>Extra configuration</span></a></div><div class="pager" data-v-37656e44><a class="pager-link next" href="/en/guide/incus/incus_thanks.html" data-v-37656e44><span class="desc" data-v-37656e44>Next page</span><span class="title" data-v-37656e44>Acknowledgements</span></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-255ec12d data-v-e03eb2e1><div class="container" data-v-e03eb2e1><p class="message" data-v-e03eb2e1>Under <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">(CC BY-NC-SA 4.0) License.</a><br>Thanks to <a href="https://www.cloudflare.com/">cloudflare</a> and <a href="https://blog.tanglu.me/">tanglu.me</a> for the CDN.</p><p class="copyright" data-v-e03eb2e1>Copyright © 2022-present oneclickvirt</p></div></footer><!--[--><!--]--></div></div>
|
||
<script>window.__VP_HASH_MAP__=JSON.parse("{\"en_guide_block_block_docker.md\":\"d4716fb1\",\"en_guide_dashboard.md\":\"c0d19659\",\"en_guide_block_block_pve.md\":\"214896fe\",\"case_case7.md\":\"36f35e50\",\"en_guide_block_block_lxd.md\":\"1e49cd43\",\"case_case2.md\":\"e2acf4c9\",\"en_guide_block_block_incus.md\":\"3b5ba792\",\"case_case8.md\":\"abdc669d\",\"case_index.md\":\"ce277d5a\",\"case_case6.md\":\"a3db03c0\",\"developer_index.md\":\"37840a1e\",\"en_guide_lxd_lxd_thanks.md\":\"697750e2\",\"en_guide_pve_images_readme.md\":\"99924594\",\"en_guide_incus_incus_custom.md\":\"6c526825\",\"case_case1.md\":\"9b927da8\",\"en_guide_docker_docker_thanks.md\":\"d9ae7fce\",\"guide_lxd_lxd_extra_config.md\":\"9dd34321\",\"guide_pve_pve_install.md\":\"fd49d22f\",\"en_guide_lxd_lxd_install.md\":\"c3f706f7\",\"incomplete_pterodactyl.md\":\"afd8ef28\",\"case_case5.md\":\"dd9d3620\",\"en_developer_index.md\":\"8037d0e2\",\"guide_incus_incus_precheck.md\":\"2997d952\",\"en_guide_pve_pve_precheck.md\":\"556fa312\",\"en_guide_pve_pve_lxc.md\":\"6feba236\",\"guide_incus_incus_lxc.md\":\"1e3123ba\",\"guide_dashboardq.md\":\"8ac1ecc6\",\"guide_incus_incus_install.md\":\"9fc05cfb\",\"en_guide_pve_pve_qa.md\":\"e8cf30a4\",\"guide_lxd_lxd_install.md\":\"6fad9a3e\",\"guide_block_block_lxd.md\":\"6559d7d1\",\"en_guide_lxd_lxd_custom.md\":\"13cd385e\",\"incomplete_webvirtcloud.md\":\"fefccc13\",\"guide_pve_pve_precheck.md\":\"25459abb\",\"en_guide_docker_docker_custom.md\":\"eeab6b42\",\"guide_pve_pve_windows.md\":\"3c71646b\",\"guide_pve_pve_qa.md\":\"4785f439\",\"en_guide_pve_pve_custom.md\":\"a6a438d2\",\"guide_lxd_lxd_custom.md\":\"025b96cd\",\"guide_lxd_lxd_precheck.md\":\"90e7f668\",\"incomplete_convoy.md\":\"bb596f28\",\"en_guide_lxd_lxd_qa.md\":\"4e5c8e2d\",\"en_guide_docker_docker_qa.md\":\"4f29475f\",\"en_guide_incus_incus_qa.md\":\"b88548c5\",\"guide_block_block_iptables.md\":\"80d248b2\",\"case_case3.md\":\"12c44955\",\"en_guide_docker_docker_install.md\":\"351ff47d\",\"en_developer_l10n.md\":\"529ff392\",\"guide_docker_docker_qa.md\":\"2be4c44b\",\"incomplete_index.md\":\"22e2d0fd\",\"guide_block_block_pve.md\":\"34b20396\",\"en_guide_incus_incus_install.md\":\"30d330ba\",\"guide_docker_docker_thanks.md\":\"041657e3\",\"guide_lxd_lxd_thanks.md\":\"060a0d86\",\"guide_lxd_lxd_qa.md\":\"9ea587c8\",\"case_case4.md\":\"b5708d0e\",\"en_guide_dashboardq.md\":\"0027bb10\",\"guide_incus_incus_qa.md\":\"6a68ff6d\",\"en_guide_incus_incus_thanks.md\":\"c6db1037\",\"index.md\":\"5e257eb0\",\"en_guide_docker_docker_build.md\":\"c49c5d38\",\"guide_pve_pve_lxc.md\":\"c7d19113\",\"en_guide_pve_pve_install.md\":\"dde539c4\",\"guide_docker_docker_install.md\":\"c054e05b\",\"en_guide_pve_pve_kvm.md\":\"639eed41\",\"en_guide_pve_pve_windows.md\":\"3336aede\",\"developer_l10n.md\":\"2167d8fe\",\"guide_pve_images_readme.md\":\"c3e03b22\",\"en_index.md\":\"3df1d1e8\",\"guide_docker_docker_precheck.md\":\"f95b1001\",\"en_guide_incus_incus_extra_config.md\":\"aff12529\",\"guide_block_block_incus.md\":\"2da8f255\",\"guide_block_block_docker.md\":\"06002353\",\"en_guide_incus_incus_precheck.md\":\"c38bde4c\",\"guide_incus_incus_thanks.md\":\"be1e0bbb\",\"en_guide_pve_pve_thanks.md\":\"bf71036f\",\"en_guide_lxd_lxd_precheck.md\":\"e412a4ca\",\"guide_lxd_lxd_lxc.md\":\"4b699dfb\",\"en_guide_docker_docker_precheck.md\":\"4f298fc5\",\"guide_pve_pve_custom.md\":\"ab02dc0d\",\"en_guide_lxd_lxd_extra_config.md\":\"eb148926\",\"guide_incus_incus_extra_config.md\":\"06687abe\",\"guide_docker_docker_custom.md\":\"a3331a9a\",\"guide_pve_pve_kvm.md\":\"49033dcd\",\"en_guide_incus_incus_lxc.md\":\"e5131b56\",\"guide_docker_docker_build.md\":\"dd572fe4\",\"guide_dashboard.md\":\"dd03a43b\",\"en_guide_block_block_iptables.md\":\"cce4ff28\",\"guide_incus_incus_custom.md\":\"8bf7aada\",\"guide_pve_pve_thanks.md\":\"7a598869\",\"en_guide_lxd_lxd_lxc.md\":\"9b0e9ca6\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"zh-CN\",\"dir\":\"ltr\",\"title\":\"VitePress\",\"description\":\"A VitePress site\",\"base\":\"/\",\"head\":[],\"appearance\":true,\"themeConfig\":{\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/oneclickvirt/oneclickvirt.github.io\"}],\"algolia\":{\"appId\":\"K1R85MDU0C\",\"apiKey\":\"9375787ec1c00e2b813683fbbde25ae2\",\"indexName\":\"virt-spiritlhl\"},\"footer\":{\"message\":\"Under <a rel=\\\"license\\\" href=\\\"http://creativecommons.org/licenses/by-nc-sa/4.0/\\\">(CC BY-NC-SA 4.0) License.</a><br>Thanks to <a href=\\\"https://www.cloudflare.com/\\\">cloudflare</a> and <a href=\\\"https://blog.tanglu.me/\\\">tanglu.me</a> for the CDN.\",\"copyright\":\"Copyright © 2022-present oneclickvirt\"}},\"locales\":{\"root\":{\"lang\":\"zh-CN\",\"label\":\"简体中文\",\"title\":\"一键虚拟化项目\",\"description\":\"开源、易于使用的服务器虚拟化项目\",\"link\":\"/\",\"themeConfig\":{\"logo\":{\"src\":\"https://cdn.spiritlhl.net/https://raw.githubusercontent.com/spiritlhls/pages/main/logo.png\"},\"lastUpdatedText\":\"上次更新\",\"editLink\":{\"pattern\":\"https://github.com/oneclickvirt/oneclickvirt.github.io/edit/main/docs/:path\",\"text\":\"在GitHub中编辑\"},\"nav\":[{\"text\":\"一键虚拟化项目\",\"link\":\"/\",\"activeMatch\":\"^/$|^/guide/\"},{\"text\":\"其他虚拟化项目\",\"link\":\"/incomplete/index\",\"activeMatch\":\"^/incomplete/\"},{\"text\":\"其他实用项目\",\"link\":\"/case/index\",\"activeMatch\":\"^/case/\"},{\"text\":\"VPS余量监控\",\"link\":\"https://spiders.spiritlhl.net/\"},{\"text\":\"VPS测试存档\",\"link\":\"https://beta.spiritlhl.net/\"}],\"sidebar\":{\"/\":[{\"text\":\"所有项目的前置条件\",\"items\":[{\"text\":\"准备工作\",\"link\":\"/guide/dashboard.html\"}]},{\"text\":\"Proxmox VE\",\"items\":[{\"text\":\"系统和硬件配置要求\",\"link\":\"/guide/pve/pve_precheck.html\"},{\"text\":\"PVE主体安装\",\"link\":\"/guide/pve/pve_install.html\"},{\"text\":\"KVM虚拟化\",\"link\":\"/guide/pve/pve_kvm.html\"},{\"text\":\"LXC虚拟化\",\"link\":\"/guide/pve/pve_lxc.html\"},{\"text\":\"开设Windows虚拟机\",\"link\":\"/guide/pve/pve_windows.html\"},{\"text\":\"自定义\",\"link\":\"/guide/pve/pve_custom.html\"},{\"text\":\"致谢\",\"link\":\"/guide/pve/pve_thanks.html\"},{\"text\":\"常见问题答疑\",\"link\":\"/guide/pve/pve_qa.html\"}]},{\"text\":\"incus\",\"items\":[{\"text\":\"系统和硬件配置要求\",\"link\":\"/guide/incus/incus_precheck.html\"},{\"text\":\"incus主体安装\",\"link\":\"/guide/incus/incus_install.html\"},{\"text\":\"LXC虚拟化\",\"link\":\"/guide/incus/incus_lxc.html\"},{\"text\":\"更多配置\",\"link\":\"/guide/incus/incus_extra_config.html\"},{\"text\":\"自定义\",\"link\":\"/guide/incus/incus_custom.html\"},{\"text\":\"致谢\",\"link\":\"/guide/incus/incus_thanks.html\"},{\"text\":\"常见问题答疑\",\"link\":\"/guide/incus/incus_qa.html\"}]},{\"text\":\"Docker\",\"items\":[{\"text\":\"系统和硬件配置要求\",\"link\":\"/guide/docker/docker_precheck.html\"},{\"text\":\"Docker主体安装\",\"link\":\"/guide/docker/docker_install.html\"},{\"text\":\"Docker虚拟化\",\"link\":\"/guide/docker/docker_build.html\"},{\"text\":\"自定义\",\"link\":\"/guide/docker/docker_custom.html\"},{\"text\":\"致谢\",\"link\":\"/guide/docker/docker_thanks.html\"},{\"text\":\"常见问题答疑\",\"link\":\"/guide/docker/docker_qa.html\"}]},{\"text\":\"LXD\",\"items\":[{\"text\":\"系统和硬件配置要求\",\"link\":\"/guide/lxd/lxd_precheck.html\"},{\"text\":\"LXD主体安装\",\"link\":\"/guide/lxd/lxd_install.html\"},{\"text\":\"LXC虚拟化\",\"link\":\"/guide/lxd/lxd_lxc.html\"},{\"text\":\"更多配置\",\"link\":\"/guide/lxd/lxd_extra_config.html\"},{\"text\":\"自定义\",\"link\":\"/guide/lxd/lxd_custom.html\"},{\"text\":\"致谢\",\"link\":\"/guide/lxd/lxd_thanks.html\"},{\"text\":\"常见问题答疑\",\"link\":\"/guide/lxd/lxd_qa.html\"}]},{\"text\":\"屏蔽滥用\",\"items\":[{\"text\":\"通过iptables\",\"link\":\"/guide/block/block_iptables.html\"},{\"text\":\"在PVE上\",\"link\":\"/guide/block/block_pve.html\"},{\"text\":\"在INCUS上\",\"link\":\"/guide/block/block_incus.html\"},{\"text\":\"在LXD上\",\"link\":\"/guide/block/block_lxd.html\"},{\"text\":\"在DOCKER上\",\"link\":\"/guide/block/block_docker.html\"}]},{\"text\":\"捐赠\",\"items\":[{\"text\":\"捐赠\",\"link\":\"/guide/dashboardq.html\"}]}],\"/guide/\":[{\"text\":\"所有项目的前置条件\",\"items\":[{\"text\":\"准备工作\",\"link\":\"/guide/dashboard.html\"}]},{\"text\":\"Proxmox VE\",\"items\":[{\"text\":\"系统和硬件配置要求\",\"link\":\"/guide/pve/pve_precheck.html\"},{\"text\":\"PVE主体安装\",\"link\":\"/guide/pve/pve_install.html\"},{\"text\":\"KVM虚拟化\",\"link\":\"/guide/pve/pve_kvm.html\"},{\"text\":\"LXC虚拟化\",\"link\":\"/guide/pve/pve_lxc.html\"},{\"text\":\"开设Windows虚拟机\",\"link\":\"/guide/pve/pve_windows.html\"},{\"text\":\"自定义\",\"link\":\"/guide/pve/pve_custom.html\"},{\"text\":\"致谢\",\"link\":\"/guide/pve/pve_thanks.html\"},{\"text\":\"常见问题答疑\",\"link\":\"/guide/pve/pve_qa.html\"}]},{\"text\":\"incus\",\"items\":[{\"text\":\"系统和硬件配置要求\",\"link\":\"/guide/incus/incus_precheck.html\"},{\"text\":\"incus主体安装\",\"link\":\"/guide/incus/incus_install.html\"},{\"text\":\"LXC虚拟化\",\"link\":\"/guide/incus/incus_lxc.html\"},{\"text\":\"更多配置\",\"link\":\"/guide/incus/incus_extra_config.html\"},{\"text\":\"自定义\",\"link\":\"/guide/incus/incus_custom.html\"},{\"text\":\"致谢\",\"link\":\"/guide/incus/incus_thanks.html\"},{\"text\":\"常见问题答疑\",\"link\":\"/guide/incus/incus_qa.html\"}]},{\"text\":\"Docker\",\"items\":[{\"text\":\"系统和硬件配置要求\",\"link\":\"/guide/docker/docker_precheck.html\"},{\"text\":\"Docker主体安装\",\"link\":\"/guide/docker/docker_install.html\"},{\"text\":\"Docker虚拟化\",\"link\":\"/guide/docker/docker_build.html\"},{\"text\":\"自定义\",\"link\":\"/guide/docker/docker_custom.html\"},{\"text\":\"致谢\",\"link\":\"/guide/docker/docker_thanks.html\"},{\"text\":\"常见问题答疑\",\"link\":\"/guide/docker/docker_qa.html\"}]},{\"text\":\"LXD\",\"items\":[{\"text\":\"系统和硬件配置要求\",\"link\":\"/guide/lxd/lxd_precheck.html\"},{\"text\":\"LXD主体安装\",\"link\":\"/guide/lxd/lxd_install.html\"},{\"text\":\"LXC虚拟化\",\"link\":\"/guide/lxd/lxd_lxc.html\"},{\"text\":\"更多配置\",\"link\":\"/guide/lxd/lxd_extra_config.html\"},{\"text\":\"自定义\",\"link\":\"/guide/lxd/lxd_custom.html\"},{\"text\":\"致谢\",\"link\":\"/guide/lxd/lxd_thanks.html\"},{\"text\":\"常见问题答疑\",\"link\":\"/guide/lxd/lxd_qa.html\"}]},{\"text\":\"屏蔽滥用\",\"items\":[{\"text\":\"通过iptables\",\"link\":\"/guide/block/block_iptables.html\"},{\"text\":\"在PVE上\",\"link\":\"/guide/block/block_pve.html\"},{\"text\":\"在INCUS上\",\"link\":\"/guide/block/block_incus.html\"},{\"text\":\"在LXD上\",\"link\":\"/guide/block/block_lxd.html\"},{\"text\":\"在DOCKER上\",\"link\":\"/guide/block/block_docker.html\"}]},{\"text\":\"捐赠\",\"items\":[{\"text\":\"捐赠\",\"link\":\"/guide/dashboardq.html\"}]}],\"/case/\":[{\"text\":\"Linux相关\",\"items\":[{\"text\":\"1. VPS融合怪服务器测评脚本\",\"link\":\"/case/case1.html\"},{\"text\":\"2. 一键修复与安装脚本(各种linux系统修复与服务器环境安装脚本)\",\"link\":\"/case/case2.html\"},{\"text\":\"3. 自动更新测试服务器节点列表的网络基准测试脚本\",\"link\":\"/case/case3.html\"},{\"text\":\"4. 三网回程路由线路测试脚本\",\"link\":\"/case/case4.html\"},{\"text\":\"5. 御三家流媒体解锁测试脚本\",\"link\":\"/case/case5.html\"},{\"text\":\"6. 服务器资源占用脚本\",\"link\":\"/case/case6.html\"},{\"text\":\"7. 为linux服务器增加swap分区(虚拟内存)\",\"link\":\"/case/case7.html\"},{\"text\":\"8. 为linux服务器启用zram设备(压缩内存)\",\"link\":\"/case/case8.html\"}]}],\"/incomplete/\":[{\"text\":\"其他虚拟化项目\",\"items\":[{\"text\":\"pterodactyl\",\"link\":\"/incomplete/pterodactyl.html\"},{\"text\":\"webvirtcloud\",\"link\":\"/incomplete/webvirtcloud.html\"},{\"text\":\"convoy\",\"link\":\"/incomplete/convoy.html\"}]}],\"/developer/\":[{\"text\":\"开发手册\",\"items\":[{\"text\":\"l10n\",\"link\":\"/developer/l10n.html\"}]}]}}},\"en\":{\"lang\":\"en-US\",\"label\":\"English\",\"title\":\"One Click Virtualization\",\"description\":\"Open source, easy to use server virtualization project\",\"link\":\"/en/\",\"themeConfig\":{\"logo\":{\"src\":\"https://cdn.spiritlhl.net/https://raw.githubusercontent.com/spiritlhls/pages/main/logo.png\"},\"lastUpdatedText\":\"Last Updated\",\"editLink\":{\"text\":\"Edit this page on GitHub\",\"pattern\":\"https://github.com/oneclickvirt/oneclickvirt.github.io/edit/main/docs/:path\"},\"nav\":[{\"text\":\"One Click Virtualization\",\"link\":\"/en/\",\"activeMatch\":\"^/en/guide/\"},{\"text\":\"VPS Stock Monitor\",\"link\":\"https://spiders.spiritlhl.net/\"},{\"text\":\"VPS Test Archive\",\"link\":\"https://beta.spiritlhl.net/\"}],\"sidebar\":{\"/en/\":[{\"text\":\"Pre-requisites for all projects\",\"items\":[{\"text\":\"Preparation\",\"link\":\"/en/guide/dashboard.html\"}]},{\"text\":\"Proxmox VE\",\"items\":[{\"text\":\"Configuration requirements\",\"link\":\"/en/guide/pve/pve_precheck.html\"},{\"text\":\"PVE main installation\",\"link\":\"/en/guide/pve/pve_install.html\"},{\"text\":\"KVM Virtualization\",\"link\":\"/en/guide/pve/pve_kvm.html\"},{\"text\":\"LXC Virtualization\",\"link\":\"/en/guide/pve/pve_lxc.html\"},{\"text\":\"Windows Virtual Machine\",\"link\":\"/en/guide/pve/pve_windows.html\"},{\"text\":\"Custom\",\"link\":\"/en/guide/pve/pve_custom.html\"},{\"text\":\"Acknowledgements\",\"link\":\"/en/guide/pve/pve_thanks.html\"},{\"text\":\"FAQ\",\"link\":\"/en/guide/pve/pve_qa.html\"}]},{\"text\":\"incus\",\"items\":[{\"text\":\"Configuration requirements\",\"link\":\"/en/guide/incus/incus_precheck.html\"},{\"text\":\"incus main installation\",\"link\":\"/en/guide/incus/incus_install.html\"},{\"text\":\"LXC Virtualization\",\"link\":\"/en/guide/incus/incus_lxc.html\"},{\"text\":\"Extra configuration\",\"link\":\"/en/guide/incus/incus_extra_config.html\"},{\"text\":\"Custom\",\"link\":\"/en/guide/incus/incus_custom.html\"},{\"text\":\"Acknowledgements\",\"link\":\"/en/guide/incus/incus_thanks.html\"},{\"text\":\"FAQ\",\"link\":\"/en/guide/incus/incus_qa.html\"}]},{\"text\":\"Docker\",\"items\":[{\"text\":\"Configuration requirements\",\"link\":\"/en/guide/docker/docker_precheck.html\"},{\"text\":\"Docker main installation\",\"link\":\"/en/guide/docker/docker_install.html\"},{\"text\":\"Docker Virtualization\",\"link\":\"/en/guide/docker/docker_build.html\"},{\"text\":\"Custom\",\"link\":\"/en/guide/docker/docker_custom.html\"},{\"text\":\"Acknowledgements\",\"link\":\"/en/guide/docker/docker_thanks.html\"},{\"text\":\"FAQ\",\"link\":\"/en/guide/docker/docker_qa.html\"}]},{\"text\":\"LXD\",\"items\":[{\"text\":\"Configuration requirements\",\"link\":\"/en/guide/lxd/lxd_precheck.html\"},{\"text\":\"LXD main installation\",\"link\":\"/en/guide/lxd/lxd_install.html\"},{\"text\":\"LXC Virtualization\",\"link\":\"/en/guide/lxd/lxd_lxc.html\"},{\"text\":\"Extra configuration\",\"link\":\"/en/guide/lxd/lxd_extra_config.html\"},{\"text\":\"Custom\",\"link\":\"/en/guide/lxd/lxd_custom.html\"},{\"text\":\"Acknowledgements\",\"link\":\"/en/guide/lxd/lxd_thanks.html\"},{\"text\":\"FAQ\",\"link\":\"/en/guide/lxd/lxd_qa.html\"}]},{\"text\":\"Block Abuse\",\"items\":[{\"text\":\"via iptables\",\"link\":\"/guide/block/block_iptables.html\"},{\"text\":\"In PVE\",\"link\":\"/guide/block/block_pve.html\"},{\"text\":\"In INCUS\",\"link\":\"/guide/block/block_incus.html\"},{\"text\":\"In LXD\",\"link\":\"/guide/block/block_lxd.html\"},{\"text\":\"In DOCKER\",\"link\":\"/guide/block/block_docker.html\"}]},{\"text\":\"Donation\",\"items\":[{\"text\":\"Donation\",\"link\":\"/guide/dashboardq.html\"}]}],\"/en/guide/\":[{\"text\":\"Pre-requisites for all projects\",\"items\":[{\"text\":\"Preparation\",\"link\":\"/en/guide/dashboard.html\"}]},{\"text\":\"Proxmox VE\",\"items\":[{\"text\":\"Configuration requirements\",\"link\":\"/en/guide/pve/pve_precheck.html\"},{\"text\":\"PVE main installation\",\"link\":\"/en/guide/pve/pve_install.html\"},{\"text\":\"KVM Virtualization\",\"link\":\"/en/guide/pve/pve_kvm.html\"},{\"text\":\"LXC Virtualization\",\"link\":\"/en/guide/pve/pve_lxc.html\"},{\"text\":\"Windows Virtual Machine\",\"link\":\"/en/guide/pve/pve_windows.html\"},{\"text\":\"Custom\",\"link\":\"/en/guide/pve/pve_custom.html\"},{\"text\":\"Acknowledgements\",\"link\":\"/en/guide/pve/pve_thanks.html\"},{\"text\":\"FAQ\",\"link\":\"/en/guide/pve/pve_qa.html\"}]},{\"text\":\"incus\",\"items\":[{\"text\":\"Configuration requirements\",\"link\":\"/en/guide/incus/incus_precheck.html\"},{\"text\":\"incus main installation\",\"link\":\"/en/guide/incus/incus_install.html\"},{\"text\":\"LXC Virtualization\",\"link\":\"/en/guide/incus/incus_lxc.html\"},{\"text\":\"Extra configuration\",\"link\":\"/en/guide/incus/incus_extra_config.html\"},{\"text\":\"Custom\",\"link\":\"/en/guide/incus/incus_custom.html\"},{\"text\":\"Acknowledgements\",\"link\":\"/en/guide/incus/incus_thanks.html\"},{\"text\":\"FAQ\",\"link\":\"/en/guide/incus/incus_qa.html\"}]},{\"text\":\"Docker\",\"items\":[{\"text\":\"Configuration requirements\",\"link\":\"/en/guide/docker/docker_precheck.html\"},{\"text\":\"Docker main installation\",\"link\":\"/en/guide/docker/docker_install.html\"},{\"text\":\"Docker Virtualization\",\"link\":\"/en/guide/docker/docker_build.html\"},{\"text\":\"Custom\",\"link\":\"/en/guide/docker/docker_custom.html\"},{\"text\":\"Acknowledgements\",\"link\":\"/en/guide/docker/docker_thanks.html\"},{\"text\":\"FAQ\",\"link\":\"/en/guide/docker/docker_qa.html\"}]},{\"text\":\"LXD\",\"items\":[{\"text\":\"Configuration requirements\",\"link\":\"/en/guide/lxd/lxd_precheck.html\"},{\"text\":\"LXD main installation\",\"link\":\"/en/guide/lxd/lxd_install.html\"},{\"text\":\"LXC Virtualization\",\"link\":\"/en/guide/lxd/lxd_lxc.html\"},{\"text\":\"Extra configuration\",\"link\":\"/en/guide/lxd/lxd_extra_config.html\"},{\"text\":\"Custom\",\"link\":\"/en/guide/lxd/lxd_custom.html\"},{\"text\":\"Acknowledgements\",\"link\":\"/en/guide/lxd/lxd_thanks.html\"},{\"text\":\"FAQ\",\"link\":\"/en/guide/lxd/lxd_qa.html\"}]},{\"text\":\"Block Abuse\",\"items\":[{\"text\":\"via iptables\",\"link\":\"/guide/block/block_iptables.html\"},{\"text\":\"In PVE\",\"link\":\"/guide/block/block_pve.html\"},{\"text\":\"In INCUS\",\"link\":\"/guide/block/block_incus.html\"},{\"text\":\"In LXD\",\"link\":\"/guide/block/block_lxd.html\"},{\"text\":\"In DOCKER\",\"link\":\"/guide/block/block_docker.html\"}]},{\"text\":\"Donation\",\"items\":[{\"text\":\"Donation\",\"link\":\"/guide/dashboardq.html\"}]}]}}}},\"scrollOffset\":90,\"cleanUrls\":false}");</script>
|
||
|
||
</body>
|
||
</html> |