To create a NAT on IPC and add to VPN network

Endian router

Create a user 38 via VPN > Authentication This user doesn’t require specific routers or other config.

Create a route via Network > Routing. Source Network field can be left empty Destitionat network = OpenVPN USER = 38 Enabled checkbox is checked Remark is 38


The IPC has a LAN and a WAN side.

In this sample ETH1 is the WAN side and ETH0 is LAN. Following configuration /etc/network/interfaces

auto eth1 allow-hotplug eth1 iface eth1 inet dhcp

auto eth0 allow-hotplug eth0 iface eth0 inet static address netmask

Configure OpenVPN to connect to Endian router with the user you made earlier

Configure IPtabels as described in this article: