Routing Traffic To A CIDR Range via VPN Using OpenVPN CLI

Recently we had a requirement to route traffic to one of our staging sites via OpenVPN. This staging site is publically accessible since a lot of external users(within the same organization but different departments) also access this site. In our firewall, we only whitelisted OpenVPN Server’s Public IP(which is AWS NAT Gateway IP). This way only those users who have our VPN server access, can access the site.

Now you can go to OpenVPN Admin Console->Configuration->VPN Settings ->Specify the private subnets to which all clients…



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store