This gist provides key guideline to make Clash tun handle Telegram's pure IP traffic.
- The IP list file
telegram.list
is located in/etc/asn/
7892
isredir-port
in Clash's config file- iptables module
iptables-mod-extra
is required for the--match-set
usage
- Prepare your Clash service with:
- Run
setup_firewall
after starting service - Run
reset_firewall
after stopping service
- Start Clash service with tun enabled