Re: tunneling
From: Todd H. (comphelp_at_toddh.net)
Date: 10/18/05
- Next message: Wolfgang Meiners: "Re: tunneling"
- Previous message: Wolfgang Meiners: "tunneling"
- In reply to: Wolfgang Meiners: "tunneling"
- Next in thread: Wolfgang Meiners: "Re: tunneling"
- Reply: Wolfgang Meiners: "Re: tunneling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 18 Oct 2005 13:32:06 -0500
Wolfgang Meiners <WolfgangMeiners01@web.de> writes:
> Nevertheless, i would like to know, if there is a way to achive the
> same result without having a proxy-server to run on the desktop.
Yes. Two options:
laptop$ ssh -L9999:IP.OF.the.ROUTER:80 user@desktop
Here, traffic to the router would be in the clear over the wire
between the desktop and the router. That would work for you provided
the router only requires port 80 communication. I know mine starts
off there, but redirects in various ways to other ports so dynamic
port forwarding might be something you'd dig.
A general proxy is trivial to achieve though using ssh's dynamic port
forwarding option -D (see man page for details).
laptop$ ssh -D 9999 user@desktop
And you just set your laptop's web browser proxy options to use a
socks4 proxy at 127.0.0.1 port 9999 (or whatever port you choose
above).
Web requests to any site you visit from the laptop (including
http://ip.of.router and https://ip.of.router) will appear to originate
the desktop machine. The wireless hop of that request from your
laptop to your desktop will be in the ssh tunnel, and the dynamic port
forwarding magic of the desktop's ssh server will talk to your router
in the clear over port 80, (or ssl encrypted over 443 as called for by
the router's web admin tool), but that potentially unencrypted
communication will be over the wire between the desktop.
HTH
Best Regards,
-- Todd H. http://www.toddh.net/
- Next message: Wolfgang Meiners: "Re: tunneling"
- Previous message: Wolfgang Meiners: "tunneling"
- In reply to: Wolfgang Meiners: "tunneling"
- Next in thread: Wolfgang Meiners: "Re: tunneling"
- Reply: Wolfgang Meiners: "Re: tunneling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|