Find a file
Daniel Flanagan 7ec4eebc65 Whee!
2022-02-04 10:45:06 -06:00
dhcpcd.conf WIP 2022-01-31 16:44:36 -06:00
dnsmasq.conf Whee! 2022-02-04 10:45:06 -06:00
firewall-edit.bash Whee! 2022-02-04 10:45:06 -06:00
lan0.link WIP update for new dual-NIC box 2022-01-31 11:40:03 -06:00
link.fish Ok more 2022-01-31 17:11:33 -06:00
nftables.conf Whee! 2022-02-04 10:45:06 -06:00
readme.md Whee! 2022-02-04 10:45:06 -06:00
resolved.conf WIP 2022-01-31 16:44:36 -06:00
sysctl-configs WIP 2022-01-31 16:44:36 -06:00
wan0.link WIP update for new dual-NIC box 2022-01-31 11:40:03 -06:00

Router

Yeah yeah I need to document this better.

Setup

With a fresh Arch Linux system:

  • Install base packages as from dotfiles (plus ones used below)
  • Run ./link.fish script
  • Enable and restart the following services:
    • nftables
    • systemd-sysctl
    • systemd-resolved
    • systemd-networkd
    • dnsmasq
    • dhcpcd
  • Run mkinitcpio -p linux
  • Add any needed hosts to /etc/hosts
    • May be use dnsmasq's addn-hosts directive and copy a file from this repo
  • Reboot

TODO:

  • Script this whole thing? NixOS/declarative?
  • link.fish could just write to these files instead of copying them?