[wplug] USB internet sharing / SSH tunnel?
Vendicate
vendicate at gmail.com
Sun Jul 2 01:15:31 EDT 2006
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
>
More information about the wplug
mailing list