jonohill / docker-openvpn-proxy

HTTP proxy server which (selectively) tunnels traffic over an OpenVPN connection
MIT License
85 stars 29 forks source link

Configuration for external access #3

Closed seb3point0 closed 3 years ago

seb3point0 commented 3 years ago

Does this image allow external access from WAN? What configuration would that require?

jonohill commented 3 years ago

Yes I expect that'd work but it's not something I've tried. From a security perspective I wouldn't recommend exposing over WAN without proxy TLS and authentication, which this image does not implement. If you want the PAC script to work you'd need to set OPENVPN_HOST to the WAN host name, beyond that I don't think there'd be any special config required.

joeblowout commented 2 years ago

Sir, it's still not working for external IP access no matter what I try. I intend to setup a middle man server on my vps for my VPN subscription, where all traffic is routed through said VPS. Seems like this openvpn docker only accepts localhost address, as tested on qbittorrent docker container http proxy setting. So long the http proxy addresses reference localhost(127.0.0.1, 0.0.0.0, localhost), it will work, but not others