Redsocks Transparent Proxy

Set up transparent split routing on a Linux server (mainland China) so that non-China TCP traffic is forwarded through a SOCKS5/HTTP proxy while China traffic stays direct, with domain-split DNS (dnsmasq + unbound over TCP) to defeat DNS poisoning. Use when asked to route a server's foreign traffic through a proxy, transparently bypass the GFW, keep domestic traffic fast, or configure redsocks/nftables for split tunneling.

chenxianlong Updated

File contents

chenxianlong/redsocks-transparent-proxy/tree/main/ commit e5c3dcd2ea

Frequently asked questions

npx skillmds@latest add chenxianlong/redsocks-transparent-proxy