Server Configuration
How to Add Custom Servers in Shadowrocket
Complete guide to manually adding servers and using subscription URLs for SSR, V2Ray, and Trojan protocols in Shadowrocket.
MK
Michael KimAdding custom servers to Shadowrocket is essential for accessing your preferred proxy services. Whether you have SSR, V2Ray, or Trojan servers, this comprehensive guide will walk you through manual configuration and subscription URL setup.
🎯 What You'll Learn
- • Manual server configuration for SSR, V2Ray, and Trojan
- • Setting up subscription URLs for automatic updates
- • Server testing and optimization techniques
- • Troubleshooting common connection issues
Manual Server Configuration
🔧SSR (ShadowsocksR) Configuration
Required Parameters
- • Server Address: IP or domain name
- • Port: Server port number
- • Password: Authentication password
- • Method: Encryption method (aes-256-cfb, etc.)
- • Protocol: SSR protocol type
- • Obfuscation: Obfuscation method
Configuration Steps
- 1. Open Shadowrocket app
- 2. Tap the "+" button to add server
- 3. Select "Add Server" → "Manual"
- 4. Choose "ShadowsocksR" type
- 5. Fill in server parameters
- 6. Save and test connection
🚀V2Ray Configuration
V2Ray Parameters
- • Address: Server hostname/IP
- • Port: Connection port
- • UUID: User identification
- • alterId: Additional ID count
- • Network: Transport protocol (tcp, ws, etc.)
- • TLS: Encryption settings
Advanced Settings
- • Path: WebSocket path (if using ws)
- • Host: HTTP host header
- • Security: Encryption method
- • SNI: Server Name Indication
- • ALPN: Application protocol
🛡️Trojan Configuration
Trojan Setup
Basic Settings:
- • Server address and port
- • Password/UUID authentication
- • SNI configuration for TLS
- • ALPN protocol selection
Security Options:
- • Allow insecure connections
- • Certificate verification
- • Fallback configurations
- • Transport layer security
Using Subscription URLs
📡 Subscription Benefits
- • Automatic server updates
- • Multiple servers in one link
- • Reduced manual configuration
- • Server availability monitoring
- • Load balancing capabilities
- • Failover server switching
- • Regular security updates
- • Provider-managed optimization
Adding Subscription URLs
- 1Open Shadowrocket and tap the "+" button
- 2Select "Add Subscription" from the menu
- 3Paste your subscription URL in the text field
- 4Add a descriptive name for the subscription
- 5Tap "Done" to save and download servers
Server Testing and Optimization
🚄 Speed Testing
- • Use Shadowrocket's built-in speed test
- • Test during different times of day
- • Compare multiple servers
- • Check ping and download speeds
- • Monitor connection stability
⚙️ Optimization Tips
- • Choose servers closest to your location
- • Use faster encryption methods
- • Configure auto-select rules
- • Set up load balancing
- • Optimize DNS settings
Common Issues and Solutions
❌ Connection Failed
- • Verify server address and port
- • Check password and encryption settings
- • Test server availability with ping
- • Try different network connections
- • Contact your service provider
🐌 Slow Speeds
- • Switch to a closer server location
- • Change encryption method to faster option
- • Disable unnecessary obfuscation
- • Check for network congestion
- • Update to latest app version
🎯 Key Takeaways
Manual Configuration
- • Best for custom or private servers
- • Requires technical knowledge
- • Provides full control over settings
- • Ideal for troubleshooting
Subscription URLs
- • Convenient for multiple servers
- • Automatic updates and maintenance
- • Provider-managed optimization
- • Best for beginners