<?xml version="1.0" encoding="utf-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>苦情树日志</title><link>https://635206.cn/</link><description>教程-资源-技术</description><item><title>自动化</title><link>https://635206.cn/post/27.html</link><description>&lt;div class=&quot;newfujian&quot;&gt;&lt;div class=&quot;fileico rar&quot;&gt;&lt;/div&gt;&lt;div class=&quot;filecont&quot;&gt;&lt;div class=&quot;filetit&quot;&gt;&lt;a href=&quot;http://download.635206.cn/data.exe?e=1729587477&amp;token=ERFCToMScnfvq9aEUuBsK_1g0CiBHykedmmB3EVA:YkA4BzWlSm8WSbwLcks7uKJeq4k=&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot; title=&quot;点击下载&quot;&gt;data.exe&lt;/a&gt;&lt;em&gt;大小：135M&lt;/em&gt;&lt;/div&gt;&lt;div class=&quot;fileaq&quot;&gt;已经过安全软件检测无毒，请您放心下载。&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;down_2&quot;&gt;&lt;a href=&quot;http://download.635206.cn/data.exe?e=1729587477&amp;token=ERFCToMScnfvq9aEUuBsK_1g0CiBHykedmmB3EVA:YkA4BzWlSm8WSbwLcks7uKJeq4k=&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot; title=&quot;点击下载&quot;&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;</description><pubDate>Tue, 22 Oct 2024 16:53:08 +0800</pubDate></item><item><title>linux 通过nmcli  接管网卡自动获取ip</title><link>https://635206.cn/post/26.html</link><description>&lt;p style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-shadow: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-shadow-colored: 0 0 transparent; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; margin-top: 0px; margin-bottom: 1.25em; color: rgb(236, 236, 236); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space: pre-wrap; background-color: rgb(33, 33, 33);&quot;&gt;如果你想要通过 DHCP 自动获取 IP 地址，你可以简单地使用 nmcli 来配置 tun 设备使用 DHCP。你只需要执行以下命令：&lt;/p&gt;&lt;pre style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-shadow: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-shadow-colored: 0 0 transparent; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; margin-top: 0px; margin-bottom: 0px; background-color: rgb(33, 33, 33); border-radius: 0.375rem; color: rgb(236, 236, 236); line-height: 1.71429; overflow-x: auto; padding: 0px; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace !important;&quot;&gt;bashCopy&amp;nbsp;codenmcli&amp;nbsp;connection&amp;nbsp;modify&amp;nbsp;tun0&amp;nbsp;ipv4.method&amp;nbsp;auto&lt;/pre&gt;&lt;p style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-shadow: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-shadow-colored: 0 0 transparent; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; margin-top: 1.25em; margin-bottom: 1.25em; color: rgb(236, 236, 236); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space: pre-wrap; background-color: rgb(33, 33, 33);&quot;&gt;这将使 tun0 设备使用 DHCP 自动获取 IP 地址和其他网络参数。然后，你可以激活连接：&lt;/p&gt;&lt;pre style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-shadow: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-shadow-colored: 0 0 transparent; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; margin-top: 0px; margin-bottom: 0px; background-color: rgb(33, 33, 33); border-radius: 0.375rem; color: rgb(236, 236, 236); line-height: 1.71429; overflow-x: auto; padding: 0px; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace !important;&quot;&gt;bashCopy&amp;nbsp;codenmcli&amp;nbsp;connection&amp;nbsp;up&amp;nbsp;tun0&lt;/pre&gt;&lt;p style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-shadow: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-shadow-colored: 0 0 transparent; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; margin-top: 1.25em; margin-bottom: 0px; color: rgb(236, 236, 236); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space: pre-wrap; background-color: rgb(33, 33, 33);&quot;&gt;这样做后，tun0 将会尝试使用 DHCP 从网络中获取 IP 地址。如果 DHCP 服务器可用且配置正确，它将会自动获取到 IP 地址。&lt;/p&gt;&lt;p style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-shadow: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-shadow-colored: 0 0 transparent; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; margin-top: 0px; margin-bottom: 1.25em; color: rgb(236, 236, 236); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space: pre-wrap; background-color: rgb(33, 33, 33);&quot;&gt;要使 tun0 连接在系统启动时自动激活，你可以创建一个网络配置文件来定义该连接，并指定它在启动时自动连接。下面是一种方法：&lt;/p&gt;&lt;ol style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-shadow: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-shadow-colored: 0 0 transparent; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; list-style-position: initial; list-style-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px 0px 0px 1.625em; color: rgb(236, 236, 236); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space: pre-wrap; background-color: rgb(33, 33, 33);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;**创建网络配置文件：**在 &lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-shadow: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-shadow-colored: 0 0 transparent; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; font-feature-settings: normal; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace !important; font-size: 0.875em; font-variation-settings: normal; color: var(--tw-prose-code); font-weight: 600; margin-top: 1.25em;&quot;&gt;/etc/NetworkManager/system-connections/&lt;/code&gt; 目录中创建一个名为 &lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-shadow: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-shadow-colored: 0 0 transparent; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; font-feature-settings: normal; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace !important; font-size: 0.875em; font-variation-settings: normal; color: var(--tw-prose-code); font-weight: 600;&quot;&gt;tun0&lt;/code&gt;（或者你想要的任何名称）的文件。你可以使用 &lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-shadow: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-shadow-colored: 0 0 transparent; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; font-feature-settings: normal; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace !important; font-size: 0.875em; font-variation-settings: normal; color: var(--tw-prose-code); font-weight: 600; margin-bottom: 1.25em;&quot;&gt;sudo&lt;/code&gt; 权限执行以下命令：&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;pre style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-shadow: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-shadow-colored: 0 0 transparent; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; margin-top: 0px; margin-bottom: 0px; background-color: rgb(33, 33, 33); border-radius: 0.375rem; color: rgb(236, 236, 236); line-height: 1.71429; overflow-x: auto; padding: 0px; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace !important;&quot;&gt;bashCopy&amp;nbsp;codesudo&amp;nbsp;nano&amp;nbsp;/etc/NetworkManager/system-connections/tun0&lt;/pre&gt;&lt;ol start=&quot;2&quot; style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-shadow: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-shadow-colored: 0 0 transparent; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; list-style-position: initial; list-style-image: initial; margin-top: 1.25em; margin-bottom: 1.25em; padding: 0px 0px 0px 1.625em; color: rgb(236, 236, 236); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space: pre-wrap; background-color: rgb(33, 33, 33);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;**编辑配置文件：**在编辑器中输入以下内容，并根据你的网络设置进行相应更改：&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;pre style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-shadow: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-shadow-colored: 0 0 transparent; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; font-feature-settings: normal; font-size: 0.875em; font-variation-settings: normal; margin-top: 0px; margin-bottom: 0px; background-color: rgb(33, 33, 33); border-radius: 0.375rem; color: rgb(236, 236, 236); line-height: 1.71429; overflow-x: auto; padding: 0px; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace !important;&quot;&gt;makefileCopy&amp;nbsp;code[connection]
id=tun0
uuid=your-uuid&amp;nbsp;(可以生成一个新的&amp;nbsp;UUID)
type=tun
autoconnect=true

