we have a Linux based Local Area Networking, Please find the below architecture diagram
we have server and client machine connected to through network switch, When any request comes from client we able to block the request in server (192.168.12.10 ). But but client 1 gives the request to client2 any Tcp/IP request we can't control and we can't block in the server , Whether is it Possible ? If its possible please solve my problem. Server side blocking I am using iptables.
Client1 trying to connect clinet2 using 22 port, now I want to block clinet1 request in server its self ( 192.168.12.10 ) , not in client, I want to manage all the client request in the main server.
I want to route all traffic through my server(192.168.12.10)
Client1 -> SSH -> Server -> SSH -> Client2