I have a reverse tunnel on my home server so that I can have access to it from the external world. My home server is behind a firewall.
When I access [mydomain]:8080 it forwards my HTTP request through the established connection, that was initiated by my home computer, to my home computer where it creates a connection (from localhost) to my server on port 80. Everything works, just all apache's logs now say requests came from localhost. I really would like to find out more about who connects to my server.
This is the command I'm running to create the reverse tunnel:
autossh -i mykeyfile -N -f -g -R \*:8080:localhost:80 myuser@mydomain
I've tried checking
/var/log/auth.log it didn't have anything relevant though.