Repository navigation
v2.1.0
What's New
Features
- Routing Rule Management: Add, list, and remove custom routing rules
- Support for domain, IP, GeoIP, and GeoSite rules
- Different outbound options (direct, proxy, blocked)
- Separate rule management for Gateway and Edge servers
- Script Self-Update: Update xcp.sh directly from GitHub
- Interactive menu to update script, Xray binary, or both
- Automatic backup before updates
Testing
- Comprehensive test suite: 21 tests
- Rule management validation
- User management tests
- JSON operations testing
- Makefile for development workflow
make test- Run test suitemake lint- Check script syntaxmake install- Install to system
Documentation
- New routing rules guide (English and Persian)
- Updated command documentation
- Development section in README
Installation
curl -sL https://raw.githubusercontent.com/dalirnet/xray-chain-proxy/v2.1.0/script.sh -o xcp.sh
chmod +x xcp.shUpgrade from v2.0.0
./xcp.sh updateFull Changelog: v2.0.0...v2.1.0