Changing from NAT to Routing

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
jhaines42
OpenVpn Newbie
Posts: 8
Joined: Sun Oct 27, 2019 10:05 pm

Changing from NAT to Routing

Post by jhaines42 » Wed Jan 27, 2021 11:30 am

Good Day,

I currently have an OpenVPNAS server setup on Ubuntu 18 in my office of around 25 users, The OpenVPNAS server is currently using NAT but this is causing me issues as I can't access remote VPN users computers to do any Maintenance without having to use TeamViewer etc.

I have read up that to access both ways I need to change to Routing? is that correct?

My second question is how easy is this to do without impacting users connected via VPN? Is it as easy as pressing the Change to routing button or will I have to set up different routing?

I have searched for a step by step procedure but can't find anything.

Thanks
Julian

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 34
Joined: Tue Feb 16, 2021 10:41 am

Re: Changing from NAT to Routing

Post by openvpn_inc » Tue Feb 16, 2021 1:17 pm

Hello Julian,

To allow 2-way communication you do need to use routing. If you change this, it will likely break everything. The reason is that with NAT, no additional requirements are placed on the target network where your resources are that VPN clients want to access. But if you use routing, then your target network must cooperate by routing packets back to the VPN server in order to reach the VPN client subnet.

There is a guide here: https://openvpn.net/vpn-server-resource ... e-network/

Good luck,
Johan
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.nets/support

Post Reply