computerscot.github.io

OpenVPN through Tor

August 15, 2023

Someone was asking on Reddit how to pass traffic through Tor while exiting to the web from a non-Tor node. One way to do this would be to exit from any OpenVPN server which is not also a Tor exit node.

Principles:

Tor Browser:

obfs4 XX.XX.XX.XX:80 5EDA...9A08 cert=2upl...d0ew iat-mode=0

OpenVPN client configuration:

proto tcp
socks-proxy 127.0.0.1 9150
route XX.XX.XX.XX 255.255.255.255 net_gateway

Reference: https://tor.stackexchange.com/questions/22131/openvpn-over-tor.