Gentoo Archives: gentoo-user

From: Etaoin Shrdlu <shrdlu@×××××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] Router for ssh tunnel/SOCKS proxy
Date: Fri, 05 Jan 2007 21:42:39
Message-Id: 200701052244.22150.shrdlu@unlimitedmail.org
In Reply to: Re: [gentoo-user] [OT] Router for ssh tunnel/SOCKS proxy by Mick
1 On Friday 5 January 2007 21:25, Mick wrote:
2
3 > OK. I don't think I need to run a full VPN. I just want to securely
4 > connect to my router at home while I am out & about using public wifi
5 > hot spots and thereby to be able to connect to the internet using my
6 > ISP for browsing & email. The only ports I should need to forward via
7 > ssh to the router/server are those serving http/https for browsing and
8 > 110/995/143/25/587 for email.
9
10 If I understand correctly then, you need ssh (and a public IP address)
11 running on the router.
12 For reading and sending email the setup is straightforward: just forward
13 each of the ports you mentioned above to the appropriate server (via the
14 router), set up your email program accordingly, and you're done. This
15 way, your email data will go from your computer (wherever you are) to
16 your router via the ssh tunnel, and from there (using your ISP
17 connectivity) to the desired servers.
18
19 For browsing the internet, the setup is just a little bit more complex.
20 At least, you need a http proxy running on the router (like squid), then
21 do port forwarding for ports 80, 443, etc. and set up your browser
22 accordingly to use the proxy. This way, your http requests are sent to
23 the proxy via the ssh tunnel, and from there go to the their intended
24 destinations using your ISP connectivity.
25
26 > If the above assumptions are correct then what sort of a hardware
27 > router would I need? (Either a straight off the shelf product, or one
28 > with modified firmware).
29 >[cut]
30 > No idea how to achieve the same functionality using the embedded OS of
31 > a hardware router.
32
33 Never used it myself, but take a look at the openwrt project.
34 >From what I understand, it seems that it lets you put linux into the
35 firmware of many popular routers, and manage it using a web interface.
36 Since it's linux, you obviously get all its benefits, including ssh.
37 Anyway, I just read the openwrt docs very quickly, so it's entirely
38 possible that I'm misunderstanding things here, and hopefully someone
39 more experienced than me will give you more reliable info.
40
41 --
42 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] [OT] Router for ssh tunnel/SOCKS proxy kashani <kashani-list@××××××××.net>
Re: [gentoo-user] [OT] Router for ssh tunnel/SOCKS proxy "Boyd Stephen Smith Jr." <bss03@××××××××××.net>