1

OpenVPN has the option to connect through a socks proxy.

Tor, as you may know, provides a SOCKS proxy (listening on localhost) to anonymize the apps/traffic using it.

I would like to connect my OpenVPN client through Tor's SOCKS proxy.

socks-proxy ... socks-proxy-retry ...

Do not work out of the box. I suspect this is because I need to fiddle with iptables or route to make sure Tor is left alone by OpenVPN and will not be routed through OpenVPN (because in reality OpenVPN has to go through Tor). How can it be done? These guys' product works (so it's doable): https://airvpn.org/tor/

1

You might use virtual machine, e.g. some virtual container, like jail or lxc.

Thereafter, setup virtual interface on the host, bind Tor's socks5 port to this interface.

In the vm, start openvpn daemon with host's virtual interface socks-proxy address, and socks5 port.

Now your vpn goes through Tor.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.