This is a basic diagram of my current configuration.
My problem is I VPN in to the 10.x.x.x/24 network and try to VNC or SSH to the Linux server.
The linux server has two ether ports.
The route command shows
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
208.x.x.224 * 255.255.255.240 U 0 0 0 eth1
96.x.x.0 * 255.255.255.0 U 0 0 0 eth0
172.16.0.0 static-96-x-x 255.255.0.0 UG 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 208.x.x.225 0.0.0.0 UG 0 0 0 eth1
When I have the GW set to the 96.x.x.1 nexthop on the router I can access the 96.x.x.x address from outside it's subnet but can not get to the 208.x.x.x address.
When I move the GW to the 208 nexthop on the router I can access the 208.x.x.x from outside it's subnet but not the 96.x.x.x address.
How do I get the server working so it can respond outside it's subnet on both interfaces?
The interface that is not on the same subnet as the GW can only communicate with devices on it's own subnet.
Thanks for you help.