Find the answer to your Linux question:
Results 1 to 3 of 3
Hi all, I have a database server and I have a router machine. I need to get all the packets going to the database server on the router machine. I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2007
    Posts
    34

    Question Can iptables solve it??


    Hi all,
    I have a database server and I have a router machine.
    I need to get all the packets going to the database server on the router machine. I don't have to let any of them pass directly to the database server.
    Can I do this using iptables??
    Please help
    Thanks...

  2. #2
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    Location
    MA
    Posts
    649
    Your question is unclear.

  3. #3
    Just Joined!
    Join Date
    Feb 2007
    Posts
    34

    Red face

    Quote Originally Posted by likwid
    Your question is unclear.
    Hi all,
    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...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •