Skip to content

Instantly share code, notes, and snippets.

View crrlcx's full-sized avatar
I may be slow to respond.

Carrol Cox crrlcx

I may be slow to respond.
View GitHub Profile
@crrlcx
crrlcx / doc.md
Created February 23, 2026 03:43 — forked from willglynn/doc.md
Cloudflare Tunnels/`cloudflared` on Mikrotik RouterOS 7

Why?

In their own words:

Cloudflare Tunnel provides you with a secure way to connect your resources to Cloudflare without a publicly routable IP address. With Tunnel, you do not send traffic to an external IP — instead, a lightweight daemon in your infrastructure (cloudflared) creates outbound-only connections to Cloudflare’s edge. Cloudflare Tunnel can connect HTTP web servers, SSH servers, remote desktops, and other protocols safely to Cloudflare. This way, your origins can serve traffic through Cloudflare without being vulnerable to attacks that bypass Cloudflare.

Beyond cyberattacks, this can be particularly useful if you're behind CGNAT, e.g. on cellular or satellite, and you want to make services on or behind your router available to the broader world.

How?

@crrlcx
crrlcx / Rclone systemd service.md
Created October 29, 2025 23:30 — forked from kabili207/Rclone systemd service.md
Rclone systemd user service

rclone systemd service

Preparation

This service will use the same remote name you specified when using rclone config create. If you haven't done that yet, do so now.

Next, create the mountpoint for your remote. The service uses the location ~/mnt/<remote> by default.

mkdir ~/mnt/dropbox
# Copyright (c) 2012 ZenRobotics Ltd. All rights reserved.
# $modules/$module/lib/puppet/type/mapped_drive.rb
Puppet::Type.newtype(:mapped_drive) do
ensurable
newparam(:local, :namevar => true) do
desc 'Drive letter to map.'
end