Code: Select all
port 53
proto udp
dev tun
scramble obfuscate test
ca ca.crt
cert server.crt
key server.key
tls-auth ta.key 0
dh dh2048.pem
server 10.8.0.0 255.255.255.0
cipher AES-256-CBC
comp-lzo
persist-key
persist-tun
user nobody
group nogroup
status openvpn-status.log
verb 3
push "redirect-gateway def1"
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 208.67.220.220"
keepalive 5 30
Code: Select all
client
dev tun
scramble obfuscate test
proto udp
remote 44.xx.xx.xx 53
resolv-retry infinite
lport 9200
persist-key
persist-tun
ca ca.crt
cert client1.crt
key client1.key
tls-auth ta.key 1
remote-cert-tls server
cipher AES-256-CBC
comp-lzo
verb 3
fast-io
script-security 2
It has no problem connecting , but i cant surf the web
even if i change the dns configs in my client .
Im guessing that iptables can help me out in this , since udp53 its the port to resolve addresses in my ISP (DNS) .
Someone knows how to foward the traffic in order to get dns to work properly ?
Thanks in Advise !