To create a NAT on IPC and add to VPN network 10.0.38.0

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 = 10.0.38.0/24 OpenVPN USER = 38 Enabled checkbox is checked Remark is 38

On IPC

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 10.0.38.1 netmask 255.255.255.0

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

Configure IPtabels as described in this article:

Todo

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/Security_Guide/s1-firewall-ipt-fwd.html