File tree Expand file tree Collapse file tree 2 files changed +18
-7
lines changed
Expand file tree Collapse file tree 2 files changed +18
-7
lines changed Original file line number Diff line number Diff line change @@ -71,11 +71,9 @@ NDP代理:已禁用
7171### 4.修改网络防火墙
7272
7373网络 → 防火墙,妈的,这一方面太麻烦了
74- 你可以选择直接无脑接受
75- _ 入站数据 接受_
76- _ 出站数据 接受_
77- _ 转发 接受_
78- 或者去通信规则里细调,这里面太麻烦,我自己都没搞清楚,祝君好运
74+ ~~ 你可以选择直接无脑接受~~
75+ 或者去通信规则里细调,这里面太麻烦,我自己都没搞清楚,祝君好运
76+ 一般来说网络相关有80%的问题来自防火墙
7977
8078<hr />
8179
@@ -92,24 +90,29 @@ huihui888大佬编译的版本自带Lucky,没有的去下载软件包,请注
9290我选择Cloudflare,按照指示创建令牌填入
9391选择开启{ipv6Addr},获取公网IP方式随便
9492如果你是绑定路由器LAN口IPV6,可以选择** 通过网卡获取**
93+
9594如果绑定其下设备IPV6,请选择** 通过脚本获取**
9695脚本如下
9796``` shell
9897#! /bin/bash
9998# 获取路由器LAN口(br-lan)的当前公网IPv6前缀(前4段)
10099lan_prefix=$( ip -6 addr show br-lan | grep inet6 | grep -v ' ^fe80' | awk ' {print $2}' | cut -d ' :' -f 1-4 | head -n 1)
101- # 定义PVE基于其MAC地址计算出的固定后缀 ,替换"xxxx:xxxx:xxxx:xxxx"(EUI-64格式)
102- interface_id=" xxxx:xxxx:xxxx:xxxx"
100+ # 定义基于其MAC地址计算出的固定后缀 ,替换"xxxx:xxxx:xxxx:xxxx"(EUI-64格式)
101+ interface_id=" xxxx:xxxx:xxxx:xxxx"
103102# 拼接成完整的IPv6地址
104103host_ipv6=" ${lan_prefix} :${interface_id} "
105104echo " $host_ipv6 "
106105
107106```
107+ 由MAC地址得到EUI-64格式后缀的计算器:[ EUI-64 Calculator] ( https://eui64-calc.princelle.org/ )
108+ 然后再尝试在公网访问域名
108109
109110** II.配置Web服务规则**
110111
111112
112113
114+ <hr />
115+
113116### 6.服务器远程开关机
114117
115118编辑Lucky内** 计划任务**
Original file line number Diff line number Diff line change @@ -280,4 +280,12 @@ cpupower -c all frequency-set -g conservative
280280```
281281~~ 设置机械硬盘休眠~~ 不建议这么做,有可能导致硬盘频繁启停,已删除相关内容
282282
283+ <hr />
284+
285+ ## 11.显卡直通虚拟机
286+
287+ <hr />
288+
289+ ## 12.机箱USB直通虚拟机
283290
291+ <hr />
You can’t perform that action at this time.
0 commit comments