title: IPTables forward traffic without hiding source IP
body: <p>I am trying to setup a cloud server as a gateway, which forwards all traffic to my second cloud server. The problem is that the destination server (2nd cloud) only sees the IP address of the first cloud server.</p>
  <p>Is it possible to keep the source IP so it would show the IP address of the one connecting to the first cloud server. I have tried removing MASQUERADE, but the connection between cloud #1 -&gt; cloud #2 did not work properly anymore.</p>
  <blockquote>
  <p>-A FORWARD -p tcp -m tcp --dport 25565 -j ACCEPT</p>
  <p>-A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT</p>
  <p>-A PREROUTING -p tcp -m tcp --dport 25565 -j DNAT --to-destination DESTINATIONIP:PORT</p>
  <p>-A POSTROUTING -j MASQUERADE</p>
  </blockquote>
  <p>It works with this setup, but does not show the source IP. Have you got any idea on how to not hide the IP that is connecting to the first cloud server?</p>
  <p>Thanks</p>