I'd like to setup an ssh tunnel from a remote location to a private web server on our LAN. The web server on the LAN is using Virtual Hosts and there is some redirection going on. Sometimes a user will connect to private.web.server and be told by the server to redirect to private2.web.server. An example of this would be when the user clicks the "login" link over the SSH tunnel. The link redirects to private2.web.server where our login application runs. Since there is no tunnel to this host and there is no DNS name from the user's standpoint, the link fails.
Ignoring the obvious fix by using a VPN, is there some way in SSH to magically make this work?
Thanks!