Skip to content

Instantly share code, notes, and snippets.

View RoccoHoward's full-sized avatar
🏠
Home Office

Rocco Howard RoccoHoward

🏠
Home Office
View GitHub Profile
@shrmnk
shrmnk / README.md
Created July 6, 2023 16:36
Running multiple cloudflared tunnels with token

Running multiple Cloudflare Tunnel services

This is a simple guide to setting up multiple cloudflared services (via systemctl). Useful if you have to run tunnels authenticated by different accounts and want to let each account handle their tunneling configurations via the Dashboard/UI.

  1. (optional, so its easy to clone the service definition file) Setup your first tunnel using the standard sudo cloudflared service install <token> command
  2. cd into the folder containing the cloudflared.service definition (usually /etc/systemd/system or /usr/lib/systemd/system
  3. Duplicate the existing cloudflared.service into another file with a unique name e.g. sudo cp cloudflared.service cloudflared-b.service
  4. Open up your new service cloudflared-b.service in your favorite text editor
  5. Change the token within the ExecStart= line to match your second tunnel
  6. Change the service Description= to match your service filename
@ipbastola
ipbastola / clean-up-boot-partition-ubuntu.md
Last active October 22, 2025 09:55
Safest way to clean up boot partition - Ubuntu 14.04LTS-x64, Ubuntu 16.04LTS-x64

Safest way to clean up boot partition - Ubuntu 14.04LTS-x64, Ubuntu 16.04LTS-x64

Reference

Case I: if /boot is not 100% full and apt is working

1. Check the current kernel version

$ uname -r