|
Page 1 of 2 |
|
1
2
|
Next
HOW TO: connect your N900 through your home internet connection from anywhere via ssh
Ok, so you want to run your web browsing traffic through your home computer via SSH, perhaps for privacy, perhaps for getting around a firewall.... I'm not here to judge.
Here is how to do it very simply between your n900 and an ubuntu computer. First things first - get SHH onto your ubuntu computer in a terminal type: Code:
sudo apt-get install sshCode:
ssh localhostworking? good, type 'exit' to close the ssh connection I'm going to assume that you want to run your server on port 443 as a lot of work/school networks leave this port open. It will also work for things like the Troll-Mobile sidekick plan So - in a terminal Code:
sudo gedit /etc/ssh/sshd_configsave, close, and restart the ssh server Code:
sudo /etc/init.d/ssh restartThis can be done very simply by installing privoxy: Code:
sudo apt-get install privoxynow punch a hole in your router's firewall - go to the admin page for your router - often http://192.168.0.1 and forward port 443 to your ubuntu box. Save and quit Now on to the n900 part..... Go to the network connection settings for the connection you want to connect to the internet through - go to settings, internet connections, click the connection, click edit, click next until an 'advanced' button appears. Tick 'use proxy' in HTTP proxy put in 'localhost' port number 8118 save and close. Open up a terminal on your n900 type in Code:
sudo ssh -NL 8118:localhost:8118 -f username@address -p 443Now it should be working... open up a browser and start browsing. *please note that this is not the MOST secure way to do things, but is simple and it works. |
Re: HOW TO: connect your N900 through your home internet connection from anywhere via ssh
what for a windows pc?
|
Re: HOW TO: connect your N900 through your home internet connection from anywhere via ssh
so we would be able to connect from anywhere? ie different city
|
Re: HOW TO: connect your N900 through your home internet connection from anywhere via ssh
Quote:
|
Re: HOW TO: connect your N900 through your home internet connection from anywhere via ssh
Quote:
|
Re: HOW TO: connect your N900 through your home internet connection from anywhere via ssh
Quote:
My N900 browses all on it's own! |
Re: HOW TO: connect your N900 through your home internet connection from anywhere via ssh
Quote:
If you are on a school/work/cell provider network that blocks certain sites - you can access them through this method... also, if you are concerned with privacy of the wifi network - maybe you are using a connection that you find around the city |
Re: HOW TO: connect your N900 through your home internet connection from anywhere via ssh
I think you can do the same without installing privoxy port on your host: if you have a vanilla SSHD running somewhere, just use
$ ssh -D 8081 user@host on your N900. This will cause ssh to start an SOCKS proxy on 8081. Configure the connections on your n900 as above, and it should work. ;) |
Re: HOW TO: connect your N900 through your home internet connection from anywhere via ssh
Quote:
|
Re: HOW TO: connect your N900 through your home internet connection from anywhere via ssh
For as far as I know the -D method also pushes DNS requests through the SSH tunnel. I'm currently living in a residence with unstable and restricted internet access. Sometimes the router here starts failing (no longer handing out IP's or processing DNS requests) and simply setting a manual ip and connecting to my server at home (using the ssh -D method) allows me to freely browse the internet (and chat, ...) again.
This must be the most real-use example/proof you can get, I guess :) Edit: Thanks for the full guide btw, I'm sure it will be helpful to a lot of people! |
| All times are GMT. The time now is 08:32. |
Page 1 of 2 |
|
1
2
|
Next
vBulletin® Version 3.8.8