title: how to get remote IP addresses from reverse ssh tunnel
body: <p>I have an Apache webserver running on a local machine through reverse ssh tunnel, i.e.:</p>
  
  <p>ssh -R *:80:local_machine:8080 username@gateway_machine</p>
  
  <p>In other words, all traffic from port 80 on gateway_machine
  is sent to port 8080 on local_machine. </p>
  
  <p>For monitoring purposes, I wish to know IP addresses of the remote clients
  connected to gateway_machine. However my local Apache server sees
  all traffic coming from the IP address of gateway_machine. </p>
  
  <p>My question: Is there any way to setup ssh server running on gateway_machine such that 
  it sends all traffic to local_machine with actual remote IP addresses ?</p>