Warning: file_get_contents(wordpress/wp-content/uploads/2009/09/openvpn.txt) [function.file-get-contents]: failed to open stream: No such file or directory in /var/www/wordpress/wp-content/plugins/file-inliner/fileinliner.php on line 81
So it took me a little while to gather the right set of docs to get this working but I find it useful when in places where you can get http/https connections but nothing else.
This is using tun network interface so make sure that is available on your server.
I also created a dummy0 with a random ip 192.168.123.1 so I could connect to services on my server without bypassing the VPN tunnel. The dns server running on 192.168.123.1 redirects server.external to that ip address.
Anyway here is my server config.
As you can see OpenVPN binds to the external port 443 and forwards non VPN traffic to localhost:443 where the webserver is listening.
I understood most of that, do I get a million pounds of chocolate
Comment by Derek Taylor — September 6, 2009 @ 6:55 pm