From fa29b0d63365af081062e6a6d56c3e9f71367f53 Mon Sep 17 00:00:00 2001 From: CallMeR <9463297+callmer@user.noreply.gitee.com> Date: Thu, 17 Oct 2024 12:57:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=B3=BB=E7=BB=9F=20sysctl?= =?UTF-8?q?=20=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 05.PVE制作虚拟机模板.md | 1 + 07.PVE制作TS服务器.md | 1 + src/debian/debian_dns_99_sysctl.conf | 1 + src/debian/debian_ts_99_sysctl.conf | 1 + 4 files changed, 4 insertions(+) diff --git a/05.PVE制作虚拟机模板.md b/05.PVE制作虚拟机模板.md index e700c10..64627f5 100644 --- a/05.PVE制作虚拟机模板.md +++ b/05.PVE制作虚拟机模板.md @@ -202,6 +202,7 @@ net.ipv4.igmp_max_memberships = 256 net.ipv4.tcp_challenge_ack_limit = 1000 net.ipv4.tcp_fin_timeout = 30 net.ipv4.tcp_keepalive_time = 120 +net.ipv4.tcp_mtu_probing = 1 net.ipv4.tcp_syncookies = 1 net.ipv6.conf.all.use_tempaddr = 0 diff --git a/07.PVE制作TS服务器.md b/07.PVE制作TS服务器.md index f0e787d..ff0186c 100644 --- a/07.PVE制作TS服务器.md +++ b/07.PVE制作TS服务器.md @@ -218,6 +218,7 @@ net.ipv4.route.redirect_silence = 2048 net.ipv4.tcp_challenge_ack_limit = 1000 net.ipv4.tcp_fin_timeout = 30 net.ipv4.tcp_keepalive_time = 120 +net.ipv4.tcp_mtu_probing = 1 net.ipv4.tcp_syncookies = 1 net.ipv6.conf.all.accept_ra = 0 diff --git a/src/debian/debian_dns_99_sysctl.conf b/src/debian/debian_dns_99_sysctl.conf index cf3f425..575d089 100644 --- a/src/debian/debian_dns_99_sysctl.conf +++ b/src/debian/debian_dns_99_sysctl.conf @@ -19,6 +19,7 @@ net.ipv4.igmp_max_memberships = 256 net.ipv4.tcp_challenge_ack_limit = 1000 net.ipv4.tcp_fin_timeout = 30 net.ipv4.tcp_keepalive_time = 120 +net.ipv4.tcp_mtu_probing = 1 net.ipv4.tcp_syncookies = 1 net.ipv6.conf.all.use_tempaddr = 0 diff --git a/src/debian/debian_ts_99_sysctl.conf b/src/debian/debian_ts_99_sysctl.conf index 5fc0970..1caae61 100644 --- a/src/debian/debian_ts_99_sysctl.conf +++ b/src/debian/debian_ts_99_sysctl.conf @@ -44,6 +44,7 @@ net.ipv4.route.redirect_silence = 2048 net.ipv4.tcp_challenge_ack_limit = 1000 net.ipv4.tcp_fin_timeout = 30 net.ipv4.tcp_keepalive_time = 120 +net.ipv4.tcp_mtu_probing = 1 net.ipv4.tcp_syncookies = 1 net.ipv6.conf.all.accept_ra = 0