shadowsocks-rust
shadowsocks-rust copied to clipboard
[Feature][Windows] Add 'redirect-to-proxy' option
trafficstars
ssserver on Windows
redirect-to is an array. When the client's packet match it, forward it to another proxy.
(port)/(tcp|udp) : (direct|socks4|socks5)://(IP:Port)/(tcp|udp) | null
example:
{
'redirect-to':[
'53/tcp': 'direct://127.0.0.1:53/udp',
'53/udp': 'direct://127.0.0.1:53/udp',
'80/tcp': null,
'443/tcp': 'socks5://127.0.0.1:9050/tcp'
'*': null
]
}
meaning;
The 1st and 2nd lines will hijack DNS connection to outside (eg Google) to local DNS server. Connecttion to http: will be blocked. Connection to https: will be rerouted to Tor. Connection to other ports (eg SMTP) are blocked.
Now it becomes a v2ray.