# s-ui | Alireza Ahmadi | Knowledge Base | Instagit

An advanced Web Panel • Built for SagerNet/Sing-Box

GitHub Stars: 9k

Repository: https://github.com/alireza0/s-ui

---

## Articles

### [How to Debug Connectivity Issues in S-UI: A Step-by-Step Guide to Sing-Box Diagnostics](/alireza0/s-ui/how-to-debug-connectivity-issues-in-s-ui)

Debug S-UI connectivity issues with this step-by-step guide. Learn to check core status, inspect connections, close stale connections, and test outbound reachability effectively.

- Tags: how-to-guide
- Published: 2026-05-22

### [How S-UI Implements the Transparent Proxy Feature: A Code-Level Analysis](/alireza0/s-ui/how-does-s-ui-implement-the-transparent-proxy-feature)

Discover how S UI implements transparent proxy functionality. Dive into the code level analysis and understand its integration with the sing box engine for efficient packet interception.

- Tags: deep-dive
- Published: 2026-05-22

### [Critical Security Considerations When Deploying S-UI: A Production Hardening Guide](/alireza0/s-ui/what-are-the-security-considerations-when-deploying-s-ui)

Deploy S-UI securely. Learn critical hardening steps to protect user credentials, API tokens, and default admin access before production deployment.

- Tags: best-practices
- Published: 2026-05-22

### [How to Upgrade S-UI to the Latest Version: Complete Technical Guide](/alireza0/s-ui/what-is-the-process-for-upgrading-s-ui-to-the-latest-version)

Upgrade S-UI to the latest version seamlessly. Run install.sh to download the newest release update systemd binaries and migrate your SQLite schema without data loss.

- Tags: how-to-guide
- Published: 2026-05-22

### [How S-UI Implements DNS Transport and Resolution: A Technical Deep Dive](/alireza0/s-ui/how-does-s-ui-implement-dns-transport-and-resolution)

Discover how S-UI uses sing-box to implement DNS transport and resolution. Learn about transport factories, TransportManager, and domain-specific routing for efficient DNS handling.

- Tags: deep-dive
- Published: 2026-05-22

### [Best Practices for Deploying S-UI in Production](/alireza0/s-ui/what-are-the-best-practices-for-deploying-s-ui-in-production)

Deploy S-UI in production with our best practices. Learn to use install sh, systemd, persistent volumes, secure credentials, and TLS for a robust deployment.

- Tags: best-practices
- Published: 2026-05-22

### [S-UI Subscription Formats Explained: Link vs JSON vs Clash](/alireza0/s-ui/what-is-the-difference-between-s-ui-subscription-formats-link-json-clash)

Understand S_UI subscription formats: Link, JSON, and Clash. Discover which format best suits your proxy client needs for efficient configuration.

- Tags: deep-dive
- Published: 2026-05-22

### [How S-UI Handles Multi-Client and Multi-Inbound Configurations](/alireza0/s-ui/how-does-s-ui-handle-multi-client-and-multi-inbound-configurations)

Learn how S-UI handles multi-client and multi-inbound configurations by storing inbound IDs in a JSON array and using atomic GORM transactions for synchronization. Discover efficient management techniques.

- Tags: deep-dive
- Published: 2026-05-22

### [How to Add Custom Protocols to S-UI: A Complete Implementation Guide](/alireza0/s-ui/what-is-the-process-for-adding-custom-protocols-to-s-ui)

Learn to add custom protocols to S-UI by implementing Go interfaces, registering them in core/register.go, and rebuilding the binary. Integrate your protocols seamlessly.

- Tags: how-to-guide
- Published: 2026-05-22

### [How S-UI Implements Traffic Routing with the Advanced Interface](/alireza0/s-ui/how-does-s-ui-implement-traffic-routing-with-the-advanced-interface)

Learn how S-UI implements traffic routing using its advanced interface. Discover dynamic JSON configurations and how they integrate with the Sing-Box engine for efficient routing.

- Tags: how-to-guide
- Published: 2026-05-22

### [S-UI Environment Variables: Complete Configuration Guide with Default Values](/alireza0/s-ui/what-are-the-environment-variables-and-their-default-values-in-s-ui)

Explore S UI environment variables including SUI_LOG_LEVEL and SUI_DEBUG. Learn their default values and how to configure S-UI for optimal performance with this comprehensive guide.

- Tags: api-reference
- Published: 2026-05-22

### [How the S-UI API Interface Works: Session and Token Authentication Explained](/alireza0/s-ui/how-does-the-api-interface-work-in-s-ui)

Understand the S-UI API interface by learning about its session and token authentication. This guide explains how the dual-layer HTTP system handles browser and programmatic access.

- Tags: api-reference
- Published: 2026-05-22

### [How S-UI Handles TLS/SSL Certificates for Secure Connections](/alireza0/s-ui/how-does-s-ui-handle-tls-ssl-certificates-for-secure-connections)

Learn how S-UI uses configurable HTTPS, dynamic TLS management, and self-signed certificates to create secure connections. Explore certificate handling in our documentation.

- Tags: how-to-guide
- Published: 2026-05-22

### [Cron Jobs in S-UI: How Automated Background Tasks Keep Your Panel Running](/alireza0/s-ui/what-are-the-cron-jobs-in-s-ui-and-how-do-they-function)

Discover S-UI cron jobs for automated tasks. Learn how S-UI uses robfig/cron for statistics, client expiration, database maintenance, and process monitoring keeping your panel running smoothly.

- Tags: how-to-guide
- Published: 2026-05-22

### [How S-UI Implements Traffic Statistics and Client Monitoring: A Deep Dive into Sing-Box Integration](/alireza0/s-ui/how-does-s-ui-implement-traffic-statistics-and-client-monitoring)

Discover how S-UI implements traffic statistics and client monitoring using StatsTracker and ConnTracker integrated with the Sing-Box core. Gain insights into your network performance.

- Tags: deep-dive
- Published: 2026-05-22

### [Database Schema for Inbounds and Outbounds in S-UI: Complete Technical Reference](/alireza0/s-ui/what-is-the-database-schema-for-inbounds-and-outbounds-in-s-ui)

Explore the S-UI database schema for inbounds and outbounds. Learn how GORM models and SQLite store routing configurations with fixed columns and JSON blobs.

- Tags: api-reference
- Published: 2026-05-22

### [How the s-ui Subscription Service Generates and Encodes Client Links](/alireza0/s-ui/how-does-the-subscription-service-generate-and-encode-client-links)

Discover how the s-ui subscription service generates and encodes client links. Learn about protocol proxies, newline-delimited payloads, and optional Base64 encoding.

- Tags: how-to-guide
- Published: 2026-05-22

### [How S-UI Handles Multi-Protocol Support for VLESS, VMess, Trojan, and Shadowsocks](/alireza0/s-ui/how-does-s-ui-handle-multi-protocol-support-vless-vmess-trojan-shadowsocks)

Discover how S-UI masterfully handles VLESS VMess Trojan and Shadowsocks multi-protocol support by integrating with the sing box core for streamlined management and configuration.

- Tags: how-to-guide
- Published: 2026-05-22

### [S-UI Inbound and Outbound Registry Architecture Explained](/alireza0/s-ui/what-is-the-architecture-of-s-ui-inbound-and-outbound-registry-system)

Explore the S-UI registry architecture. Understand how Inbounds and Outbounds manage proxy configurations in a layered Go system, syncing seamlessly with the Sing-Box core.

- Tags: architecture
- Published: 2026-05-22

### [How S-UI Integrates with sing-box for Proxy Traffic Routing: Core Implementation Guide](/alireza0/s-ui/how-does-s-ui-integrate-with-sing-box-for-proxy-traffic-routing)

Learn how S-UI integrates with sing-box for proxy traffic routing. Explore the core implementation, bootstrapping a Box instance, and managing network logic.

- Tags: how-to-guide
- Published: 2026-05-22

