''own-cloud''


Why run a home server
and what to do with it?

A homeserver

 Raspberry Pi 


Image Source:  raspberrypi . org , product:   shop . pimoroni . com

Going Online...



 
Image source:  pagekite . net

...Through a tunnel




https:// my-server . pagekite . me

Graphic made with:  balsamiq . com

Basic Access


In your ~/.ssh/config:

Host *.pagekite.me
  CheckHostIP no
  ProxyCommand /bin/nc ↩
    -X connect -x %h:443 %h %p

Web Access


Image source:  seafile . com

Sync/Share

Calendars, contacts, to-dos.
Image source:  seafile . com

 E.g.  Kolab 

But How About...

...accessing my home PC's data?



(And getting my documents and media files?)
Graphic made with: balsamiq . com

You"re almost there


What you need:

  1. At least one system that you can
    reach from afar.

  2. "OpenSSH-Server" running on
    the destination system.



(✓)

Accessing the Home PC...

...through a tunnel.


Opening the tunnel:
ssh -L 3000:home-pc.fritz.box:22 my-server.pagekite.me
And then using it in another shell:
ssh localhost:3000


""Secure Shell Tunneling""


ssh 
  -L                    <-- Start secure shell tunneling.
  3000:                 <-- Port on localhost to use.
  home-pc.fritz.box     <-- Destination system as seen trough the tunnel.
  :22                   <-- Port on the destination to reach.
   
  my-server.pagekite.me  <-- Gateway.

ssh localhost:3000       <-- Our local Port 3000 now forwards our
                             SSH-request to our tunnel system which
                             then forwards it to port 22 of our
                             destination system.


But What If...

...I want to administrate my router
(which offers a web front-end)?


Same technique!
Go figure  ; - )
Made with Slides.com