Skip to content

Instantly share code, notes, and snippets.

View noflcl's full-sized avatar

Stephen McNamara noflcl

View GitHub Profile
@noflcl
noflcl / devuan.sources.list
Created October 12, 2024 15:37
devuan apt sources list
deb http://deb.devuan.org/merged daedalus main
deb http://deb.devuan.org/merged daedalus-updates main
deb http://deb.devuan.org/merged daedalus-security main
deb-src http://deb.devuan.org/merged daedalus-security main
@noflcl
noflcl / tailscaleRocky.sh
Last active October 11, 2024 12:49
tailscale install for Rocky Linux
sudo dnf config-manager --add-repo https://pkgs.tailscale.com/stable/rhel/9/tailscale.repo
sudo dnf update
sudo dnf install tailscale
sudo systemctl enable --now tailscaled
sudo tailscale up --ssh
@noflcl
noflcl / networking.nix
Created September 20, 2024 10:59
nixos router
```nix
{ config, pkgs, ... }:
{
boot.kernel = {
sysctl = {
"net.ipv4.conf.all.forwarding" = 1;
"net.ipv4.conf.default.rp_filter" = 1;
"net.ipv4.conf.WAN.rp_filter" = 1;
"net.ipv4.conf.br0.rp_filter" = 0;