I installed OpenVPN server and connect to it from my PC. On sites I can see, that my IP address - is VDS address, so all work fine. But I can't go to sites, which blocked in my county.

Firstly, I try to change DNS servers to Google DNS servers, but this is not help.

Configuration on server (server.conf):

port 7810

proto tcp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
ifconfig-pool-persist ipp.txt
keepalive 10 120
status openvpn-status.log
log         openvpn.log
log-append  openvpn.log
verb 3

push "redirect-gateway def1"
push "dhcp-option DNS"
push "dhcp-option DNS"

Configuration on client (openvpn.conf):

remote 7810

push "redirect-gateway def1"
push "dhcp-option DNS"
push "dhcp-option DNS"

remote-cert-tls server
proto tcp-client
dev tun0
resolv-retry infinite
ca ca.crt
cert client1.crt
key client1.key
verb 3 
route-method exe
route-delay 2

Why I can't take access to blocked sites and how it fix?

  • is a russian IP, geolocation works with your serv er IPs as well – Bruno9779 May 22 '17 at 17:36
  • @Bruno9779, I know... All sites told, that I from Moskow. Sites, which allowed in Moskow, but denied in my country - is not working. – Rostislav Dugin May 22 '17 at 18:04
  • What happens if you login to the server and access the content directly with curl? – Bruno9779 May 22 '17 at 18:41
  • @Bruno9779, all works. – Rostislav Dugin May 22 '17 at 18:43
  • It looks like this might help: serverfault.com/questions/814137/… – Bruno9779 May 22 '17 at 20:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.