WARNING: THIS FEATURE DOESN'T BE TESTED COMPLETELY !!
use things-go/go-socks5 instead of armon/go-socks5, which introduce UDP ASSOCIATE. BUT I think this repo has some fatal error, so I create a pr already, but before it be merged we use cxz66666/go-sock5 instead it.
just use gonet.DialUDP to create a udp associate.
NOTIFY:
When using Clash Tun mode for a udp proxy, PLEASE set server addr to LAN ADDRESS(e.g.:192.168..), DON'T USE 127.0.0.1 or localhost, please check this issue.
WARNING: THIS FEATURE DOESN'T BE TESTED COMPLETELY !!
use
things-go/go-socks5
instead ofarmon/go-socks5
, which introduce UDP ASSOCIATE. BUT I think this repo has some fatal error, so I create a pr already, but before it be merged we usecxz66666/go-sock5
instead it.just use
gonet.DialUDP
to create a udp associate.NOTIFY: When using Clash Tun mode for a udp proxy, PLEASE set server addr to LAN ADDRESS(e.g.:192.168..), DON'T USE 127.0.0.1 or localhost, please check this issue.