

HOW TO INSTALL OPENVPN ACCESS SERVER CENTOS 7 PC
On the PC that will be running the OpenVPN client, run the command ip addr By putting the web facing services on a PC on its own network, anyone who gained access to the server would still have to get through the main router to access other machines on the network. Secondly, having this as part of my local network is not ideal, if one of the services running on the server was compromised then someone could probe any device on the network. Why not put the VPN behind the router?įirstly, it's more difficult to configure all outbound traffic to be forwarded to through the VPN. With CentOS I can leave it running without having to worry about maintenance (Thanks, yum-cron!).

I wanted something to run a VPN and a web server as well as a few other web facing services and not have to worry about.

The network structure will look like this: Why CentOS? I'm using some hardware I already owned which has and a comparatively beefy CPU (Intel i7 5557u) that is is overkill for this purpose but will allow the VPN to run without being CPU limited. I previously had the OpenVPN client running on my router, but the router's CPU limited my overall connection speed so I decided to place a NUC (Tiny form factor PC) with dual network ports between the modem and my router for the purposes of running a VPN client and a few web facing services. I don't usually write about networking but I couldn't find a concise guide for this online so this is for my own future reference as much as for anyone else who may find this useful.
