OpenVPN supports operation through an HTTP or SOCKS proxy with no authentication, with basic authentication and with NTLM authentication. We will cover both HTTP and SOCKS proxy servers, both with and without authentication.
HTTP proxies require the use of TCP for the OpenVPN tunnel transport. If you are currently using UDP, the protocol argument in both the server as well as the client configurations will need to be updated:
Once configured, add proxy support to the client by adding the
--http-proxy configuration directive. As an example, let's assume your local area network requires an anonymous proxy for outbound connections and that server is at
192.168.4.4 on the default port
1080. Your configuration would be something like this:
http-proxy 192.168.4.4 1080 none
This will allow your OpenVPN client connection to connect to your remote OpenVPN server through the proxy server on your local network. An authenticated HTTP proxy...