Do you have a question? Post it now! No Registration Necessary. Now with pictures!
October 18, 2004, 5:19 am
rate this thread
Via ssh, I often tunnel port 80 from my localhost to a web server on a
remote internal LAN. I am looking for a "URL redirector" which will
intercept specific URLs and map the URL's domain to an arbitary
localhost:port so that I can simply click on the URL (e.g. as an email
link) and it will automatically get intercepted and forwarded to a
pre-configured port on localhost and thus forwarded by ssh. I sometimes
have more than one ssh web-server forward in place so I need to be able
to map different domains to different localhost ports (and localhost:80
is a privileged port not available to me anyhow). I guess that a
Mozilla/Firefox extension/plugin would be a simple and convenient way to
Any of you fellow ssh users ever wanted something like this? What have
you come up with?
(For the single case of a simple map to localhost:80 on a windows box I
have simply mapped the URL host in the hosts file and this works fine).
Re: localhost URL redirector?
You can do something like this with "dynamic forwarding". Enable it
on, eg, port 1080, configure your web browser to use 127.0.0.1 port
1080 as a SOCKS server and (optionally) put any servers you don't want
tunnelled into the browser's "no proxy for" list. (If the tunnel/no
tunnel decision is more complicated than that you can write a proxy
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- » movx l CONTROL BREAK INTERNATIONAL is a Disreputable Company, DO
- — Previous thread in » Secure Shell Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum