| 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/2025/12/vps-proxy-tune-interactive-install-2.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/2024/11/realm-manager-1.sh' && bash -n realm-manager.sh && chmod +x realm-manager.sh && ./realm-manager.sh
ss+obfs
wget -O install-shadowsocks-libev-3.3.6-obfs-rust.sh 'https://sola.moe/wp-content/uploads/2024/11/install-shadowsocks-libev-3.3.6-obfs-rust.sh' && \
chmod +x install-shadowsocks-libev-3.3.6-obfs-rust.sh && \
bash -o pipefail -c './install-shadowsocks-libev-3.3.6-obfs-rust.sh 2>&1 | tee shadowsocks-install.log'
状态查询
systemctl status shadowsocks-libev
bench.sh
wget -qO- bench.sh | bash
NextTrace
curl nxtrace.org/nt |bash
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
