Page 1 of 1

OpenVPN AS as default gateway for LAN

Posted: Sat Apr 27, 2013 10:22 am
by digitaldaz
Hi,

I have OpenvpnAS installed on a highly available VMWare ESXi host. The VM has two interfaces, the public facing one eth0 and the private one eth1

The private subnet is 192.168.150.0/24, the eth1 is configured as 192.168.150.1

I'm using this to manage my infrastructure withing the data center eg, I have a switch sitting at say 192.168.150.2, a SAN at 192.168.150.2 etc.

All is working well in that I can access everything I need to using the VPN. Occasionally, some of the devices on the private subnet need access to the internet for things like syncronizing time, updating licence keys etc.

Can anyone tell me please, how can I make the OpenVPN AS act as a NAT gateway for the devices.

I don't really want to be installing another solution just to provide this as I know it can be done with OpenVPN.

If I was installing OpenVPN from scratch I could probably achieve this myself quite easily but the AS product installs its own firewall/NAT rules etc that I do not want to break.

TIA