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

Home Networking

198 readers
1 users here now

A community to help people learn, install, set up or troubleshoot their home network equipment and solutions.

Rules

founded 1 year ago
MODERATORS
 

Hi everyone!I posted this question in r/selfhosted, but was advised to also post it here. I am doing one extra edit to add more information about my doubts about cloudflare tunnel as well.

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. I was supposed to point the tunnel to a specific IP:Port, I tried point it to NPM and adding some DNS at cloudflare to point my-service.tunnel.my-domain.com to tunnel.my-domain.com but it did not worked out.

Thanks for your time!

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here