This is a great tutorial. I'm sorta new to VPN, but once you have the server configured and running, if I want to run a torrent client like transmission, is there any additional configuration that I must do?
hey im did followed your presentation , but not i encountered a problem: it reads...:cp ubuntu.crt ubuntu.key ca.crt dh2048.pem /etc/openvpn/ and enter then it says permission denied
+ogopotse mabe that means that your user has no permission to make that change. Check the ownership of the files and the folder. or use "sudo" in front of your command
The client certificate that you've created in video is of 0 bytes. I've got the same issue, OpenVPN wont accept it. Any suggestions what could be causing it?
Its very nice video, but no I have only one machine ubuntu 14.04 I did your steps but I need to connect to client using terminal and get it connected to the vpn server, what I mean if i need to check my ip I should see something different right?
Hello. I'm a 100% biggner with linux. I simply followed all you presented here. But in the last part I get lost. You click a boutton to connet to the vpn sever. I relly don't know where to find this connetion boutton in my pc (with Xubuntu 12.04) and how to set it up. Hope you could give me some help. Thanks very much.
Hi there. What button do you mean, the one at 19:50? That is a VPN Client application called Viscosity, but it is only available on Mac and Windows, if you are using Xubuntu just go to the OpenVPN web page and download the client. Another option is to use the VPN connection manager built in your Xubuntu Network manager. And another option, is to download a tool called Gadmin OpenVPN Client. I hope it helped. if not, just ask again.
if I want to have 2 connections at the same time (1- internet connection by my provider, 2- vpn tunnel) and go to the internet by only from my provider. What settings should be in server/client config files ?
Very good tutorial, except the end, where a few steps are missing for Ubuntu users. How can I connect my vpn once I have written the file server.conf ?
Hi Cyril. Well this video was just to install an configure the server. The files you need to connect to your server (if you follow my tutorials) are: - *.ovpn file - ca.crt - client.crt - client.key - dh2048.pem I have several tutorials on my webpage. To create the *.ovpn file check the step 3 in this tutorial --> goo.gl/7Rb9XA Anyway this video is old. I posted new step-by-step tutorials on my webpage: If you need to install and configure OpenVPN using TUN and UDP, check here --> goo.gl/NaW2HI If you need to install and configure OpenVPN using TAP and TCP, check here --> goo.gl/qevvml
i follow your step to install & configure vpn. but, i dont know how to connect it. so, can you tell me how to connect vpn via ubuntu? #please reply ASAP
By default TCP:443 and UDP:1194. They recommend using the UDP:1194 port because it works better for OpenVPN tunnels, but due to the restrictions existing in some public locations, where they block all ports except the most common ones (http, https, ftp, pop3) they have the TCP:443 option. And they also have the TCP:943 port where you can access the web server interface (yourservername:943). So, the short answer is: OpenVPN uses ports TCP:443 TCP:943 UDP:1194
ONETWOREE use the scp command.Let's say that you have the keys in "/etc/openvpn/easy-rsa/keys/client.key" and you want to move it to the folder "/home/user/Desktop" in the 192.168.1.1 computer. Then type: scp /etc/openvpn/easy-rsa/keys/client.key user@192.168.1.1:/home/user/Desktop It's going to ask you for that user's password. You can do it the other way around. You are in your computer, the keys are in the server with IP 192.168.1.2 in the same folder I said above and you want to copy the keys to your desktop. Then type: scp root@192.168.1.2:/etc/openvpn/easy-rsa/keys/client.key /home/user/Desktop You need to know the root password.
Ubuntu - How to do it do we have to enable two interfaces ? i mean one for the local network and another for the vpn ? and do we have to set a bridged interface ? i'm trying to configure openvpn under ubuntu server 14.04 and what ever configuration i did I always got the same public IP ,,
Hi Sara MAFTAH maybe you want to read this www.ubuntu-howtodoit.com/?p=20 and this www.ubuntu-howtodoit.com/?p=39 I just posted those and if what you want is to use bridging instead of routing then read the one about the TAP interface In the example on this video I use routing (TUN) and I am only using 1 interface.
and build tracks from there and leave the rest for a later session. I did both but did the first way initially and it took a day to get through
Use "cd ../.." to go back two directories at once.
Overall, very useful video.
Also your mind catches more stuff when you're interested
Helped a lot. Thanks. Very good tutorial.
+In the setup +inthesetup I am getting a long drawn out static-like soft when I try to listen to the GMS setupe, doing EXACTLY what you
This is a great tutorial. I'm sorta new to VPN, but once you have the server configured and running, if I want to run a torrent client like transmission, is there any additional configuration that I must do?
I will check that out. Thanks for the tip!
hey im did followed your presentation , but not i encountered a problem: it reads...:cp ubuntu.crt ubuntu.key ca.crt dh2048.pem /etc/openvpn/ and enter then it says permission denied
+ogopotse mabe that means that your user has no permission to make that change. Check the ownership of the files and the folder. or use "sudo" in front of your command
The client certificate that you've created in video is of 0 bytes. I've got the same issue, OpenVPN wont accept it. Any suggestions what could be causing it?
Balwant Bhamrah Hi there. Just use the command ./build-key-pass instead of ./build-key
Its very nice video, but no I have only one machine ubuntu 14.04 I did your steps but I need to connect to client using terminal and get it connected to the vpn server, what I mean if i need to check my ip I should see something different right?
+Ali Moe sorry but I do not understand your question. Can you please rephrase it?
Hello. I'm a 100% biggner with linux. I simply followed all you presented here. But in the last part I get lost. You click a boutton to connet to the vpn sever. I relly don't know where to find this connetion boutton in my pc (with Xubuntu 12.04) and how to set it up. Hope you could give me some help. Thanks very much.
Hi there. What button do you mean, the one at 19:50? That is a VPN Client application called Viscosity, but it is only available on Mac and Windows, if you are using Xubuntu just go to the OpenVPN web page and download the client.
Another option is to use the VPN connection manager built in your Xubuntu Network manager. And another option, is to download a tool called Gadmin OpenVPN Client. I hope it helped. if not, just ask again.
may i ask smethng please .. what method or software u are use to test or connect with ur vpn
depends on the platform,. On windowsyou can use openvpn gui, it is free
What is the fix for DNS leak ?
how the hell do u set the vpn on settings?
if I want to have 2 connections at the same time (1- internet connection by my provider, 2- vpn tunnel) and go to the internet by only from my provider.
What settings should be in server/client config files ?
+Artemka Rocks remove the push "route ......" line
Very good tutorial, except the end, where a few steps are missing for Ubuntu users. How can I connect my vpn once I have written the file server.conf ?
Hi Cyril. Well this video was just to install an configure the server.
The files you need to connect to your server (if you follow my tutorials) are:
- *.ovpn file
- ca.crt
- client.crt
- client.key
- dh2048.pem
I have several tutorials on my webpage.
To create the *.ovpn file check the step 3 in this tutorial --> goo.gl/7Rb9XA
Anyway this video is old. I posted new step-by-step tutorials on my webpage:
If you need to install and configure OpenVPN using TUN and UDP, check here --> goo.gl/NaW2HI
If you need to install and configure OpenVPN using TAP and TCP, check here --> goo.gl/qevvml
Thanks for your reply and links!
can you give me the reference that you followed ?
I think the first time I did it, I followed the instructions in OpenVPN Web Site
i follow your step to install & configure vpn. but, i dont know how to connect it. so, can you tell me how to connect vpn via ubuntu?
#please reply ASAP
+a cw
From the command line:
apt-get install openvpn
openvpn --config /path/to/config.ovpn
From GUI you can take a look at Gadmin OpenVPN Client
where can i get the gadmin openvpn client? install?
Take a look here launchpad.net/ubuntu/trusty/+package/gadmin-openvpn-client
what ports does openvpn use?
By default TCP:443 and UDP:1194. They recommend using the UDP:1194 port because it works better for OpenVPN tunnels, but due to the restrictions existing in some public locations, where they block all ports except the most common ones (http, https, ftp, pop3) they have the TCP:443 option. And they also have the TCP:943 port where you can access the web server interface (yourservername:943).
So, the short answer is:
OpenVPN uses ports TCP:443 TCP:943 UDP:1194
Thanks
How do I download the keys over ssh?
ONETWOREE use the scp command.Let's say that you have the keys in "/etc/openvpn/easy-rsa/keys/client.key" and you want to move it to the folder "/home/user/Desktop" in the 192.168.1.1 computer.
Then type:
scp /etc/openvpn/easy-rsa/keys/client.key user@192.168.1.1:/home/user/Desktop
It's going to ask you for that user's password.
You can do it the other way around. You are in your computer, the keys are in the server with IP 192.168.1.2 in the same folder I said above and you want to copy the keys to your desktop.
Then type:
scp root@192.168.1.2:/etc/openvpn/easy-rsa/keys/client.key /home/user/Desktop
You need to know the root password.
+Ubuntu - How to do it
in what folder I must to put the "client.key" (those 3 files), on 09:51 ?
+Artemka Rocksyzou the client certificate and key must stay in /etc/openvpn/easy-rsa/keys/
Hey ! can you please post your network configuration ..
Sara MAFTAH Hi there, that was just an example set up. What exactly do you need to know?
Ubuntu - How to do it do we have to enable two interfaces ? i mean one for the local network and another for the vpn ? and do we have to set a bridged interface ? i'm trying to configure openvpn under ubuntu server 14.04 and what ever configuration i did I always got the same public IP ,,
Hi Sara MAFTAH maybe you want to read this www.ubuntu-howtodoit.com/?p=20 and this www.ubuntu-howtodoit.com/?p=39 I just posted those and if what you want is to use bridging instead of routing then read the one about the TAP interface
In the example on this video I use routing (TUN) and I am only using 1 interface.
Okey i'm gonna try it ! Thanks a lot for your help
Sara MAFTAH you are welcome, just keep asking if what i posted didn't help
I had to get Nice tutorialgh to prepare myself to watch tNice tutorials long ass video
if someone is new to this ..they woukdnt understand shit of what you did bro how about if they dont understand CLI OR TERMINAL