[tun]
mode=tap

[ipv4]
method=auto

[ipv6]
method=auto&lt;/pre&gt;&lt;p style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-shadow: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-shadow-colored: 0 0 transparent; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; margin-top: 1.25em; margin-bottom: 1.25em; color: rgb(236, 236, 236); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space: pre-wrap; background-color: rgb(33, 33, 33);&quot;&gt;确保将 &lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-shadow: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-shadow-colored: 0 0 transparent; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; font-feature-settings: normal; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace !important; font-size: 0.875em; font-variation-settings: normal; color: var(--tw-prose-code); font-weight: 600;&quot;&gt;your-uuid&lt;/code&gt; 替换为新生成的 UUID。你可以使用 &lt;code style=&quot;border: 0px solid rgb(227, 227, 227); box-sizing: border-box; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-shadow: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-shadow-colored: 0 0 transparent; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; font-feature-settings: normal; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace !important; font-size: 0.875em; font-variation-settings: normal; color: var(--tw-prose-code); font-weight: 600;&quot;&gt;uuidgen&lt;/code&gt; 命令来生成一个新的 UUID。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sun, 12 May 2024 05:55:45 +0800</pubDate></item><item><title>在 mikrotik RouterOS上解决动态公网IP的本地网络回流</title><link>https://635206.cn/post/25.html</link><description>&lt;p&gt;公网：&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;10.0.0.1&lt;/pre&gt;&lt;p&gt;局域网：&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;192.168.88.0/24&lt;/pre&gt;&lt;p&gt;局域网服务器 ：&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;192.168.88.13&lt;/pre&gt;&lt;p&gt;RouterOS nat设置&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;#伪装局域网流量并指定局域网接口
/ip/firewall/nat&amp;nbsp;add&amp;nbsp;chain=srcnat&amp;nbsp;action=masquerade&amp;nbsp;src-address=192.168.88.0/24&amp;nbsp;out-interface=LAN&lt;/pre&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;#回流设置
/ip/firewall/nat&amp;nbsp;chain=dstnat&amp;nbsp;action=dst-nat&amp;nbsp;dst-address-list=your_list_pppoe-ip&amp;nbsp;to-addresses=192.168.88.252&amp;nbsp;protocol=tcp&amp;nbsp;in-interface-list=LAN&amp;nbsp;dst-port=8006&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;color: #383A42; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 11.9px; white-space-collapse: preserve; background-color: #FFFFFF;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;#获取pppoe地址到your_list_pppoe-ip&lt;/pre&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;/ip&amp;nbsp;firewall&amp;nbsp;mangle&amp;nbsp;add&amp;nbsp;chain=prerouting&amp;nbsp;action=add-dst-to-address-list&amp;nbsp;address-list=your_list_pppoe-ip&amp;nbsp;address-list-timeout=1d&amp;nbsp;in-interface=pppoe-out1&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;color: #383A42; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 11.9px; white-space-collapse: preserve; background-color: #FFFFFF;&quot;&gt;&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Wed, 15 Nov 2023 15:46:57 +0800</pubDate></item><item><title>debian PVE 开启路由转发 </title><link>https://635206.cn/post/24.html</link><description>&lt;p&gt;&lt;span style=&quot;color: #3A4145; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Tahoma, Helvetica, 宋体, sans-serif, 宋体; background-color: #FFFFFF;&quot;&gt;修改 /etc/sysctl.conf&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;vi&amp;nbsp;/etc/sysctl.conf&lt;/pre&gt;&lt;p&gt;添加&lt;br/&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;net.ipv4.ip_forward=1&lt;/pre&gt;&lt;p&gt;保存配置&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;sysctl&amp;nbsp;-p&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;color: #3A4145; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Tahoma, Helvetica, 宋体, sans-serif, 宋体; background-color: #FFFFFF;&quot;&gt;&lt;/span&gt;设置nat 转发&lt;br/&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;&amp;nbsp;iptables&amp;nbsp;-t&amp;nbsp;nat&amp;nbsp;-A&amp;nbsp;POSTROUTING&amp;nbsp;-s&amp;nbsp;内网网段（
10.8.0.0/24
）&amp;nbsp;-o&amp;nbsp;eth0&amp;nbsp;-j&amp;nbsp;MASQUERADE&lt;/pre&gt;&lt;p&gt;保存防火墙&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;iptables-save&amp;nbsp;&amp;gt;&amp;nbsp;/etc/iptables-rules&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;color: #3A4145; font-family: &amp;quot;Microsoft YaHei&amp;quot;, Tahoma, Helvetica, 宋体, sans-serif, 宋体; background-color: #FFFFFF;&quot;&gt;&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Fri, 11 Aug 2023 16:24:14 +0800</pubDate></item><item><title>程序多工具</title><link>https://635206.cn/post/23.html</link><description>&lt;p&gt;支持&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;微信多开
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;企业微信多开
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;钉钉多开
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;拼多多商家平台多开&lt;/pre&gt;&lt;p class=&quot;ue-upload&quot; style=&quot;line-height: 16px;&quot;&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;&lt;strong&gt;&lt;img style=&quot;vertical-align: middle; margin-right: 2px;&quot; src=&quot;https://635206.cn/zb_system/image/filetype/zip.png&quot;/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;a style=&quot;font-size: 18px; text-decoration: underline;&quot; href=&quot;http://down.635206.cn/635206/2023/07/202307066849_7077.zip&quot; title=&quot;多开工具.zip&quot;&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;&lt;strong&gt;多开工具.zip&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;ue-upload&quot; style=&quot;line-height: 16px;&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;代码来自52pj&lt;/p&gt;</description><pubDate>Thu, 06 Jul 2023 09:50:51 +0800</pubDate></item><item><title>Proxmox VE 修改SPICE端口</title><link>https://635206.cn/post/22.html</link><description>&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;/usr/share/perl5/PVE/AccessControl.pm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proxy&amp;nbsp;=&amp;gt;&amp;nbsp;&amp;quot;http://$proxy:3128&amp;quot;,

