Skip to content

My two personal, opinionated home server setups. One using Port Forwarding and the other using Cloudflare Tunnels.

License

Notifications You must be signed in to change notification settings

PoProstuWitold/homeserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Homeserver

In this guide, you’ll find easy-to-follow steps to set up your own server at home using Linux, Docker, and either Port Forwarding or Cloudflare Tunnels.

Please note that some parts of this guide are based on my personal preferences (e.g. the choice of Linux distros), and your setup for certain things may slightly differ. Let’s begin, shall we?

IMPORTANT! I'll try to keep this guide free of any costs besides power consumption and domain reneval and one-time purchases such as a router, therefore some things such as VPS or any subscription-based services may not be covered.

0. Things to Consider: Power Consumption, Hardware, Recommended Steps & Requirements

Power Consumption

Remember that your server is likely going to run 24/7, so keep in mind the energy consumption of your workstation and its noise. You can use your old PC, a Raspberry Pi 4, or some mini PC (I recommend older, used HP, Dell, Lenovo, or Intel NUC models). In this guide, I will be using an Intel NUC11TNHI5 with 32GB RAM and a 2TB SSD, as it only consumes 28W of energy. It’s not necessary to buy exactly the same hardware as mine to follow this tutorial.

Hardware

In terms of hardware, here are my recommendations:

  • CPU: at least 9th generation Intel Core i3 or i5 or AMD equivalent; 4+ cores.
  • GPU: don't run the server with a gpu (unless you want your own gaming cloud) as you won't need it and it will greatly increase power consumption.
  • RAM: I recommend a minimum of 8GB. If you're going to run lots of services, then 16GB or even 32GB may be necessary, especially if you want to run game servers. In 90% of cases, 64GB is overkill, but if you can afford it and want it, then go ahead.
  • STORAGE: I recommend either going full SSD (at least 512GB) or using an SSD for the OS (128GB or 256GB) and an HDD (min. 512GB) for data. SSDs are more energy-efficient but also more expensive.

Recommended Steps

Although it is not required I recommend updating your BIOS. Just google "bios download" and name of your motherboard or name of your device (e.g. premade PC, laptop).

Requirements

In case of both going with Cloudflare Tunnels or Port Forwarding you will need:

  • Your own domain (you have to either buy it through Cloudflare or move your existing domain to their DNS servers).
  • A Cloudflare account.
  • A workstation where the server will be running.

With Cloudflare Tunnels there are no further requirements but in case of Port Forwarding you will also need static or dynamic public IP.

For more specific instructions go to one of below:

About

My two personal, opinionated home server setups. One using Port Forwarding and the other using Cloudflare Tunnels.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published