Hello,
I'm trying to setup OpenVPN on my VPS (Ubuntu 10.04) and use it with my android phone. My ISP has blocked pretty much everything, even pptp. Last time I tried OpenVPN, I was getting timeout error (another kind of block) and I gave up.
Today I came across a website selling VPNs and I saw they have listed openVPN as one of their options. I downloaded their test account config to check and it worked. So I thought maybe I could do the same using the same settings as they did.
So in short, I'm trying to adjust my server to work with such client settings. Their client settings is as follows:
client
dev tun
proto tcp
remote 127.0.0.1 1900
http-proxy some.url.com 7888
persist-key
persist-tun
resolv-retry infinite
route-metric 1
nobind
pull
verb 3
auth-user-pass
<ca>
-----BEGIN CERTIFICATE-----
encrypted stuff here
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
encrypted stuff here
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN CERTIFICATE-----
encrypted stuff here
-----END CERTIFICATE-----
</key>
The only thing seems to be doing the trick and bypass my insane ISP is the http-proxy stuff.
On my own VPS, I have websites running under nginx webserver. Can somebody tell me how to setup that proxy stuff on my server like that?
My server config:
port 53423
proto tcp
dev tun
ca ca.crt
cert mymachine.crt
key mymachine.key # This file should be kept secret
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3