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

Поделиться
HTML-код
  • Опубликовано: 16 сен 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!

  • @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
    .

  • @neetpbg4
    @neetpbg4 3 года назад +1

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

  • @rritsoftwaresolutions9566
    @rritsoftwaresolutions9566 2 года назад +1

    yours video is usefully understand way , thankq sir

  • @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.

  • @michaelvoznyanski6815
    @michaelvoznyanski6815 2 месяца назад +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  2 месяца назад

      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 2 месяца назад

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

    • @AntonPutra
      @AntonPutra  2 месяца назад

      @@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.

  • @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 :)

  • @thecuratedfeed
    @thecuratedfeed 10 месяцев назад

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

  • @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

  • @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

  • @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.

  • @danieltelecentr
    @danieltelecentr 2 года назад

    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  2 года назад +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 2 года назад

      @@AntonPutra thanks a lot!!!

  • @rritsoftwaresolutions9566
    @rritsoftwaresolutions9566 2 года назад +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"

  • @AntonPutra
    @AntonPutra  Год назад +1

    👉 How to Manage Secrets in Terraform - ruclips.net/video/3N0tGKwvBdA/видео.html
    👉 Terraform Tips & Tricks - ruclips.net/video/7S94oUTy2z4/видео.html
    👉 ArgoCD Tutorial - ruclips.net/video/zGndgdGa1Tc/видео.html