Skip to content

Instantly share code, notes, and snippets.

View GamerKingFaiz's full-sized avatar

Faiz-ur Rahman GamerKingFaiz

View GitHub Profile
@GamerKingFaiz
GamerKingFaiz / plex-cgnat-vpn-guide.md
Created January 18, 2025 07:24
Bypass CGNAT for Plex via your own Wireguard VPN on a VPS

Bypass CGNAT for Plex via your own Wireguard VPN on a VPS

Intro

I just recently switched to an ISP that uses CGNAT. I needed a way to access my Plex server remotely now that I didn't have a public IPv4 address. Thankfully for most of my other web hosted projects, I was able to use Cloudflare tunnels. But it's ambigous if Cloudflare is okay with you using Tunnels for Plex traffic.

Instead people suggested buying a VPS and hosting a VPN (like Wireguard) to route your traffic through. I couldn't find a complete guide to do this. I struggled for a couple days with trial and error until I finally found a configuration that worked. I wanted to document this for anyone else in the same situation (and future me).

Prerequisites

@GamerKingFaiz
GamerKingFaiz / secure-linux-server.md
Last active January 18, 2025 04:27
Basic steps to secure a Linux server

Basic steps to secure a Linux server

Intro

Just got a new Linux based server or have an existing one and want to secure it? Follow these steps!

These steps are from Alexzander's wonderful YouTube video (<8 min), which you should watch for full context. He goes into the details of what each command does and why you want to do it.

I will call out steps that I added (i.e. steps that were not covered in the video) with a ➕.