Secure Your Infrastructure with OpenVPN

Secure Your Infrastructure with OpenVPN

OpenVPN Setup

When it comes to security, you can never be sure, but you can make a few steps that will strengthen your overall protection and the ability to easier access SSH servers with all of your team, for example whitelisting the OpenVPN IP address and only, really just allow that address to able to access your server. This has been used by many IT companies such as hosting providers or software developers, etc.

Today I will show you how you can setup your very own and quickly in no time! For the best experience, I recommend you to use VPS providers that allows locations such as Switzerland. Vultr is a good option here, even with hourly payments.

Update all of your software and install depedencies

sudo apt update && sudo apt install python3 python3-netaddr python-netaddr-docs        

Download OpenVPN install script and add the executive permissions

sudo curl -O https://raw.githubusercontent.com/angristan/openvpn-install/master/openvpn-install.sh
sudo chmod +x openvpn-install.sh        

Run the script

sudo bash openvpn-install.sh        

It will show the steps such as these:

No alt text provided for this image

VERY IMPORTANT: Make sure to open ports in your firewall!

Success

If all is good, you will have a created configuration file that you can grab from /home/root/xxx.ovpn

Simply download it and store it in your second drive partition such as D: or Document Folder.

Setup Windows

  1. Now get OpenVPN client.

For 64 bit Windows:?https://swupdate.openvpn.org/community/releases/OpenVPN-2.5.2-I601-amd64.msi

For 32 Bit Windows:?https://swupdate.openvpn.org/community/releases/OpenVPN-2.5.2-I601-x86.msi

2. Put your profile into the directory:

C:\Users..YourUsername..\OpenVPN\config        

3. Right click on it and import it.

4. Start the OpenVPN client if you haven't already. Now on the taskbar right click on the client and from the profile simply click Connect.

Miguel Marques

I help startups hire great remote engineers | Founder @ Remote Crew

2 å¹´

Great article - thanks for sharing Marcell Csendes

要查看或添加评论,请登录

Marcell Csendes的更多文章

  • Week 3: BitNinja Alerts on Slack or Discord with Custom NodeJS Webhook

    Week 3: BitNinja Alerts on Slack or Discord with Custom NodeJS Webhook

    This third week, we will be digging into the advanced area or deepwater, where we will be setting up our own NodeJS…

    1 条评论
  • Week 2: BitNinja Alerts on Slack or Discord with Zapier Integration

    Week 2: BitNinja Alerts on Slack or Discord with Zapier Integration

    In the previous article we learnt how to connect BitNinja alerts to various communication channels using Make, but…

  • BitNinja Alerts on Slack or Discord with Make Integration

    BitNinja Alerts on Slack or Discord with Make Integration

    In the first article, we will learn how to keep track of DoS, WAF, or Malware Incidents and send alerts to Slack or…

  • Yubikey - The Perfect Hardware Key Guide

    Yubikey - The Perfect Hardware Key Guide

    Hi there ladies and gentlemen! Today we will be talking about a cool security hardware and I have been waiting for a…

  • Connect Securely to Linux Servers

    Connect Securely to Linux Servers

    These days more and more companies recommend new types of authentications such as 2FA, Public keys, or Hardware Keys…

  • Making Linux Servers More Secure

    Making Linux Servers More Secure

    Making Linux Servers More Secure ?? People often go ahead to create a Virtual Server (VPS) or Dedicated Server that’s…

社区洞察

其他会员也浏览了