This is the actual setup:
[CLIENT] -- [INTERNET] -- [ROUTER MACHINE] -- [DB SERVER]
The ROUTER MACHINE and the DB SERVER are on the same LAN.
I want that any packet sent from the CLIENT to the DB SERVER should be received at the ROUTER MACHINE and SHOULD NOT GO TO THE DB SERVER DIRECTLY. I need to make changes to the packet at the ROUTER.
Is this possible using iptables using DNAT or REDIRECT I suppose?? if so , how??
Please please help me...
Thanks a lot in advance...