Author Topic: howto setup VPN client on Gnome Network Manager  (Read 3076 times)

nicolasdiogo

  • Forum Moderator
  • Zen Samurai
  • *****
  • Posts: 263
  • Karma: +3/-0
  • a pessimist, but trying out optimism
    • View Profile
    • BrainPowered Business Intelligence Consultancy - UK
howto setup VPN client on Gnome Network Manager
« on: December 29, 2008, 04:42:04 pm »
Hi,

i would like to find out if there is information somewhere that describes the configuration of gnome's network manager (nm-applet)?

i have created a VPN server on ebox (aDomain.com) using port 65008.  and downloaded the bundled configuration for *unix.

the following is how i have enabled a connection using network manager:
gateway address: aDomain.com
gateway port: 65008
connection type: x.509 certificates
CA file: <cacert.pem from bundle>
Certificate: <{randomNumber}.pem from bundle>
key: <{clientCertificate}.pem from bundle>
only VPN connection for these addresses: <unticked>
use LZO: <ticked>
use TAP device: <ticked>
use TCP connection: <ticked>
x.509 allow server certificate without server extention: <unticked>
user cypher: <unticked>
use TLS auth: <unticked>

trouble is that it does not work.
has anyone managed to setup Network Manager (ubuntu 8.04) as a client of Ebox-VPN?

thanks,

Nicolas
my opinions and suggestion expressed on this forum are my own as a user.
please note that i am not part of the Zentyal Development Team

www.brainpowered.net - supporting open-source Business Intelligence in Europe

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: howto setup VPN client on Gnome Network Manager
« Reply #1 on: December 29, 2008, 05:37:59 pm »
I don't know if this is what's happening to you but it seems that some nm versions removed the /etc/resolv.conf file if the VPN server didn't push DNS's.

https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/96260

nicolasdiogo

  • Forum Moderator
  • Zen Samurai
  • *****
  • Posts: 263
  • Karma: +3/-0
  • a pessimist, but trying out optimism
    • View Profile
    • BrainPowered Business Intelligence Consultancy - UK
Re: howto setup VPN client on Gnome Network Manager
« Reply #2 on: December 30, 2008, 11:24:01 am »
thanks Javi,

but i do think i am getting even connected.
below is the error message that i am receiving:

Could not start the VPN connection 'aDomain' due to a connection error.
The VPN login failed because the VPN program could not connect to the VPN server.


any idea how i can go about changing the configurations given above, to solve this problem?

many thanks,

Nicolas
my opinions and suggestion expressed on this forum are my own as a user.
please note that i am not part of the Zentyal Development Team

www.brainpowered.net - supporting open-source Business Intelligence in Europe

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: howto setup VPN client on Gnome Network Manager
« Reply #3 on: January 01, 2009, 07:31:14 pm »
Hi Nicolas,

Does it work if you just run the openvpn executable with the configuration shipped into the bundle?

nicolasdiogo

  • Forum Moderator
  • Zen Samurai
  • *****
  • Posts: 263
  • Karma: +3/-0
  • a pessimist, but trying out optimism
    • View Profile
    • BrainPowered Business Intelligence Consultancy - UK
Re: howto setup VPN client on Gnome Network Manager
« Reply #4 on: January 04, 2009, 11:46:32 am »
Javi,

it works fine if using the openvpn command line as specified in teh documentation.

but for that i believe i would need to allow root access to users, which is something that i would rather avoid.

by looking at the information and the screenshot: have i entered all the information correctly on the network manager gui?

Nicolas
my opinions and suggestion expressed on this forum are my own as a user.
please note that i am not part of the Zentyal Development Team

www.brainpowered.net - supporting open-source Business Intelligence in Europe

Javier Amor Garcia

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1225
  • Karma: +12/-0
    • View Profile
Re: howto setup VPN client on Gnome Network Manager
« Reply #5 on: January 07, 2009, 03:08:27 pm »
At first sight it seems correct but you can double-check with the configuration options of the file.
Check also the server's address, if in the configuration file is listed as an IP address and you are using a host name in the Gnome Network Manager, maybe we have a DNS problem.

Anyway I have never used the GNertwork Manager so I am not aware of any special issue it may be have.

nicolasdiogo

  • Forum Moderator
  • Zen Samurai
  • *****
  • Posts: 263
  • Karma: +3/-0
  • a pessimist, but trying out optimism
    • View Profile
    • BrainPowered Business Intelligence Consultancy - UK
Re: howto setup VPN client on Gnome Network Manager
« Reply #6 on: January 15, 2009, 12:21:57 am »
thanks Javi,

i am working on the gnome issue still,

but i have checked the nslookup and it matches the domain IP.
in any case, i have changed and tried using the IP alone without success.


Nicolas
my opinions and suggestion expressed on this forum are my own as a user.
please note that i am not part of the Zentyal Development Team

www.brainpowered.net - supporting open-source Business Intelligence in Europe