dragon2003 10d ago
NAT VPS with 20 ports: how do you actually organize them? · VPS Hosting
I just use Docker Compose with explicit port mappings and a .env file for the base port. If my provider changes the range I change one variable and redeploy. Not fancy but I am not fancy either.
services:
nginx:
ports:
- "${BASE}:80"
- "${BASE_SSL}:443"BASE=30000,...