Open swex opened 5 years ago
It seems you should use OUTPUT chain in mangle table.
iptables -t mangle -A OUTPUT -j REDSOCKS2
no, it doesn't work. In my dmesg I see:
x_tables: ip_tables: TPROXY target: used from hooks PREROUTING/OUTPUT, but only usable from PREROUTING
you should mark your connections (-j mark 1) in the OUPUT chain to make it go through your local routing table and enter the PREROUTING chain and TPROXY target. Typically OUPUT connections won't enter the PREROUTING chain and there should be no TPROXY target in the OUPUT chain.
Hello! Can somebody please help me with transparent UDP proxy configuration: I have remote service UDP service I want to reach via socks5 proxy. here are my redudp part of my
redsocks.conf
and routing/iptables configuration please tell me what is wrong with itIn that case nothing happened. If I add the next rule:
I can see
UDP associate
on my socks5 server but nothing on the other end of the client.