Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cover image for Setup your own OpenVPN in 10 minutes
Rail
Rail

Posted on

     

Setup your own OpenVPN in 10 minutes

Hi everyone!
In this video, I show you how to start your own VPN server based on CentOS 8 in 10 minutes. The video shows the practical use of Ansible, Docker and OpenVPN.

I tried for the first time to record a screencast and provide it with a text description in English. I would be happy to receive comments and suggestions. Thanks for your attention!

Ansible Playbook

Link to Ansible Playbook -https://github.com/rhamdeew/ansible-docker-compose-openvpn-secure-centos8

The playbook uses roles fromJeff Geerling (geerlingguy.repo-epel, geerlingguy.security, geerlingguy.pip, geerlingguy.docker)

Docker-compose repository

https://github.com/rhamdeew/docker-compose-openvpn

This repo based onkylemanna/docker-openvpn but have Makefile with useful commands for comfortable OpenVPN setup.

No time to watch the video. How to setup?

Prerequisites:

  • Tunnelblick (https://tunnelblick.net/downloads.html​) – VPN-client for macOS
  • Ansible (Homebrew) – IT automation tool
  • Tmux (Homebrew) – terminal multiplexer (optional)
  • Alacritty (Homebrew) – fast terminal emulator (optional)
  • DigitalOcean account - hosting provider with fast VPS provisioning (optional)

Screencast contains 4 steps:

  1. Generate SSH-key pair, create a virtual server with CentOS 8
  2. Clone and run Ansible Playbook for basic server setup and installing Docker
  3. Quickly configure OpenVPN settings and start Docker-container
  4. Add client-config to VPN-client and connect

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

  • Location
    Russia
  • Joined

More fromRail

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp