Active Topics

 


Reply
Thread Tools
Posts: 5 | Thanked: 0 times | Joined on Dec 2009
#1
I tried to set up a SSH tunnel and use SOCKS5 proxy. However, I could only find HTTP/HTTPS/FTP/RTSP/Automatic proxy set up in Internet Connection setup (Advanced). What is worse, I could not find a place to set up SOCKS proxy for even just for the web browser (default/firefox).

Could I use third party software such as tsocks(http://tsocks.sourceforge.net/index.php) or Dante(http://www.inet.no/dante/) to "socksify" everything?

By the way, how could detect which shell command is used to start any one of the softwares installed?

I appreciate your help.
 
Posts: 119 | Thanked: 110 times | Joined on Sep 2009 @ Prague
#2
try about:config (enter as url in microB=firefox) - and see network.proxy.socks items ....

as for the shell commands - there's no universal way, but you can always view contents of the deb packages you are installing...
 
Posts: 5 | Thanked: 0 times | Joined on Dec 2009
#3
Originally Posted by andree View Post
try about:config (enter as url in microB=firefox) - and see network.proxy.socks items ....

as for the shell commands - there's no universal way, but you can always view contents of the deb packages you are installing...
Thank you for the about:config stuff. I am using a prepaid Sidekick data plan on N900, so at least HTTP port 80 is blocked. After setting up the socks proxy, I am supposed to route all http traffic through the socks tunnel I set up using

ssh -D * username@host

where * is the port number. I tried the 1080 (default), 143 (used by IMAP which works fine under Sidekick), 3128 (used by a free HTTP proxy which works fine if I set up the http proxy in TMobile Internet) and 8080 (T-Mobile HTTP proxy). Unfortunately, however, none of them work for me to access www pages. Neither can I visit web pages even if I enable ssh tunnel for DNS.

What's wrong?

Thanks again.
 
Posts: 1 | Thanked: 0 times | Joined on Apr 2008
#4
The built-in microb browser doesn't support socks, even if you input all the correct fields in about:config. Fennec/firefox does, though you'll need to configure it manually in about:config. You might want to go that route for now, and hope that socks support gets enabled on the default browser.

tsocks works nicely (i'm using a port by Qole, downloaded from his repository) but you're going to have trouble if you want to use it with microb. Microb is more than just a browser that you, as a user, could start with tsocks -- it's also a daemon that runs at boot time.

Afraid I don't know anything about dante, but I might check into it.
 
Posts: 5 | Thanked: 0 times | Joined on Dec 2009
#5
Thanks.

It is weird that I can NOT input the socks proxy port number in firefox, no matter what way I try. I could use onboard keyboard to input the number in the buildin browser though. How did you manage to input port number in firefox? I use the most up-to-date version (1.0.0).

Originally Posted by gnuslov View Post
The built-in microb browser doesn't support socks, even if you input all the correct fields in about:config. Fennec/firefox does, though you'll need to configure it manually in about:config. You might want to go that route for now, and hope that socks support gets enabled on the default browser.

tsocks works nicely (i'm using a port by Qole, downloaded from his repository) but you're going to have trouble if you want to use it with microb. Microb is more than just a browser that you, as a user, could start with tsocks -- it's also a daemon that runs at boot time.

Afraid I don't know anything about dante, but I might check into it.
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#6
Originally Posted by gnuslov View Post
The built-in microb browser doesn't support socks, even if you input all the correct fields in about:config.
This is not true. If you combine the following about:config settings with your ssh -D command, it works:

network.proxy.socks localhost
network.proxy.socks_port 3210
network.proxy.socks_remote_dns true
network.proxy.type 1

And remember, http://whatsyourip.org/ is your friend.

Why Nokia left the SOCKS fields out of the advanced network settings is a mystery to me, but there's a bug filed. Please vote for it; it's easy to find if you search for "proxy."

And as far as entering numbers in about:config: You can only get the dialog by selecting the field. and pressing the physical return key. Then, when the dialog comes up, close the keyboard and use the virtual keyboard. Bizarre, but it works.
__________________
N9: Go white or go home

Last edited by daperl; 2010-01-14 at 08:28.
 

The Following 2 Users Say Thank You to daperl For This Useful Post:
Posts: 5 | Thanked: 0 times | Joined on Dec 2009
#7
Thank you. It turned out that I did not set up "network.proxy.type 1" on the built-in browser.

I know the trick to type number in the build-in browser, but I still cannot enter numbers in the setting of firefox (not built-in one, but the standalone one). Any ideas?

Thanks again

Originally Posted by daperl View Post
This is not true. If you combine the following about:config settings with your ssh -D command, it works:

network.proxy.socks localhost
network.proxy.socks_port 3210
network.proxy.socks_remote_dns true
network.proxy.type 1

And remember, http://whatsyourip.org/ is your friend.

Why Nokia left the SOCKS fields out of the advanced network settings is a mystery to me, but there's a bug filed. Please vote for it; it's easy to find if you search for "proxy."

And as far as entering numbers in about:config: You can only get the dialog by selecting the field. and pressing the physical return key. Then, when the dialog comes up, close the keyboard and use the virtual keyboard. Bizarre, but it works.
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#8
Originally Posted by teddybw View Post
Thank you. It turned out that I did not set up "network.proxy.type 1" on the built-in browser.
Yeah, I would have been pulling my hair out on that one if someone on this forum (I think it was qole) hadn't already blazed that trail.

I know the trick to type number in the build-in browser, but I still cannot enter numbers in the setting of firefox (not built-in one, but the standalone one). Any ideas?

Thanks again
All I can think of is using something like the Notes app for copying, and then try both the virtual and physical keyboard's for selecting-and-paisting. Paist on the physical keyboard is Ctrl-v and select is Shift-arrow. It seeems it's all about getting keyboard focus, so maybe also try turning the virtual keyboard on and off with Settings->Text input->Use virtual keyboard. Good luck!
__________________
N9: Go white or go home
 
Posts: 433 | Thanked: 274 times | Joined on Jan 2010
#9
Originally Posted by gnuslov View Post
tsocks works nicely (i'm using a port by Qole, downloaded from his repository)
Hi. I have done some messing about today & managed to route over an ssh tunnel from my n900 back to my home XP box using the dynamic flag. So, while connected over GPRS I checked my IP on a website & it was that of the public IP of my home router/ISP.

I did this because I would ultimately like to use rDesktop on the n900 for remote support of a client's Windows servers. They are located in a telco switch room, behind a nasty firewall. My (static) home IP is allowed through the f/w but obviously my n900 has a dynamic IP (on Vodafone UK). So, I can currently rDesktop into the clients servers from my home PC and also from my n900 whilst on home wifi. I can't currently connect over 3G on the n900 while out & about.

I think that if I had tsocks installed, I could start an ssh tunnel from n900 to my home LAN and then run rDesktop via tsocks - such that the n900 connects to my client's Windows Server using my home static IP, so it gets through the Telco firewall?

Not sure if that is feasible at all (any advice appeciated) but meantime just wondered wether the tsocks port by Qole is something that will at some stage be made publically available via the maemo repo's?
 
Posts: 433 | Thanked: 274 times | Joined on Jan 2010
#10
Originally Posted by Pigro View Post
I think that if I had tsocks installed, I could start an ssh tunnel from n900 to my home LAN and then run rDesktop via tsocks - such that the n900 connects to my client's Windows Server using my home static IP, so it gets through the Telco firewall?

Not sure if that is feasible at all (any advice appeciated)
just did it - so can confirm that yes, it works. Happy bunny!!

Originally Posted by Pigro View Post
but meantime just wondered wether the tsocks port by Qole is something that will at some stage be made publically available via the maemo repo's?
I found out that it is available form Qole's own repo (see his website for details if interested, it's in his sig)

Ok, fed up replying to myself for today, bye Pigro
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:16.