Skip to content

Instantly share code, notes, and snippets.

@matti
Last active July 20, 2022 15:50
Show Gist options
  • Save matti/09c2821e34d2eb7de53da29a00096a60 to your computer and use it in GitHub Desktop.
Save matti/09c2821e34d2eb7de53da29a00096a60 to your computer and use it in GitHub Desktop.

autopi

do not set gateway for wifi which has no internet

add nogateway to /etc/dhcpcd.conf

interface wlan0
metric 200
nohook wpa_supplicant
nogateway

allow tailscale

advanced -> settings -> firewall -> entries:

-A INPUT -i tailscale0 -j ACCEPT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment