Skip to content

Instantly share code, notes, and snippets.

View alexbaeza's full-sized avatar
:shipit:
LGTM ✅

Alejandro Baeza alexbaeza

:shipit:
LGTM ✅
View GitHub Profile
@alexbaeza
alexbaeza / set-mtu.sh
Last active December 24, 2025 17:18
linux tailscale0 set MTU
#!/bin/bash
set -e
# ---- Configuration / Arguments ----
DEFAULT_MTU=1420 # https://github.com/tailscale/tailscale/issues/12393#issuecomment-2893170282
MTU="${1:-$DEFAULT_MTU}"
# ---- Validation ----
if ! [[ "$MTU" =~ ^[0-9]+$ ]]; then

Keybase proof

I hereby claim:

  • I am alexbaeza on github.
  • I am alexbaeza (https://keybase.io/alexbaeza) on keybase.
  • I have a public key ASDqFIiIeQ8aeMjZouT9aU9C4iiQD9kuoiF341MBbB3mXAo

To claim this, I am signing this object: