Network Configurations - SEPIA-Framework/sepia-docs GitHub Wiki

Network Configurations

This page shows example configurations for local networks that run the SEPIA framework.

Related pages:

Setting up your router

NOTE: OPENING A CONNECTION TO YOUR PRIVATE NETWORK CAN RAISE SECURITY CONCERNS. PLEASE CONTINUE WITH THIS STEP ONLY WHEN YOU'VE INFORMED YOURSELF ABOUT THE RISKS (you can start here).

Sometimes you want to reach your server from outside your private network. For these situations you need to tell your router to forward certain requests directly to your local machines. This part depends a bit on the type of your router, but you should be able to find additional info if you get stuck doing a web search for "port forwarding [my router name]" and "set fixed static IP for a device in router". This article is a good instruction as well: How to forward ports on your router. Here are the common steps:

  1. Login to your router (e.g. via fritz.box, o2.box, 192.168.0.1, etc...)
  2. Look for settings called "My/Local/Home Network" (or something similar) where you get an overview of all connected devices
  3. Look for the hostname of your machine in the devices list, for example: "raspberrypi" and write down the IP address if you want to login via SSH later.
  4. Now we want to fix this IP so you can always reach your device under the same address in your network. There should be a setting nearby called "fix/static IP addresses" were you can tell your router to connect the IP with the MAC address of your device. This step might require a bit of try-and-error depending on your router.
  5. Final step is to set up port-forwarding to make our device reachable from outside. This will be necessary later to secure the server with a SSL certificate and make the SEPIA client work when you leave home. When you've found the router settings forward the ports 20726 and 20727 (default SEPIA ports, can be changed) to the IP of your device.