semigodking / redsocks

transparent redirector of any TCP/UDP connection to proxy
Apache License 2.0
1.17k stars 247 forks source link

Simple tproxy example? #205

Open iopq opened 1 month ago

iopq commented 1 month ago

I tried a few different approaches and didn't succeed

I just want to forward all tcp and udp packets to a 127.0.0.1 socks5 server which would require tproxy. How do I do that?

ge9 commented 1 month ago

I think you've checked my comment in old redsocks repo, and I also created a post in dev.to: https://dev.to/enev_turg_f1651983412d040/how-to-set-up-tcpudp-transparent-proxy-with-iptables-5e4g