Reply
Thread Tools
Posts: 23 | Thanked: 4 times | Joined on Oct 2007 @ Virginia
#1
I've been playing around with SSH trying to tunnel all my web traffic through SSH. SSH session works and listens on the specified port but I can't seem to get the browser setup correctly.

Using the following:
ssh -D 8080 -f -C -q -N [username]@[host]

Tried to edit the proxy configuration on the browser with about:config. I can specify the socks proxy IP (127.0.0.1) but when I try to specify the port it won't let me change the value from 0.

Anyone else have any better luck?

Thanks
 
Posts: 23 | Thanked: 4 times | Joined on Oct 2007 @ Virginia
#2
Strange, got it working by using the onscreen keyboard to edit the proxy field. Working like a charm right now.
 

The Following User Says Thank You to bbrindle For This Useful Post:
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#3
Does the N900 SSH have the full VPN tunnel support?

https://help.ubuntu.com/community/SSH_VPN

It's the -w option, you need root login enabled for your server though (the one downside).. but if you get that working you don't need to mess with proxies at all.... and all traffic would go through it, not just the browser.

Seems like it would be kind of fun .
 
Posts: 152 | Thanked: 41 times | Joined on Dec 2009 @ Sydney
#4
Originally Posted by bbrindle View Post
I've been playing around with SSH trying to tunnel all my web traffic through SSH. SSH session works and listens on the specified port but I can't seem to get the browser setup correctly.

Using the following:
ssh -D 8080 -f -C -q -N [username]@[host]

Tried to edit the proxy configuration on the browser with about:config. I can specify the socks proxy IP (127.0.0.1) but when I try to specify the port it won't let me change the value from 0.

Anyone else have any better luck?

Thanks
Tried editing the proxy settings under "Internet Connections" in Settings?
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#5
Originally Posted by DaveQB View Post
Tried editing the proxy settings under "Internet Connections" in Settings?
There is no SOCKS proxy support at the moment (bug 6739).
 
jiiv's Avatar
Posts: 124 | Thanked: 47 times | Joined on Aug 2008 @ Northern DFW
#6
Originally Posted by fatalsaint View Post
Does the N900 SSH have the full VPN tunnel support?

https://help.ubuntu.com/community/SSH_VPN
Doesn't look like it...
Connects just fine, but we don't have arp. I was hoping this might be a workaround for the lack of iptables, but apparently I'm out of luck. :/
Guess it's time to download the sdk and start compilin'.
__________________
Useful links for newcomers: New members say hello, New users start here, Community subforum, Beginners' wiki page, Maemo5 101, Frequently Asked Questions (FAQ)
NOTE: Most users should avoid the extras-testing and extras-devel app repositories.
I'm not really a Maemo/smartphone expert, but I can usually find my way around a *nix system. If I somehow manage to help you out, thanks are appreciated.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#7
I have put the Chinook version of tsocks in my Fremantle repo (see my webpage for repo details). It works great for tunneling VNC through SSH.

Thanks for the tip about editing about:config with the on-screen keyboard. Very strange behaviour.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#8
Veering only slightly off-topic, I wonder if anyone has tried the new-ish method for creating a tun interface via an SSH tunnel with the -w option.

I've not tried it at all yet, but I notice that the ssh client on the N900 supports it.

Edit: I wonder if tun/tap is built into the kernel?
__________________
Class .. : Lame hacker & beardy boffin
Humour . : [#######---] Alignment: Apathetic anarchist
Patience : [####------] Weapon(s): My cat, my code.
Agro ... : |#---------] Relic(s) : N900, MacBookPro, NSLU2, N800, SheevaPlug, Eee-901, Core2-Quad, PS3
"In theory, theory and practice are the same. In practice, they're not."
--
Beware of extras-devel.

Last edited by fnordianslip; 2009-12-19 at 09:19.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#9
fnordianslip: you aren't veering off topic, since fatalsaint asked the same thing a few posts before.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#10
Originally Posted by qole View Post
fnordianslip: you aren't veering off topic, since fatalsaint asked the same thing a few posts before.
Hmm. Too early. Brain not functioning yet.
__________________
Class .. : Lame hacker & beardy boffin
Humour . : [#######---] Alignment: Apathetic anarchist
Patience : [####------] Weapon(s): My cat, my code.
Agro ... : |#---------] Relic(s) : N900, MacBookPro, NSLU2, N800, SheevaPlug, Eee-901, Core2-Quad, PS3
"In theory, theory and practice are the same. In practice, they're not."
--
Beware of extras-devel.
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:10.