ssh port mapping and HTTP
I can get into my company's intranet with this:
ssh -n -L 4281:www.secure.com:80 ssh.secure.com sleep 43200
Then, to access http://www.secure.com/page.html, I use
http://localhost:4281/page.html. And this works, so long as all of
links in the page are relative.
But let's say that page.html contains something like this:
<script language=JavaScript type=text/javascript
src="http://another-host.secure.com/js/forms.js" />
With my setup, this JavaScript doesn't get loaded. Which is bad. Very
bad.
Is there something I can do? Or is this just impossible with ssh?
--
Bill Wohler <wohler@newt.com> http://www.newt.com/wohler/ GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and mh-e. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: