Skip to content

Traffic Management

jinqians edited this page Oct 6, 2026 · 2 revisions

Moved here from the README | Wiki home | 中文

The scripts in this repository no longer bundle traffic management (the old implementation was retired as incomplete). Quotas are handled by PSM (Proxy Stack Manager) instead — picking 9. Traffic management in the menu guides you through installing PSM.

What PSM offers:

  • Per-node monthly quota (GB) with an automatic reset day
  • Auto-suspend on overage, auto-unblock after a reset or manual resume
  • Precise iptables byte accounting, persisted so counting resumes after a reboot
  • One place to manage traffic for Snell / SS-2022 / Xray nodes
# install PSM
bash <(curl -fsSL https://psm.jinqians.com)

# then pick: 15. Traffic management

Note: Snell runs over TCP, so UDP is not counted; suspending a node blocks new connections only — established TCP connections drop off naturally.

Clone this wiki locally