Tutorial for Deploying / Build Your Own Linux OpenVPN Server In The Cloud Or At Home

50
5



Amazon Affiliate Store
➡️

Gear we used on Kit (affiliate Links)
➡️
Try ITProTV free of charge and get 30% off!
➡️

Use OfferCode LTSERVICES to get 10% off your order at
➡️

Tesla Referral Program Offer
🚘

Lawrence Systems Shirts and Swag
👕

Digital Ocean Offer Code
➡️

HostiFi UniFi Cloud Hosting Service
➡️

Protect you privacy with a VPN from Private Internet Access
➡️

Google Fi Service Referral Code
📱

More Of Our Affiliates that help us out and can get you discounts!
➡️

Twitter
🐦

Patreon
🔗

Our Forums
🔗

GitHub
🔗

Discord
🔗

Our Web Site
🔗

PIA Internet Access Affiliates Link

Tutorial for Deploying / Build Your Own Linux OpenVPN Server In The Cloud Or At Home

Script for installing & configuring the OpenVPN Server

Debian Client Install command
apt-get install openvpn

Windows Download

Nguồn: https://rodiziodirectory.com

Xem thêm bài viết khác: https://rodiziodirectory.com/tong-hop/

50 COMMENTS

  1. I know this video is old and you might not answer it but is a certification server really that necessary for an average user like me?
    And one more question: which IP do I use to connect to my vpn server (ipv4 or ipv6)? Is there a way to configure it?

  2. Hi there,
    I'm getting this error when i try to run the cert on the client side:

    Fri Apr 24 11:12:22 2020 Unrecognized option or missing or extra parameter(s) in OVPNTestCertClient.ovpn:13: block-outside-dns (2.4.8)
    Fri Apr 24 11:12:22 2020 OpenVPN 2.4.8 x86_64-redhat-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Nov 1 2019
    Fri Apr 24 11:12:22 2020 library versions: OpenSSL 1.1.1d FIPS 10 Sep 2019, LZO 2.08
    Fri Apr 24 11:12:22 2020 Insufficient key material or header text not found in file '[[INLINE]]' (0/128/256 bytes found/min/max)
    Fri Apr 24 11:12:22 2020 Exiting due to fatal error

    Did not find any solution for this on Google (i'm a bit noob for this things)
    If someone can help me will be really nice

  3. If you wanted 10 users to use this at the same time can they all connect with that same file? And how much server resources would you recommend?

  4. If you're giving ssh security advice. Set sshd to no root login and no password login.
    Create a user with sudo rights.
    Set-up a Key-pair for that user with a "Passphrase"
    And if you wish use a ssh-agent so you won't have to re-type your passphrase each time.

  5. Wow such a good video even 2years later! Can I ask, what were you talking about at the end of the video? The part you said you showed of PIA and that if theres interest you may show us how to do? It certainly sparked my curiosity haha 🙂

  6. Nice. But there is also the official OpenVPN Access Server with web-gui and all, why not use that?. To me that seems really neat, tho limited to two connections.

  7. Hi Lawrence
    Great video and great script.
    I am wondering how to stop the VPN server and how to undone the script?
    Do you have any idea!

  8. Everything works perfect but I can use the internet on the client machine after I connect to the vpn, i'm using ubunto 16 so I'm using the script on this link wget https://git.io/vpn1604 -O openvpn-install.sh && bash openvpn-install.sh. When I'm connected to the vpn I notice that I don't get a gateway

  9. Only 3 mins in and I never thought to use a public key or turn off keyboard authentication! Great tip though I have homework to do as I get a ssh-copy-id: ERROR: no ID file found error! Also never realised you could sftp using the window manager even after years if using Linux. Subscribed for more! Fo those that didn't hear @7:38 the distro is https://neon.kde.org/

  10. hi there, is there any security concern or issue installing/deploying this on a server that is already being used for prodution, let's say with a mySQL DB, or something similar?

  11. Could you do a follow up video on how to take this setup and modify it to work with a 2 factor authentication service like google authenticator or the free version of duo?

  12. I have two Linux VMs on the same network. And I am using one of them as server and the other as the client. All the setup and client config file generation went well. The client also shows Initialization Sequence Completed, after running client config file. But I am not getting internet, I mean "unable to find the proxy server" error is showing up in the client after connecting. What do I do? Any solution is welcome. Please, help me out.

  13. Ran this on CentOS 7. Script runs without error, but can't get the service to start? Any idea what could be the issue? It's a brand new build. Ran updates, rebooted, then ran this script.

  14. Thanks for making this. I appreciate that you talkduring most of the process. I'm blind and that was very helpful. I have a couple of questions. Is this secure? How do you update it?

  15. I was having lots of trouble with errors saying "TLS key negotiation failed to occur within 60 seconds", but in my case I recommend paying close attention to 6:34 when "service openvpn status" is used. Mine was not running so I had to make sure 1). it was installed, and 2). it was running with "service openvpn start" then I was able to immediately start the connection into my VPN server. Also noteworthy if you're hosting it locally be sure that your router is not blocking that port by port forwarding 1194 and pointing it to the correct VM/machine on your network. Good tutorial thx for the vid!

  16. great video, thanks!
    I am running a VM on Google Cloud Console for several reasons and I also want to use it as a VPN server. I already got Google's Outline-VPN (socks5) running properly but now I want my router at home to connect to the VPN server, so I don't have to install a VPN client on each device in my WiFi. My router only supports upload of openVPN files and not socks5 or manual settings. Even though everything from the installation of openvpn software on my server to getting the .ovpn-file downloaded worked fine, I cannot get it running. When I import the .ovpn-file and connect, it seems to do that but I still can't access the internet. I tried opening port 1194 in my server's firewall but it didn't help. In your video, you didn't make any firewall settings, how is that possible?
    Maybe you have any idea on how to solve my problem?
    Thanks!!

  17. I thought it wasn't going to work at first, because at 6:32 you can see that the service is inactive/dead hahah
    about IP information websites, I personally use ipecho.net, since it's quite easy to remember, works all the time and specially because there's also ipecho.net/plain, that is excellent for scripts.
    thank you a lot for the video!

  18. This works great but the connection will drop every 5 minutes or so leaving me with no internet connection. Any reason for this? Could you please help me?

    Thanks,

    Tony

  19. Great video! I have a question — suppose you have multiple devices on that VPN you created, are you able to ssh b/w the devices?

  20. Thanks for this great video. Just wondering how to run this .ovpn file without have to enter it manually each time want to connect to the VPN server and how to configure this to run in macos?

LEAVE A REPLY

Please enter your comment!
Please enter your name here