[wplug] USB internet sharing / SSH tunnel?

Vendicate vendicate at gmail.com
Sun Jul 2 10:23:14 EDT 2006


this site has a more permanent approach to what i described:
http://docs.cs.byu.edu/docs/sshtunnels/4.php

instead of port 4444 use port 80

On 7/2/06, Shane Liesegang <shane at shaneliesegang.com> wrote:
> Right, that takes care of it for just that site... but could I set it up
> to handle all traffic on a given port?
>
>         - SJML
>
>
> Vendicate wrote:
> > this might help...
> >
> > ssh -N -L Local_PDA_Port:Remote_Host:Remote_Port [user@]ssh_server_hostname
> >
> > Local_PDA_Port is the port on your PDA,
> > Remote_Host is the remote server that you want to securely transmit
> > TCP traffic to,
> > Remote_Port is the port on that machine,
> > user is your username on your ssh server, and
> > ssh_server_hostname is your ssh Server.
> >
> > confusing? lets say i want to connect to site.com but securely through
> > ssh so...
> >
> > ssh -N -L 22:site.com:80 shane at sshserver.com
> >
> > if you want to use a browser in your pda: set the proxy to localhost
> > and port x and:
> >
> > ssh -N -L x:site.com:80 shane at sshserver.com
> >
> > GL
> >
> > On 7/2/06, Shane Liesegang <shane at shaneliesegang.com> wrote:
> >> I've got a PDA running Linux (an old Sharp Zaurus) connected to my PC
> >> (running Ubuntu at the moment). The USB networking is fine and dandy,
> >> and both machines can ping each other and SSH to each other. The problem
> >> is getting the PDA to see the internet at large. After a few disastrous
> >> attempts at bridging the USB connection to the Ethernet, I'm starting to
> >> wonder if there's a better way.
> >>
> >> I know SSH can be used to tunnel connections by essentially tricking an
> >> app into thinking the local computer is the remote one and passing all
> >> the traffic down the SSH connection. Is it possible to make it more
> >> generic? Say, to tunnel port 80 to a remote host and have all traffic
> >> over port 80 be funneled through the SSH connection?
> >>
> >>      - SJML
> >> _______________________________________________
> >> wplug mailing list
> >> wplug at wplug.org
> >> http://www.wplug.org/mailman/listinfo/wplug
> >>
> > _______________________________________________
> > wplug mailing list
> > wplug at wplug.org
> > http://www.wplug.org/mailman/listinfo/wplug
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
>


-- 
Bruno Pierri Galvao
President of The Archive
http://thearchive.ath.cx/
Office: SENSQ 5710
mailto: vendicate at gmail.com
phone: 814.873.0267


More information about the wplug mailing list