Linux serverlinux web serverNETWORK ADMINISTRATIONS

Install OpenVPN on Ubuntu in AWS (Client to Site VPN)

AWS Point to Site VPN Setup allows you to create secure connections to the AWS VPC.

🔴 – To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting (me@antonputra.com)

👉 How to Manage Secrets in Terraform – https://youtu.be/3N0tGKwvBdA
👉 Terraform Tips & Tricks – https://youtu.be/7S94oUTy2z4
👉 ArgoCD Tutorial – https://youtu.be/zGndgdGa1Tc

💼 – I’m a Senior Software Engineer at Juniper Networks (11+ years of experience)
📍 – Located in San Francisco Bay Area, CA (US citizen)

🤝 – LinkedIn – https://www.linkedin.com/in/anton-putra
🎙 – Twitter – https://twitter.com/antonvputra
📧 – Email – me@antonputra.com
👨‍💻 – GitHub – https://github.com/antonputra

=========
⏱️TIMESTAMPS⏱️
0:00 Intro
0:39 Create AWS VPC
1:02 Create AWS Internet Gateway
1:25 Create AWS Public Subnet
2:39 Create AWS NAT Gateway
3:25 Create AWS Private Subnets
6:16 Create Ubuntu EC2 Instance
10:24 Install OpenVPN on Ubuntu 20.04
12:05 Install easy-rsa on Ubuntu 20.04
13:40 Creating PKI for OpenVPN with easy-rsa
15:51 Generate Certificate for OpenVPN Server
16:23 Configure OpenVPN Cryptographic Material
17:16 Configure OpenVPN server
22:01 Create Client Profile .ovpn Manually
28:39 Create Route53 Private Hosted Zone
31:02 Revoke OpenVPN Client Certificate
32:34 Generate profiles
36:45 Install docker on Ubuntu 20.04
37:58 Configure MySQL 5.7 Server for gate-sso
40:10 Install Ruby on Rails on Ubuntu 20.04
41:27 Install gate-sso

=========
Source Code
🖥️ – GitHub: https://github.com/antonputra/tutorials/tree/main/lessons/084

#OpenVPN #AWS #VPN

source

by Anton Putra

linux web server

16 thoughts on “Install OpenVPN on Ubuntu in AWS (Client to Site VPN)

  • 🔴 – To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting (me@antonputra.com)

  • how to connect this openvpn server to another's vpc in different regions?

  • 1. do you have a script for OpenVPN on AWS with terraform?
    2. is it possible to run OpenVPN on Kubernetes? is it recommended if not why?
    Would love to hear your opinion
    Thanks for the great content

  • ~$ easyrsa –version

    easyrsa: command not found

    (( Не пому почему так. Все по шпаргале

  • What should I do if I want to make it Site-Site. The machine that are in openvpnserver subnet can connect to the client?

  • I'm facing one issue "TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) "
    can you please help me on that

  • Thank you so much for the tutorial. I've learned a lot about some of AWS services and networking concepts as well
    .

  • Hi Anton, if I had to allow instances to differents tcp ports I must change the inbound rules? to for example see an app at port 4200 I chancge in the server security group inbound rules?

  • Holy moly, that's a lot of excellent info. Great tutorial, nice pace too! Thanks!!

  • Hi Anton I want to say than youuuuuuuuuuuuuuuuuuuuuuuuu!!! your tutorial is awesomeee!!! I have one question, at the step generete a certificate that you said that you don't set a passphrase to make it automatic, but you said it's dangerous, It's there any other option that would be less dangerous? Thank you in advance

Comments are closed.