Welcome to the Linux Foundation Forum!

how to route traffic through 2nd Linux server ( RHEL 7.6 )

hello everyone,

I have been assigned a task to achieve below routing setup for validation of application.

i have performed following steps and need guidance how i can achieve the routing as expected.

setup consist of 2 network cards on each server
Server 1 contains following IPs
10.130.169.30
192.168.99.10
Server 2 contains following IPs ( this is application logic server )
10.130.169.29
192.168.99.9

I have configured apache on server 1 to listen on 192.168.99.10.

I am expected to achieve below flow for request
10.130.169.30 -> 10.130.169.29 -> 192.168.99.9 -> 192.168.99.10

response flow
192.168.99.10 -> 192.168.99.9 -> 10.130.169.29 -> 10.130.169.30

I am new to Linux networking , hence requesting guidance / help , how I can achieve request and response routing in Linux

I am using below command to request a webpage from Server 1 .
curl --interface http://192.168.99.10/index.html
I have configured default GW on server to 10.130.169.29 , so I can see packets on interface 10.130.169.29 but from that point , I do not know what routes I need to configure. on server 2.

Categories

Upcoming Training