Page 1 of 1

Cannot Use OpenVPN service

PostPosted: Feb 3rd, '13, 20:36
by agentfat2004
I am a previous Mandriva user. I had a vm installed with Mardriva 2011 a month ago, needed to do a reformat of my entire system and decided to make the switch. Before I made the switch I had an openvpn.conf file that I used to connect to an openvpn server(Private internet access,https://www.privateinternetaccess.com/) without issues. However after installing openvpn it seems that just executing
openvpn --config configfile
is no longer enough to make the vpn work
For example I am using this config file

client
dev tun
proto udp
remote us-california.privateinternetaccess.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
tls-client
remote-cert-tls server
auth-user-pass
comp-lzo
verb 1
reneg-sec 0


I have attached images of the result of running openvpn --config config file and also my ifconfig after creating the tunnel. However I am unable to ping google,yahoo etc. So basically I am connected but cant get anywhere on the internet. This worked before with Mandriva so maybe I am missing something.

Re: Cannot Use OpenVPN service

PostPosted: Feb 3rd, '13, 20:43
by agentfat2004
Seems my files didn't get attached, attaching them now
ifconfig.jpg
ifconfig
ifconfig.jpg (174.36 KiB) Viewed 2023 times


Connection.jpg
openvpn --config configfile
Connection.jpg (193.42 KiB) Viewed 2023 times

Re: Cannot Use OpenVPN service

PostPosted: Feb 5th, '13, 20:14
by martinw
Do you have the software firewall enabled? I found that all traffic on the VPN was blocked until I reconfigured the firewall. You need to start the VPN connection first, so that the firewall can see the tun0 interface.