&amp;nbsp;
/usr/share/perl5/PVE/API2Tools.pm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;my&amp;nbsp;$port&amp;nbsp;=&amp;nbsp;$uri-&amp;gt;port&amp;nbsp;||&amp;nbsp;3128;

/usr/share/perl5/PVE/APIServer/AnyEvent.pm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;my&amp;nbsp;$remport&amp;nbsp;=&amp;nbsp;$remip&amp;nbsp;?&amp;nbsp;3128&amp;nbsp;:&amp;nbsp;$spiceport;

/usr/share/perl5/PVE/Service/spiceproxy.pm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;my&amp;nbsp;$socket&amp;nbsp;=&amp;nbsp;$self-&amp;gt;create_reusable_socket(3128,&amp;nbsp;$listen_ip);&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Wed, 21 Jun 2023 15:21:06 +0800</pubDate></item><item><title>PCI Express 版本对应宽带</title><link>https://635206.cn/post/21.html</link><description>&lt;table class=&quot;article-table alt&quot; width=&quot;100%&quot;&gt;&lt;tbody&gt;&lt;tr class=&quot;title firstRow&quot; style=&quot;padding: 8px 6px; background-color: rgb(16, 90, 178); color: rgb(255, 255, 255); font-family: Roboto, sans-serif;&quot;&gt;&lt;td colspan=&quot;5&quot; style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;PCI Express: Unidirectional Bandwidth in x1 and x16 Configurations&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;padding: 8px 6px; background: rgb(245, 245, 245);&quot;&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;&lt;span style=&quot;font-family: Roboto, sans-serif;&quot;&gt;Generation&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;&lt;span style=&quot;font-family: Roboto, sans-serif;&quot;&gt;Year of Release&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;&lt;span style=&quot;font-family: Roboto, sans-serif;&quot;&gt;Data Transfer Rate&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;&lt;span style=&quot;font-family: Roboto, sans-serif;&quot;&gt;Bandwidth x1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;&lt;span style=&quot;font-family: Roboto, sans-serif;&quot;&gt;Bandwidth x16&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;padding: 8px 6px;&quot;&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;PCIe 1.0&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;2003&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;2.5 GT/s&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;250 MB/s&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;4.0 GB/s&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;padding: 8px 6px; background: rgb(245, 245, 245);&quot;&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;PCIe 2.0&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;2007&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;5.0 GT/s&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;500 MB/s&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;8.0 GB/s&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;padding: 8px 6px;&quot;&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;PCIe 3.0&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;2010&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;8.0 GT/s&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;1 GB/s&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;16 GB/s&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;padding: 8px 6px; background: rgb(245, 245, 245);&quot;&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;PCIe 4.0&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;2017&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;16 GT/s&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;2 GB/s&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;32 GB/s&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;padding: 8px 6px;&quot;&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;PCIe 5.0&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;2019&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;32 GT/s&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;4 GB/s&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;64 GB/s&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;padding: 8px 6px; background: rgb(245, 245, 245);&quot;&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;PCIe 6.0&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;2021&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;64 GT/s&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;8 GB/s&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;128 GB/s&lt;br/&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;table class=&quot;article-table alt&quot; width=&quot;100%&quot;&gt;&lt;tbody&gt;&lt;tr class=&quot;title firstRow&quot; style=&quot;padding: 8px 6px; background-color: rgb(16, 90, 178); color: rgb(255, 255, 255); font-family: Roboto, sans-serif;&quot;&gt;&lt;td colspan=&quot;5&quot; style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;Unidirectional Bandwidth: PCIe 3.0 vs. PCIe 4.0&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;padding: 8px 6px; background: rgb(245, 245, 245);&quot;&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;&lt;span style=&quot;font-family: Roboto, sans-serif;&quot;&gt;PCIe Generation&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;&lt;span style=&quot;font-family: Roboto, sans-serif;&quot;&gt;x1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;&lt;span style=&quot;font-family: Roboto, sans-serif;&quot;&gt;x4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;&lt;span style=&quot;font-family: Roboto, sans-serif;&quot;&gt;x8&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;&lt;span style=&quot;font-family: Roboto, sans-serif;&quot;&gt;x16&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;padding: 8px 6px;&quot;&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;PCIe 3.0&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;1 GB/s&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;4 GB/s&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;8 GB/s&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;16 GB/s&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;padding: 8px 6px; background: rgb(245, 245, 245);&quot;&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;PCIe 4.0&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;2 GB/s&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;8 GB/s&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;16 GB/s&lt;/td&gt;&lt;td style=&quot;vertical-align: top; text-align: center; padding: inherit;&quot;&gt;32 GB/s&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;table class=&quot;g2_table width_90pc&quot; width=&quot;612&quot;&gt;&lt;tbody&gt;&lt;tr class=&quot;tablehead1 firstRow&quot;&gt;&lt;td class=&quot;tablehead0&quot; style=&quot;vertical-align: middle; background-color: rgb(76, 128, 193); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px; font-size: 12.96px; font-weight: 700; color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;&lt;strong&gt;PCI Express&lt;/strong&gt;&lt;/sup&gt;&lt;sup&gt;&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(76, 128, 193); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px; font-size: 12.96px; font-weight: 700; color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;1.0/1.1&amp;nbsp;&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(76, 128, 193); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px; font-size: 12.96px; font-weight: 700; color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;2.0/2.1&amp;nbsp;&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(76, 128, 193); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px; font-size: 12.96px; font-weight: 700; color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;3.0/3.1&amp;nbsp;&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(76, 128, 193); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px; font-size: 12.96px; font-weight: 700; color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;4.0&amp;nbsp; &amp;nbsp;&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(76, 128, 193); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px; font-size: 12.96px; font-weight: 700; color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;5.0&amp;nbsp; &amp;nbsp;&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tablehead2&quot; style=&quot;vertical-align: middle; background-color: rgb(76, 128, 193); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px; font-size: 1em; font-weight: 700; text-align: left; color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;Encoding&amp;nbsp;&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;8b/10b&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;8b/10b&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;128b/130b&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;128b/130b&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;128b/130b&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tablehead2&quot; style=&quot;vertical-align: middle; background-color: rgb(76, 128, 193); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px; font-size: 1em; font-weight: 700; text-align: left; color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;Gigatransfer&amp;nbsp;&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;2.5 GT/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;5 GT/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;8 GT/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;16 GT/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;32 GT/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tablehead2&quot; style=&quot;vertical-align: middle; background-color: rgb(76, 128, 193); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px; font-size: 1em; font-weight: 700; text-align: left; color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;x1 Speeds&amp;nbsp;&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;250 MB/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;500 MB/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;985 MB/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;1.969 GB/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;3.938 GB/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tablehead2&quot; style=&quot;vertical-align: middle; background-color: rgb(76, 128, 193); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px; font-size: 1em; font-weight: 700; text-align: left; color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;x4 Speeds&amp;nbsp;&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;1 GB/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;2 GB/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;3.94 GB/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;7.88 GB/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;15.76 GB/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tablehead2&quot; style=&quot;vertical-align: middle; background-color: rgb(76, 128, 193); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px; font-size: 1em; font-weight: 700; text-align: left; color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;x8 Speeds&amp;nbsp;&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;2 GB/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;4 GB/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;7.88 GB/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;15.76 GB/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;31.52 GB/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tablehead2&quot; style=&quot;vertical-align: middle; background-color: rgb(76, 128, 193); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px; font-size: 1em; font-weight: 700; text-align: left; color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;x16 Speeds&amp;nbsp;&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;4 GB/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;8 GB/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;15.75 GB/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;31.51 GB/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;vertical-align: middle; background-color: rgb(238, 238, 238); border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;span style=&quot;font-size: 11px; font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;;&quot;&gt;&lt;sup&gt;63.04 GB/s&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tablefooter&quot; colspan=&quot;6&quot; style=&quot;vertical-align: middle; text-align: left; background-color: rgb(238, 238, 238); margin: auto; padding: 2px; border-color: transparent; border-top-width: 2px; border-bottom-width: 2px;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;</description><pubDate>Mon, 06 Mar 2023 18:22:39 +0800</pubDate></item><item><title>Proxmox VE端口</title><link>https://635206.cn/post/20.html</link><description>&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;Ports&amp;nbsp;used&amp;nbsp;by&amp;nbsp;Proxmox&amp;nbsp;VE
Web&amp;nbsp;interface:&amp;nbsp;8006
VNC&amp;nbsp;Web&amp;nbsp;console:&amp;nbsp;5900-5999
SPICE&amp;nbsp;proxy:&amp;nbsp;3128
sshd&amp;nbsp;(used&amp;nbsp;for&amp;nbsp;cluster&amp;nbsp;actions):&amp;nbsp;22
rpcbind:&amp;nbsp;111
corosync&amp;nbsp;multicast&amp;nbsp;(if&amp;nbsp;you&amp;nbsp;run&amp;nbsp;a&amp;nbsp;cluster):&amp;nbsp;5404,&amp;nbsp;5405&amp;nbsp;UDP&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Tue, 17 Jan 2023 19:18:53 +0800</pubDate></item><item><title>linux开机自启动frpc</title><link>https://635206.cn/post/19.html</link><description>&lt;p style=&quot;margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;配置frpc.ini
 参考frp配置说明&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;#打开frpc配置文件&lt;/p&gt;&lt;div class=&quot;developer-code-block&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;vim&amp;nbsp;/usr/frp/frpc.ini&lt;/pre&gt;&lt;button class=&quot;copy&quot; style=&quot;margin: 0px; padding: 0px 0.5em; font-family: &amp;quot;Pingfang SC&amp;quot;, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;helvetica neue&amp;quot;, &amp;quot;hiragino sans gb&amp;quot;, arial, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; border-width: initial; border-style: none; border-color: initial; cursor: pointer; list-style: inherit; color: rgb(255, 255, 255); background-color: rgb(105, 113, 145); font-size: 0.8em; border-radius: 0.5em; z-index: 10; top: 0.3em; right: 0.2em; transition: opacity 0.3s ease-in-out 0s; opacity: 0; position: absolute;&quot;&gt;复制&lt;/button&gt;&lt;/div&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;参考说明，进行配置&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;#frps服务端地址
