Page 1 of 1

Browsing problem

Posted: Thu Apr 14, 2011 12:22 am
by cu2hell
Hi, this is my client config, when using this config, i get connected without a problem, but once i run any of my browser, there's no internet, no ping also.
what i would do is disconnect from my current selected server then connect again, and my problem is solved and i get my browsing.

why is that happening? i need to disconnect and connect again before it goes fine.
I also tried other computer, different OS such as XP and Win Vista and Win 7, same problem.

am i missing something?

#OpenVPN Client conf
tls-client
client
dev tun
proto tcp
remote ***.*** 80
ca nova.crt
route-method exe
route-delay 2
resolv-retry infinite
bind
persist-key
persist-tun
comp-lzo
verb 3
reneg-sec 0
auth-user-pass

Re: Browsing problem

Posted: Thu Apr 14, 2011 8:15 am
by maikcat
hi there,

it would help us alot if you posted your server config as well...

michael.

Re: Browsing problem

Posted: Fri Apr 15, 2011 6:36 am
by cu2hell
This is my Server;

server 10.8.0.0 255.255.255.0
user daemon
group daemon
port 80
proto tcp
dev tun
persist-tun
persist-key
plugin /etc/openvpn/radiusplugin.so /etc/openvpn/radiusplugin-tcp.cnf
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key
dh /etc/openvpn/dh1024.pem

ifconfig-pool-persist ipp.txt
route-method exe
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"

client-cert-not-required
username-as-common-name
duplicate-cn
keepalive 10 300
comp-lzo
persist-key
persist-tun
status /var/log/openvpn-status-tcp.log 1
log-append /var/log/openvpn-tcp.log
verb 3

reneg-sec 0
hand-window 300

max-clients 30
max-routes-per-client 75
management localhost 7505

Re: Browsing problem

Posted: Fri Apr 15, 2011 8:21 am
by maikcat
hi there,

your server pushes gateway to you,
for this scenario to work your openvpn server must

performs nat to traffic originating from your vpn network

or

your internet router (server side)
must knows about your vpn network

post the results of iptables -L -t nat
on your vpn server.

ps: to help you ,we must know as much we can about your setup ,
so keep in mind that the most info you post , you increase the possibilities to get help.

Michael.