mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 22:12:51 +08:00
更新 TS 测试配置
This commit is contained in:
@@ -19,6 +19,12 @@ net.core.netdev_budget_usecs = 20000
|
||||
|
||||
net.core.rps_sock_flow_entries = 32768
|
||||
|
||||
net.ipv4.conf.all.accept_redirects = 0
|
||||
net.ipv4.conf.default.accept_redirects = 0
|
||||
|
||||
net.ipv4.conf.all.accept_source_route = 0
|
||||
net.ipv4.conf.default.accept_source_route = 0
|
||||
|
||||
net.ipv4.conf.all.arp_ignore = 1
|
||||
net.ipv4.conf.default.arp_ignore = 1
|
||||
|
||||
@@ -40,10 +46,20 @@ net.ipv4.tcp_fin_timeout = 30
|
||||
net.ipv4.tcp_keepalive_time = 120
|
||||
net.ipv4.tcp_syncookies = 1
|
||||
|
||||
net.ipv6.conf.all.accept_ra = 0
|
||||
net.ipv6.conf.default.accept_ra = 0
|
||||
|
||||
net.ipv6.conf.all.accept_redirects = 0
|
||||
net.ipv6.conf.default.accept_redirects = 0
|
||||
|
||||
net.ipv6.conf.all.accept_source_route = 0
|
||||
net.ipv6.conf.default.accept_source_route = 0
|
||||
|
||||
net.ipv6.conf.all.use_tempaddr = 0
|
||||
net.ipv6.conf.default.use_tempaddr = 0
|
||||
|
||||
net.netfilter.nf_conntrack_acct = 1
|
||||
net.netfilter.nf_conntrack_checksum = 0
|
||||
net.netfilter.nf_conntrack_tcp_timeout_established = 7440
|
||||
net.netfilter.nf_conntrack_udp_timeout = 60
|
||||
net.netfilter.nf_conntrack_udp_timeout_stream = 180
|
||||
|
||||
@@ -1,80 +0,0 @@
|
||||
# This configuration file is customized by fox,
|
||||
# Optimize lo network for local TS server.
|
||||
|
||||
[Match]
|
||||
Name=lo
|
||||
|
||||
# rfc6890
|
||||
[Route]
|
||||
Destination=0.0.0.0/8
|
||||
Type=unreachable
|
||||
[Route]
|
||||
Destination=127.0.0.0/8
|
||||
Type=unreachable
|
||||
[Route]
|
||||
Destination=169.254.0.0/16
|
||||
Type=unreachable
|
||||
[Route]
|
||||
Destination=192.0.0.0/24
|
||||
Type=unreachable
|
||||
[Route]
|
||||
Destination=192.0.0.0/29
|
||||
Type=unreachable
|
||||
[Route]
|
||||
Destination=192.0.2.0/24
|
||||
Type=unreachable
|
||||
[Route]
|
||||
Destination=192.88.99.0/24
|
||||
Type=unreachable
|
||||
[Route]
|
||||
Destination=198.18.0.0/15
|
||||
Type=unreachable
|
||||
[Route]
|
||||
Destination=198.51.100.0/24
|
||||
Type=unreachable
|
||||
[Route]
|
||||
Destination=203.0.113.0/24
|
||||
Type=unreachable
|
||||
[Route]
|
||||
Destination=240.0.0.0/4
|
||||
Type=unreachable
|
||||
[Route]
|
||||
Destination=255.255.255.255/32
|
||||
Type=unreachable
|
||||
[Route]
|
||||
Destination=::1/128
|
||||
Type=unreachable
|
||||
[Route]
|
||||
Destination=::/128
|
||||
Type=unreachable
|
||||
[Route]
|
||||
Destination=64:ff9b::/96
|
||||
Type=unreachable
|
||||
[Route]
|
||||
Destination=::ffff:0:0/96
|
||||
Type=unreachable
|
||||
[Route]
|
||||
Destination=100::/64
|
||||
Type=unreachable
|
||||
[Route]
|
||||
Destination=2001::/23
|
||||
Type=unreachable
|
||||
[Route]
|
||||
Destination=2001::/32
|
||||
Type=unreachable
|
||||
[Route]
|
||||
Destination=2001:2::/48
|
||||
Type=unreachable
|
||||
[Route]
|
||||
Destination=2001:db8::/32
|
||||
Type=unreachable
|
||||
[Route]
|
||||
Destination=2001:20::/28
|
||||
Type=unreachable
|
||||
[Route]
|
||||
Destination=2002::/16
|
||||
Type=unreachable
|
||||
[Route]
|
||||
Destination=fe80::/10
|
||||
Type=unreachable
|
||||
|
||||
Reference in New Issue
Block a user