| Port | Media / Speed | Connected Device | Role / Service | Description |
|---|---|---|---|---|
| SFP+ 1 | Optical (PON Stick) | Shanghai Unicom ODN | Uplink (WAN) | Carries Internet & IPTV traffic from ISP |
| SFP+ 2 | DAC (SFP+) | UCG-Fiber (WAN 1) | Downlink (WAN 1) | Primary WAN link (PPPoE / DHCP) |
| SFP+ 3 | DAC (SFP+) | UCG-Fiber (WAN 2) | Downlink (WAN 2) | Secondary WAN link (Dual WAN / Load Balance) |
| SFP+ 4 | DAC / Optical | Core Switch / LAN | Management (MGMT) | Out-of-band management access to CRS305 |
| Ether1 | RJ45 (1G) | IPTV STB / Local LAN | IPTV Access | Dedicated untagged IPTV access port |
菜单命令:vps-proxy-tune
当前状态:vps-proxy-tune status
wget --timeout=20 --tries=3 \
-O /root/vps-tune-install.sh \
'https://sola.moe/wp-content/uploads/2026/12/vps-tune-install.sh' \
&& bash -n /root/vps-tune-install.sh \
&& bash /root/vps-tune-install.sh
Linux tuning
echo "net.inet.tcp.sendspace=1048576
net.inet.tcp.recvspace=1048576
net.inet.tcp.win_scale_factor=8
net.inet.tcp.autorcvbufmax=33554432
net.inet.tcp.autosndbufmax=33554432
net.inet.udp.maxdgram=65500
kern.ipc.somaxconn=2048" | sudo tee /etc/sysctl.conf
Mac OSX Tuning
流媒体解锁查询
bash <(curl -L -s https://git.io/JRw8R) -E en
Realm
wget -O realm-manager.sh 'https://sola.moe/wp-content/uploads/2026/11/realm-manager.sh' && bash -n realm-manager.sh && chmod +x realm-manager.sh && ./realm-manager.sh
Shadowsocks + Obfs
(
set -euo pipefail
url='https://sola.moe/wp-content/uploads/2026/11/shadowsocks-rust-1.25.0-obfs.12-r7-pgo-full.zip'
sha256='1317447534ec6bb7754f4edbcb6845722ccc882d3f66b042d7bf0ff34abf846f'
work=$(mktemp -d)
trap 'rm -rf -- "$work"' EXIT
archive="$work/ss-full.zip"
wget --timeout=30 --tries=3 -O "$archive" "$url"
printf '%s %s\n' "$sha256" "$archive" | sha256sum --check -
python3 -m zipfile -e "$archive" "$work/install"
bash -n "$work/install/ss.sh"
bash "$work/install/ss.sh"
)
bench.sh
wget -qO- bench.sh | bash
NextTrace
安装
curl nxtrace.org/nt | bash
TCP 快速路由追踪
nexttrace --fast-trace --tcp
常用一键脚本
wsreset -i
Microsoft Windows Store Reset
Change TCP congestion control to BBR:
netsh int tcp set supplemental Template=Internet CongestionProvider=bbr2
netsh int tcp set supplemental Template=Datacenter CongestionProvider=bbr2
netsh int tcp set supplemental Template=Compat CongestionProvider=bbr2
netsh int tcp set supplemental Template=DatacenterCustom CongestionProvider=bbr2
netsh int tcp set supplemental Template=InternetCustom CongestionProvider=bbr2
Verify
Get-NetTCPSetting | Select SettingName, CongestionProvider
bbr2 @ Windows11 22h2(不推荐)
dd if=/dev/zero of=/var/swap bs=1k count=1024k
chmod 600 /var/swap
mkswap /var/swap
swapon /var/swap
echo '/var/swap swap swap default 0 0' >> /etc/fstab
swapoff /var/swapfile
rm -rf /var/swapfile
删除/etc/fstab文件条目/var/swapfile swap swap defaults 0 0
加载,删除swap
一键修改
sudo chattr -i /etc/resolv.conf 2>/dev/null; printf "nameserver 1.1.1.1\nnameserver 1.0.0.1\n" | sudo tee /etc/resolv.conf > /dev/null && sudo chattr +i /etc/resolv.conf
#添加写保护
chattr +i /etc/resolv.conf
#取消写保护
chattr -i /etc/resolv.conf
修改DNS
Microsoft Activation Scripts (MAS):
A collection of scripts for activating Microsoft products using HWID / KMS38 / Online KMS activation methods with a focus on open-source code, less antivirus detection and user-friendliness.
Homepages:
NsaneForums: (Login Required) https://www.nsaneforums.com/topic/316668-microsoft-activation-scripts/
GitLab: https://gitlab.com/massgrave/microsoft-activation-scripts
GitHub: https://github.com/massgravel/Microsoft-Activation-Scripts/
Downloads:
https://github.com/massgravel/Microsoft-Activation-Scripts/releases
