Active Topics

 


Reply
Thread Tools
Posts: 11 | Thanked: 0 times | Joined on Oct 2010
#1
hello,

Is it possible to make a remote desktop connection via a socks 5 proxy on the n900
 
Posts: 433 | Thanked: 274 times | Joined on Jan 2010
#2
Originally Posted by Billy.Wonka View Post
hello,

Is it possible to make a remote desktop connection via a socks 5 proxy on the n900
yes. you need to install tsocks (I think i got it from qole's repository). I use the following (in a shell script that gets called form a desktop shortcut for "one press" connection):

Code:
#!/bin/sh
echo "start ssh"
/usr/bin/osso-xterm 'ssh -p myPort -D myDyn myAccount@xxx.xxx.xxx.xxx' &
echo "sleep"
sleep 15
echo "start rdesktop"
/usr/bin/osso-xterm 'tsocks rdesktop -a 8 -f -u myUser -p myPassword -r disk:N900=/home/user/MyDocs -d myDomain yyy.yyy.yyy.yyy' &
echo "after rdesktop exit"
this is a slightly more complex scenario: I create an ssh tunnel from n900 to an XP box on my home LAN (static IP xxx.xxx.xxx.xxx, public key encryption allowing n900 to connect w/o passwod). The XP box is running openSSH. The script waits for the ssh connection to be established, and then starts rdesktop via tsocks to remote server yyy.yyy.yyy.yyy (with server_port in tsocks config file on n900 set to myDyn).

I do this to get me through a firewall (at target site, which is within a telco switch site, and which only allows my home static IP). So, while I'm away from my WLAN with n900 on a cellular data connection & therefore with a random cellco IP address, I can still rdesktop into the target machine by routing via my home box.

HTH - as I say, more complex than you need but the tsocks bit works.
__________________
n900: "with power comes responsibility".

If you buy a niche, highly modifiable smartphone and proceed to mess it up by blindly screwing around, don't just blame the phone, also blame yourelf.

Last edited by Pigro; 2010-12-03 at 11:14.
 

The Following 2 Users Say Thank You to Pigro For This Useful Post:
Posts: 11 | Thanked: 0 times | Joined on Oct 2010
#3
nice reply thanks for the detailed explanation
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:28.