4 ms·
There are solutions which allow to redirect transit TCP connections into SOCKS proxy transparently: https://github.com/cybozu-go/transocks https://github.com/cy
by Snawoot 6y ago
There are solutions which allow to redirect transit TCP connections into SOCKS proxy transparently: https://github.com/cybozu-go/transocks https://github.com/cybozu-go/transocks
So, yes, VM/router solution will work for TCP connections.
Also there are wrappers which can intercept connect calls to libc from applications on Linux (which is useful if you need to redirect only one application which doesn't support SOCKS proxies): https://linux.die.net/man/8/tsocks https://linux.die.net/man/8/tsocks