Page 1 of 1

VPN - Internet issues - Openvpn

PostPosted: Aug 30th, '12, 21:48
by Alister
so im new to using this past few days been trying to set up my vpn without much success when i go to the network icon in the taskbar and go to vpn open vpn it successfully installed the openvpn drivers however ive used vpn under pinguyos using network manager so i installed knetwork manager openvpn and networkmanager openvpn i cant figure out how to start either of these since they dont appear anywhere to open them that said the usual way i have connected to my vpn service is usally to manually type in the username and password and point the cilent to the nvpn.crt file

when i try and configure this via the default manager i pick a name for the vpn it comes up with type x509 public key infrastucture or static key either way i cant work out what to choose even if i pointed certificate to the .crt file it has get ip address from server but no area to configure the username password as such the reason i manually installed both network managers hoping to open them and configure it that way but since i cant find anything to open thats fun

my other issue just a in general wireless connection issue i had ever since installing mageia was when i configure the settings for the wireless and try and push the connect button it simply wouldnt connect at all even tho the details were correct i looked around on this site for posts turns out i wasnt alone mine didnt start working until i connected a second wireless card and restarted my pc so i get successful wifi connections so long as im restarting my pc if i open it up and click disconnect then try and push connect it will never succesfully connect anyone have any ideas why this would be? oh... and it seems if i configure it with allow interface to be controlled by network manager that i just cant get the internet to work

anyways if anyone can offer an opinion advice on this it would be greatly appreciated

Re: VPN - Internet issues - Openvpn

PostPosted: Sep 3rd, '12, 17:27
by wintpe
Im running openvpn client back to my home.

i have not bothered with the gui tools, and simply install the config files and run service openvpn start, when i want to connect.

you will need to generate a certificate on the server and get it to the client.

then setup the openvpn config files under /etc.

in there you specify the addresses you will connect to , what routes to add, etc.

ill post some examples later when i get home, but i learned it all from a couple of howtos on line.

heres a few of the howtos i used.

http://www.techrepublic.com/blog/openso ... lient/1894

http://www.secure-computing.net/wiki/in ... PN/Routing

basicly you should end up with a tun0 ethernet with an alternative route out of your system.

the tun0 is a tunnel , but its also a complete ethernet connection, that tunnels over the internet into your private network.

so when you ssh or open any connection to your private network, a route should steer your traffic, through tun0, intead of trying to find it over eth0.

this is not so different to ssh'ing over the internet into your site, accept you can push any IP down it, not just a terminal/file transfer.

regards peter