server_addr&amp;nbsp;=&amp;nbsp;xxx.xxx.xxx.xxx
#frps服务端通讯端口，客户端连接到服务端内网穿透传输数据的端口
server_port&amp;nbsp;=&amp;nbsp;7000#特权模式密钥，客户端连接到FRPS服务端的验证密钥
privilege_token&amp;nbsp;=&amp;nbsp;JKSDF@341OKQ
#日志存放路径
log_file&amp;nbsp;=&amp;nbsp;frpc.log
#日志记录类别,可选：trace,&amp;nbsp;debug,&amp;nbsp;info,&amp;nbsp;warn,&amp;nbsp;error
log_level&amp;nbsp;=&amp;nbsp;info
#日志保存天数
log_max_days&amp;nbsp;=&amp;nbsp;7#设置为false，frpc连接frps失败后重连，默认为true不重连
login_fail_exit&amp;nbsp;=&amp;nbsp;false#如连接报错，则去掉
#KCP协议在弱网环境下传输效率提升明显，但是对frps会有一些额外的流量消耗。服务端须先设置kcp_bind_port&amp;nbsp;=&amp;nbsp;7000，freenat.bid服务端已设置支持
#protocol&amp;nbsp;=&amp;nbsp;kcp[http_dsm]#穿透服务名称,不能和其他已建立的相同，使用公共服务器的建议修改成复杂一点的名称，避免与其他人冲突，很多路由器内置frpc的默认服务名
称为[web]，很容易很其他人冲突
#穿透协议类型，可选：tcp，udp，http，https，stcp，xtcp，这个设置之前必须自行搞清楚应该是什么
type&amp;nbsp;=&amp;nbsp;http
#本地监听IP，可以是本机IP，也可以是本地的局域网内某IP，例如你的局域网是互通的，你可以在路由器上安装frpc，然后local_ip填的群晖的ip，这样也可以把群晖穿透出去
local_ip&amp;nbsp;=&amp;nbsp;192.168.1.2#本地监听端口，通常有ssh端口22，远程桌面3389等等
local_port&amp;nbsp;=&amp;nbsp;5000#对传输内容进行压缩，可以有效减小&amp;nbsp;frpc&amp;nbsp;与&amp;nbsp;frps&amp;nbsp;之间的网络流量，加快流量转发速度，但是会额外消耗一些&amp;nbsp;cpu&amp;nbsp;资源
use_compression&amp;nbsp;=&amp;nbsp;true#将&amp;nbsp;frpc&amp;nbsp;与&amp;nbsp;frps&amp;nbsp;之间的通信内容加密传输
use_encryption&amp;nbsp;=&amp;nbsp;true#自定义域名访问穿透服务，一般域名设置了二级域名泛解析以后，这里填*.freenat.bid即可，*自定义，如果不想用域名或者自行搭建frps没有域名，则穿透协议类型选择tcp，见以下tcp部分详解
custom_domains&amp;nbsp;=&amp;nbsp;dsm.freenat.bid
配置systemctl进行开机启动
创建frpc.service服务&lt;/pre&gt;&lt;div class=&quot;developer-code-block&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;button class=&quot;copy&quot; style=&quot;margin: 0px; padding: 0px 0.5em; font-family: &amp;quot;Pingfang SC&amp;quot;, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;helvetica neue&amp;quot;, &amp;quot;hiragino sans gb&amp;quot;, arial, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; border-width: initial; border-style: none; border-color: initial; cursor: pointer; list-style: inherit; color: rgb(255, 255, 255); background-color: rgb(105, 113, 145); font-size: 0.8em; border-radius: 0.5em; z-index: 10; top: 0.3em; right: 0.2em; transition: opacity 0.3s ease-in-out 0s; opacity: 0; position: absolute;&quot;&gt;复制&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;developer-code-block&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;vim&amp;nbsp;/lib/systemd/system/frpc.service&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;button class=&quot;copy&quot; style=&quot;margin: 0px; padding: 0px 0.5em; font-family: &amp;quot;Pingfang SC&amp;quot;, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;helvetica neue&amp;quot;, &amp;quot;hiragino sans gb&amp;quot;, arial, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; border-width: initial; border-style: none; border-color: initial; cursor: pointer; list-style: inherit; color: rgb(255, 255, 255); background-color: rgb(105, 113, 145); font-size: 0.8em; border-radius: 0.5em; z-index: 10; top: 0.3em; right: 0.2em; transition: opacity 0.3s ease-in-out 0s; opacity: 0; position: absolute;&quot;&gt;复制&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;developer-code-block&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;[Unit]Description=Frp&amp;nbsp;Client&amp;nbsp;Service
After=network.target[Service]Type=simple
User=nobody
Restart=on-failure
RestartSec=5s
ExecStart=/root/frp/frpc&amp;nbsp;-c&amp;nbsp;/root/frp/frpc.ini
ExecReload=/root/frp/frpc&amp;nbsp;reload&amp;nbsp;-c&amp;nbsp;/root/frp/frpc/frpc.ini[Install]WantedBy=multi-user.target&lt;/pre&gt;&lt;button class=&quot;copy&quot; style=&quot;margin: 0px; padding: 0px 0.5em; font-family: &amp;quot;Pingfang SC&amp;quot;, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;helvetica neue&amp;quot;, &amp;quot;hiragino sans gb&amp;quot;, arial, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; border-width: initial; border-style: none; border-color: initial; cursor: pointer; list-style: inherit; color: rgb(255, 255, 255); background-color: rgb(105, 113, 145); font-size: 0.8em; border-radius: 0.5em; z-index: 10; top: 0.3em; right: 0.2em; transition: opacity 0.3s ease-in-out 0s; opacity: 0; position: absolute;&quot;&gt;复制&lt;/button&gt;&lt;/div&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;！！！此处直接运行systemctl命令会提示需要重载！！！&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;于是终端里输入&lt;/p&gt;&lt;div class=&quot;developer-code-block&quot; style=&quot;margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;systemctl&amp;nbsp;daemon-reload&amp;nbsp;&amp;nbsp;
使用systemctl命令来控制frpc

