Page 1 of 1

config Server.ovpn and Client.ovpn to access blocked site

Posted: Sun Oct 30, 2011 6:51 pm
by bqstos
Hello,

I'm trying to configure my server.ovpn and my client.ovpn so that I can access blocked site.

Here is my Client.ovpn

Code: Select all

client
dev tun
proto udp
remote my-server 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client-bqstos4.crt
key client-bqstos4.key
ns-cert-type server
comp-lzo
verb 5
And my Server.ovpn

Code: Select all

proto udp
dev tun
ca ca.crt
cert server.crt
key server.key  # This file should be kept secret
dh dh1024.pem
server 10.8.0.0 255.255.255.0
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 5
My vpn server is installed on Windows 2008 R2
So fare I can connect to the vpn server but I can't access blocked site.

Re: config Server.ovpn and Client.ovpn to access blocked sit

Posted: Sun Oct 30, 2011 8:47 pm
by bqstos
I tried to use

Code: Select all

push "redirect-gateway def1"
and

Code: Select all

push "dhcp-option DNS 10.8.0.1"
and I couldn't connect to any web page.

Re: config Server.ovpn and Client.ovpn to access blocked sit

Posted: Sun Oct 30, 2011 9:18 pm
by bqstos
I followed this tutorial and everything worked even in Windows 2008 R2
topic7806.html