1
submitted 1 year ago by damaddi@alien.top to c/main@selfhosted.forum

Hey there,

I am using a Xiaomi 5G Router with an unlimited data plan of my local carrier as my local network router, because 5G is simply faster and cheaper than a cable connection in my flat. The Problem is: When using the mobile network of my carrier, you don't get an own public IP-Address (wether IPv4, nor IPv4), because the carrier uses CGNAT. That means I cannot open ports to the wide web locally on my router, because it would not be accessible from the outside.

Now to my case, which I need help on. I am running a Plex Media Server on my Homeserver (running Ubuntu Server) and I want to open this server to the wide web to make it accessable to my friends and family (which uncomfortably do not live in the same building as me). There is my idea: I also have a VPS, which runs Debian Bookwork, which has a public IPv4. I want to make a WireGuard VPN connection to that VPS from my local machine. The VPS just makes the port forwarding to my local server through the wireguard tunnel. (Similiar to how Mullvad's Port Forwarding worked like).

However, I always tried to avoid the topic of networks, so I need help. And I am very thankful for any help :)

Addition: Tailscale is not an option. I already tried everything that I can use it for, but it does not work for my case.

Addition 2: I am not posting this on r/plex, because I already tried searching for help there, but I have not succeded from the suggestions there.

EDIT: My general problem is: I do not want to use a reverse proxy, becase in my testings, Plex does not detect it and when using TV Apps it is reeeally slow. So rather I want to use a VPN connection, so that Plex already knows its own IP-Address (which is the IP of the VPS, in cause of the VPN) and plex.tv can route the traffic directly through this tunnel over the VPS.

you are viewing a single comment's thread
view the rest of the comments
[-] astutesnoot@alien.top 1 points 1 year ago

Since you mentioned Mullvad, you should know that AirVpn still supports port forwarding and they're running their Halloween sale right now. However, if all you're looking to do is make your selfhosted web services available on the Internet with SSL, then Cloudflare Tunnels can do this for free.

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

But cloudflare tunnels are somehow restricted, I heard. People got banned, when using something like plex with it.

this post was submitted on 25 Oct 2023
1 points (100.0% 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