1

Hi everyone!

Since the announcement of the Raspberry Pi 5 I have started going down in this path of self hosting. Mainly for fun/convenience, but also to learn a bit more of docker, networking etc.

So, forward some weeks I got my RPi5, I am running some services, got Nginx Proxy Manager and Pi-hole to let me use names instead of ip:port and decide it was finally time to try and expose it to the internet. I bough myself a domain at cloudflare, followed some tutorials about opening ports but nothing worked.
After some thoughts and debugging I realized this issue is because of the network settings in my apartment:

My Raspberry is connected to a Tp-Link router (Router 2) through WIFI and this router is connected to the ISP router (Router 1), an CH7465VF from Vodafone through Ethernet.

   (--------)       +----------+       +----------+        +--------+
  ( external )------| Router 1 |-------| Router 2 |--------| Server |
   (  world )       +----------+       +----------+        +--------+
     (-----)

I had only configured Router 2, I also have to forward Router 1, right? It turns out that the Router 1 does not have this option. The only thing that would resemble this, by name at least, is IP and Port filtering. But this does not seem to solve anything as well. Contacting the ISP is not a good solution as well, the under the contract is of my landlord and he lives abroad/the management company is not the friendliest.
I am looking for pretty much any (preferable free) solution or advice for this situation. I don't really need for the most private solutions (I tried cloudflare tunnel, but I did not understand how to set it correctly to expose all my services) .

Thanks for your time!

top 3 comments
sorted by: hot top controversial new old
[-] tech2but1@alien.top 1 points 1 year ago

What router is it/what settings does it have? If it has IP/port filtering I would imagine it would have some sort of forwarding service.

[-] joao8545@alien.top 1 points 1 year ago

All the information I have about the router is this: compal ch7465vf.

This is the default (I believe) router from Vodafone HU

[-] ADB-UK@alien.top 1 points 1 year ago

Have a look at Cloudflare tunnels.

Easiest way would be to run it on the server (either Docker or direct command line) and this will give you http / https / ssh access to the server with an option for different types of authentication.

There is a walkthrough https://www.crosstalksolutions.com/cloudflare-tunnel-easy-setup/ - a bit out of date for screen shots (Cloudflare change the screens frequently it seems to me) but lots exist on the net / YouTube if you get stuck.

this post was submitted on 18 Nov 2023
1 points (66.7% liked)

Self-Hosted Main

504 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS