Find the answer to your Linux question:
Results 1 to 1 of 1
Hi, I'm running 2 servers for a client, one of which has been whitelisted to use a third party's services. Because of capacity problems, we would like to allow the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2012
    Posts
    3

    Tunnel / masquerade single ip


    Hi,

    I'm running 2 servers for a client, one of which has been whitelisted to use a third party's services. Because of capacity problems, we would like to allow the second server to access this external service as well, but it takes a long time to get an extra ip whitelisted.

    What I would like to do, is to let server number 2 communicate with the service using the same IP as server number 1. My idea was to set up NAT using iptables on server 1 and then configure server 2 to use server 1 as a gateway, but only for this specific destination.

    Is this possible? So far, my own attempts have failed. After googling, I found some example setups, but they are not exactly what I need and my networking skills are too limited to know how to adapt them.

    Thanks in advance for any help!
    Last edited by Lister432; 10-15-2012 at 10:42 AM.

Posting Permissions

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