Raspberry Pi (Home Gateway)

So this is my second update, since I create this blog. (I have no time to update =P)

I use Raspberry Pi (3B) with 2G of Ram as one of my Home Gateway. The Home Gateway involved:

  • A sshd
  • A proxy server (Squid) for port forwarding within ssh
  • A Dynamic DNS client (I use No-IP)
  • A LEMP stack testing platform
  • A Gateway to my NAS (Odriod HC-4 running RAID 1)
  • An occasional VPN

Some useful cases:

  1. sshd + squid (private channel back home for web browsing)

    – Configure putty to port forward local port (9683) to squid port (9683)
    – In browser set proxy to localhost:9683

    All browsing will go through the ssh tunnel. This increase your privacy (with browser’s private model) and by pass certain geographical limitation.
  2. LEMP stack and VPN

    – Configure the nginx to use TLS as encrytion for VPN (kind of)
    – v2ray over TLS is a good way for by passing certain geographical limitation.

    If you are interested, you can find a lot of free resource on the Web.
  3. sshd + NAS + Web gateway (security download)

    – ssh to the raspberry pi and then download file to a temp directory (assume you know about scp)
    – add the temp directory to the a web server directory

    I think this is safer to have control on the data i want to share. BTW, my NAS can focus on download / BT.

See if I have time to go into details on any of these…

Leave a Reply

Your email address will not be published. Required fields are marked *