Skip to content

Instantly share code, notes, and snippets.

@GamerKingFaiz
GamerKingFaiz / plex-cgnat-vpn-guide.md
Last active November 20, 2025 17:07
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

@jibaromar
jibaromar / credentials.pkr.hcl
Created June 27, 2023 19:57
Packer source for building a pfSense template in Proxmox with SSHD enabled
proxmox_hostname = "https://ns1234567.ip-12-345-6.eu:8006"
proxmox_token_user = "packer@pam!packer"
proxmox_token = ""
@m4vr0x
m4vr0x / iptables.sh
Last active December 3, 2025 06:24
Proxmox iptables rules script
#!/bin/sh
# ---------
# VARIABLES
# ---------
## Proxmox bridge holding Public IP
PrxPubVBR="vmbr0"
## Proxmox bridge on VmWanNET (PFSense WAN side)
PrxVmWanVBR="vmbr1"
@thacoon
thacoon / arch-linux-gnome-install
Last active November 30, 2025 20:26
Install a minimal gnome setup and some more useful things
# Install Gnome and some other useful thins
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# And based on https://wiki.archlinux.de/title/Anleitung_f%C3%BCr_Einsteiger
# I have just copied commands from https://wiki.archlinux.de/title/Anleitung_f%C3%BCr_Einsteiger#Weitere_notwendige_Dienste
# It's just to have it with one view after doing a [fresh installation](https://gist.github.com/thacoon/05d5a39606ab554455d6713e8a714b2c)
# Switch to root
sudo su -