Hiển thị các bài đăng có nhãn OpenVPN. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn OpenVPN. Hiển thị tất cả bài đăng

Thứ Năm, 26 tháng 4, 2018

Setting up OpenVPN Server on CentOS 7 using EasyRSA 3

Basic CentOS Setup

First, you'll need a CentOS 7 server. You can use one from almost anywhere – a machine with Digital Ocean, AWS or Azure, or one in your friend's apartment. Assuming you're starting from scratch, you'll need to get the software updated and the EPEL repo installed.
# sudo yum update -y
# sudo yum install epel-release -y
# sudo yum update -y
Then you'll want to install openvpn, easyrsa, iptables and (recommended) a few network troubleshooting tools.
# sudo yum install -y openvpn easy-rsa iptables iptables-services wget yum-cron net-tools bind-utils nc mtr

Setting up OpenVPN

Now, you'll want to configure the OpenVPN server. To do this, copy the following file to /etc/openvpn/server.conf.
# Secure OpenVPN Server Config