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

Поділитися
Вставка
  • Опубліковано 2 гру 2024

КОМЕНТАРІ • 37

  • @AntonPutra
    @AntonPutra  Рік тому

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

  • @jordanbourcier2424
    @jordanbourcier2424 Рік тому +1

    Great video Anton!

    • @AntonPutra
      @AntonPutra  Рік тому

      Thanks Jordan, I think it's too complicated wanna make a new one without sso.

  • @jamzey7568
    @jamzey7568 3 роки тому +2

    As always awesome tutorial!

  • @neetpbg4
    @neetpbg4 3 роки тому +1

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

  • @nvtrinh2001
    @nvtrinh2001 2 роки тому +1

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

  • @AntonPutra
    @AntonPutra  Рік тому +1

    👉 How to Manage Secrets in Terraform - ua-cam.com/video/3N0tGKwvBdA/v-deo.html
    👉 Terraform Tips & Tricks - ua-cam.com/video/7S94oUTy2z4/v-deo.html
    👉 ArgoCD Tutorial - ua-cam.com/video/zGndgdGa1Tc/v-deo.html

  • @rritsoftwaresolutions9566
    @rritsoftwaresolutions9566 3 роки тому +1

    yours video is usefully understand way , thankq sir

  • @danieltelecentr
    @danieltelecentr 3 роки тому +1

    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

    • @AntonPutra
      @AntonPutra  3 роки тому +1

      Thank you Daniel! Well, the most conservative option, when you create your CA, always keep it offline and use only intermediate to sign certs:) At least restrict access to that machine and use a passphrase would be sufficient.

    • @danieltelecentr
      @danieltelecentr 3 роки тому

      @@AntonPutrathank you a lot, as soon as I get the salary I'll contribute with your channel!!

    • @AntonPutra
      @AntonPutra  3 роки тому +1

      @@danieltelecentrThank you :)

  • @michaelvoznyanski6815
    @michaelvoznyanski6815 5 місяців тому +1

    I am currently setting up a VPN endpoint for access to private resources, so thanks a lot. Am I right that the actions described in the first half of the video are basically the ones AWS does for us when using VPC endpoints?

    • @AntonPutra
      @AntonPutra  5 місяців тому

      I'm not sure about the VPC endpoint, but you can use the new AWS VPC client managed service that wasn't available when I was recording this video. You may still prefer your own OpenVPN deployments because it's much cheaper but requires knowledge of how to set up and maintance.

    • @michaelvoznyanski6815
      @michaelvoznyanski6815 5 місяців тому

      @@AntonPutra why not simply use bastion host ec2 and ssh tunnelling?

    • @AntonPutra
      @AntonPutra  5 місяців тому

      @@michaelvoznyanski6815 One major use case for a client VPN is the ability to use private DNS. For example, you can create a private Route 53 hosted zone "example.pvt" and expose some internal dashboards, maybe using Kubernetes ingress like "grafana.example.pvt." In that way, only your team members will be able to access internal services, keeping them secure without exposing them to the internet. There are other use cases as well.

  • @George-mk7lp
    @George-mk7lp Рік тому +1

    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

    • @AntonPutra
      @AntonPutra  Рік тому

      Unfortunately I don't have a script, but the idea of deploying it in k8s is interesting. I'll explore it and maybe create a tutorial.

  • @thecuratedfeed
    @thecuratedfeed Рік тому

    I have done the setup, But I'm not able to connect to vpn

  • @danieltelecentr
    @danieltelecentr 3 роки тому

    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?

    • @AntonPutra
      @AntonPutra  3 роки тому +1

      For example, you have an app deployed on EC2 instance that only has private ip address and you want to access it locally from your development host. You would need to create anther entry in app's EC2 security group to allow por 4200 and specify source as your OpenVPN security group.

    • @danieltelecentr
      @danieltelecentr 3 роки тому

      @@AntonPutra thanks a lot!!!

  • @noname8881
    @noname8881 Рік тому

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

    • @AntonPutra
      @AntonPutra  Рік тому +1

      If you have VPC peering, you can just update /etc/openvpn/server.conf and push new routes or if not you need to deploy another openvpn instance

  • @hblackfox4407
    @hblackfox4407 2 роки тому

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

    • @AntonPutra
      @AntonPutra  2 роки тому +1

      for site to site i would suggest to use aws vpn managed service. have you tried it?

    • @hblackfox4407
      @hblackfox4407 2 роки тому

      Yes I already tried it. It worked, but I want to use the opensource OVPN for my project.

  • @lovelykhare
    @lovelykhare 2 роки тому

    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

    • @AntonPutra
      @AntonPutra  2 роки тому

      check firewall, issue with connection

  • @rritsoftwaresolutions9566
    @rritsoftwaresolutions9566 3 роки тому +1

    please shere the all aws and devopps , videos .

  • @PavLOCKd
    @PavLOCKd 2 роки тому

    ~$ easyrsa --version
    easyrsa: command not found
    (( Не пому почему так. Все по шпаргале

    • @AntonPutra
      @AntonPutra  2 роки тому +1

      make sure you put it on your path, run "which easyrsa"