I need your help for the following problem:
I have a CentOS server with 3 nics:
eth0: IP ADDRESS=192.168.4.102 /24 GW = 192.168.4.1 eth1: IP ADDRESS=192.168.2.101 /24 GW = 192.168.4.1
on 192.168.4.1 is a router for exit on Internet.
All ok with routing here. I add another nik connected to a router (192.168.20.1) where is a VPN configured:
eth2: IP ADDRESS=192.168.20.100 /24 no gateway defined because I get network nonfunctional if I put one.
On that router I have a connection to the 10.96.0.0/16 network.
I want to route 192.168.20.0/24 and 10.96.0.0/16 on eth1 to be accessible from my LAN (I use as gateway 192.168.2.101).
How could I do that?