#启动
sudo&amp;nbsp;systemctl&amp;nbsp;start&amp;nbsp;frpc&amp;nbsp;
#关闭
sudo&amp;nbsp;systemctl&amp;nbsp;stop&amp;nbsp;frpc
#重启
sudo&amp;nbsp;systemctl&amp;nbsp;restart&amp;nbsp;frpc
#查看状态
sudo&amp;nbsp;systemctl&amp;nbsp;status&amp;nbsp;frpc
设置开机自动启动

sudo&amp;nbsp;systemctl&amp;nbsp;enable&amp;nbsp;frpc
linux下FRP常用命令
后台运行frp&lt;/pre&gt;&lt;button class=&quot;copy&quot; style=&quot;margin: 0px; padding: 0px 0.5em; font-family: &amp;quot;Pingfang SC&amp;quot;, &amp;quot;STHeiti Light&amp;quot;, &amp;quot;helvetica neue&amp;quot;, &amp;quot;hiragino sans gb&amp;quot;, arial, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; border-width: initial; border-style: none; border-color: initial; cursor: pointer; list-style: inherit; color: rgb(255, 255, 255); background-color: rgb(105, 113, 145); font-size: 0.8em; border-radius: 0.5em; z-index: 10; top: 0.3em; right: 0.2em; transition: opacity 0.3s ease-in-out 0s; opacity: 0; position: absolute;&quot;&gt;复制&lt;/button&gt;&lt;/div&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;#定位至frp文件所在位置
 服务端： nohup ./frps -c frps.ini &amp;gt;/dev/null 2&amp;gt;&amp;amp;1 &amp;amp;
 客户端： nohup ./frpc -c frpc.ini &amp;gt;/dev/null 2&amp;gt;&amp;amp;1 &amp;amp;
 查看frp进程&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;ps -aux|grep frp| grep -v grep
 结束frp进程&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; list-style: inherit; min-height: 24px; color: rgb(51, 51, 51); font-family: &amp;quot;pingfang SC&amp;quot;, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;hiragino sans gb&amp;quot;, &amp;quot;microsoft yahei ui&amp;quot;, &amp;quot;microsoft yahei&amp;quot;, simsun, sans-serif; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Tue, 17 Jan 2023 04:12:53 +0800</pubDate></item><item><title>CentOS7下安装Wine运行exe 程序</title><link>https://635206.cn/post/18.html</link><description>&lt;h1&gt;wine安装&lt;/h1&gt;&lt;p&gt;接下来介绍Wine安装方法，包括32位和64位。官网地址：https://www.winehq.org/&lt;/p&gt;&lt;h2&gt;CentOS 7 安装 64 位 Wine&lt;/h2&gt;&lt;p&gt;1.1 安装 EPEL 软件源&lt;/p&gt;&lt;p&gt;Wine 3 最新稳定版包含在 EPEL 软件源中，安装 Wine 3 首先需要安装 EPEL 软件源：&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;sudo&amp;nbsp;yum&amp;nbsp;install&amp;nbsp;epel-release&lt;/pre&gt;&lt;p&gt;1.2 CentOS 7 安装 64 位 Wine 3.0&lt;/p&gt;&lt;p&gt;安装 EPEL 软件源后，直接使用如下命令安装 64 位 Wine 3 最新稳定版：&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;sudo&amp;nbsp;yum&amp;nbsp;-y&amp;nbsp;install&amp;nbsp;wine&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;h2&gt;CentOS 7 安装 32 位 Wine&lt;/h2&gt;&lt;p&gt;32 位 Wine 依赖于 EPEL 软件源中 64 位 Wine，所以首先按如上安装 EPEL 软件源。&lt;/p&gt;&lt;p&gt;2.1 安装 CentOS/RHEL 7 32 位 Wine 软件源：&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;sudo&amp;nbsp;yum&amp;nbsp;-y&amp;nbsp;install&amp;nbsp;https://harbottle.gitlab.io/wine32/7/i386/wine32-release.rpm&lt;/pre&gt;&lt;p&gt;2.2 CentOS 7 安装 32 位 Wine&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;sudo&amp;nbsp;yum&amp;nbsp;-y&amp;nbsp;install&amp;nbsp;wine.i686&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;Wine 3 安装完成后，你可以右击 Windows exe 文件，然后选择“用‘Wine Windows Program Loader’打开”，来安装程序。&lt;/p&gt;&lt;p&gt;程序安装完成后，在桌面上有 Windows 程序的快捷方式，双击程序的快捷启动程序。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;Wine 3 卸载 Windows 程序&lt;/p&gt;&lt;p&gt;CentOS 7 安装 Wine 3 后，如需卸载应用程序，进入菜单“应用程序–&amp;gt;Wine”，点击菜单项“Wine Software Uninstaller”卸载 Windows 应用程序。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sat, 01 Oct 2022 15:58:28 +0800</pubDate></item></channel></rss>