semigodking / redsocks

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

Tailscale redirect #175

Open ehpc opened 2 years ago

ehpc commented 2 years ago

Hi! Is there any way to redirect all tailscale traffic through redsocks2? I've tried nftables ip/6 protocol tcp/udp rules with no success. Tailscale somehow manages to bypass redsocks. Other programs behave correctly.

semigodking commented 2 years ago

hi, i did not try this. I am afraid that wireguard protocol is hanled in kernel with priority higher than tproxy in iptables.

Eugene Maslovich @.***> 于 2022年5月6日周五 05:00写道:

Hi! Is there any way to redirect all tailscale traffic through redsocks2? I've tried nftables ip/6 protocol tcp/udp rules with no success. Tailscale somehow manages to bypass redsocks. Other programs behave correctly.

— Reply to this email directly, view it on GitHub https://github.com/semigodking/redsocks/issues/175, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAP2XDYWZW6KOS5FIPKQ2CTVIQZGPANCNFSM5VGIBXVA . You are receiving this because you are subscribed to this thread.Message ID: @.***>