Detailed Surfboard Tutorial for Android
Introduction
Surfboard is a lightweight proxy tool for Android that supports Surge configuration, making it easy to implement rule-based traffic routing and proxy switching.
Download and Installation
Click here to go to the Android download page
Basic Settings
Import Configuration
- Open the Surfboard app
- Tap the "+" button in the top right corner
- Select "Import from URL"
- Enter your Clash configuration subscription link
- Tap the "Download" button
Configuration Conversion Note
Since Surfboard uses a Surge-compatible configuration format, not Clash format, you may need to:
- Use a configuration conversion tool to convert Clash config to Surge format
- Or use a subscription link that supports Surfboard
Start Proxy
- On the main screen, select your imported configuration
- Tap the "Start" button in the bottom right to enable the proxy
- The first time you start, you'll be asked for MOFA permissions, tap "Allow"
Proxy Mode Settings
- Tap "Global Routing" on the main screen
- Available modes:
- Proxy: All traffic goes through the proxy
- Direct: All traffic connects directly
- Rule: Smart routing based on rules (recommended)
Advanced Features
Policy Group Switching
- Swipe down on the main screen to view all policy groups
- Tap on each policy group to manually switch nodes
- Long-press a policy group to run a latency test
Rule Editing
- Tap "Edit" on the configuration details page
- You can manually edit rules in the configuration
- Add custom rules, for example:
DOMAIN-SUFFIX,example.com,DIRECT DOMAIN-KEYWORD,google,Proxy
Local DNS Settings
- In settings, find "DNS Settings"
- Configure DoH, DoT, etc. encrypted DNS
- Set up local DNS servers
Common Issues
Connection Problems
- Check if your network connection is working
- Verify that your subscription link is valid
- Try updating your configuration file
Performance Optimization
- Reduce the number of rules to improve matching speed
- Use simplified configurations
- Turn off unnecessary logging
Battery Optimization
- Add Surfboard to your battery optimization whitelist in system settings
- Using rule mode instead of global proxy can reduce battery consumption