You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
5 months ago | |
---|---|---|
.gitignore | 5 months ago | |
dhcpcd.conf | 5 months ago | |
dnsmasq.conf | 5 months ago | |
etc-hosts | 8 months ago | |
firewall-edit.bash | 1 year ago | |
install.sh | 10 months ago | |
lan0.link | 1 year ago | |
link.fish | 5 months ago | |
nftables.conf | 5 months ago | |
readme.md | 1 year ago | |
resolved.conf | 1 year ago | |
sysctl-configs | 1 year ago | |
wan0.link | 1 year ago |
readme.md
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
- May be use dnsmasq's
- Reboot
TODO:
- Script this whole thing? NixOS/declarative?
link.fish
could just write to these files instead of copying them?