Commit Graph

294 Commits

Author SHA1 Message Date
Astro f14c6ff200 pkgs/ap: catch failing service stop 2021-11-10 16:38:49 +01:00
Astro d9443fc374 pkgs/ap: uci delete silently and don't abort 2021-11-09 21:16:53 +01:00
Astro 311df51820 pkgs/ap: don't use uci batch
was hiding which command produced an error
2021-11-09 21:10:56 +01:00
Astro b8b4995433 pkgs/ap: delete unused networks 2021-11-09 21:07:37 +01:00
Astro 25217f0b82 pkgs/ap: move uciDeleteAll outside `uci batch` 2021-11-09 20:31:46 +01:00
Astro bade3d54c6 pkgs/device-templates: rename device-scripts to .sh for `nix run .#...` 2021-11-09 16:47:48 +01:00
Astro 733f04258d pkgs/network-graphs: add up* to physical-graph 2021-11-07 03:21:39 +01:00
Astro f0c5f1d398 lib/config/legacy: reflect the actual topology 2021-11-07 02:55:44 +01:00
Astro 71675556f2 lib/config: implement assertions and warnings 2021-11-07 02:43:56 +01:00
Astro 4080368927 pkgs/switches: sort output stably 2021-11-07 02:22:24 +01:00
Astro 8fc0567204 pkgs/switches: fixes 2021-11-07 02:21:48 +01:00
Astro 5c074bb051 pkgs/ap: fix multiple issues 2021-11-07 00:23:21 +01:00
Astro db4d075af2 pkgs/network-graphs: don't use callPackage as it breaks the flake 2021-11-07 00:05:55 +01:00
Astro 40e8b351d5 pkgs/ap.nix: migrate template to nix 2021-11-06 22:57:12 +01:00
Astro f156ab6f05 pkgs/network-graphs: init 2021-11-06 19:48:46 +01:00
Astro ecf1b3afca pkgs/switches/linksys-srw2048: enable jumbo-frame
Attention: @poelzi
2021-11-06 03:38:57 +01:00
Astro 001aaecf3a lib/config/options: rewrite getHostLinkNetworks et al 2021-11-06 03:38:01 +01:00
Astro 7834d64e27 lib/config/legacy: treat single eth0 as wan port 2021-11-06 03:36:55 +01:00
Astro e975d78504 lib/config: add config.site.sshPubKeys 2021-11-04 19:17:57 +01:00
Astro 9852920ee8 nix/lib/config: begin treating aps as manageable switches 2021-11-04 19:17:31 +01:00
Astro 8acc37b5d5 lib/openwrt-models: add code to get port definitions 2021-11-03 23:21:43 +01:00
Astro 3072e1e78c pkgs/switches: switch from salt to nix 2021-11-03 01:09:22 +01:00
Astro f54fa47fd8 upstream4: add forwardPorts for jabber coturn 2021-10-18 03:32:50 +02:00
Astro 6b36f19af8 upstream: fix forwardPorts 2021-10-18 01:24:43 +02:00
Astro 4634b94199 upstream4: add forwardPorts for jabber 2021-10-18 01:21:28 +02:00
Astro 2c3c0fa13c upstream: disable NAT reflection for DNS port forwards 2021-10-16 23:56:32 +02:00
Astro 84810697d7 pkgs/dns-slaves: add allow-query { all; }; 2021-10-16 00:58:13 +02:00
Astro e904c12847 nixos-module/container/dns: add local ns.c3d2.de 2021-10-15 23:38:33 +02:00
Astro eae6cc680b nix: fix more names 2021-10-14 17:12:33 +02:00
Astro 0ca0a9e9fd nix: remove dangling `.ip4` 2021-10-14 17:10:11 +02:00
Astro de4b674091 nixos-module/defaults: fix syntax 2021-10-14 17:08:09 +02:00
Astro bd5ee9e7cd nixos-module/defaults: add journalbeat for central logging 2021-10-14 17:06:39 +02:00
Astro dd399d7871 lib/config/legacy: add bind to upstream4.forwardPorts 2021-10-14 17:05:05 +02:00
Astro 6da7456ba1 lib/config/legacy: increase readability of upstream4.forwardPorts 2021-10-14 17:03:49 +02:00
Astro a5cc429946 upstream4: add forwardPorts for mail 2021-10-02 00:48:32 +02:00
Astro e0d12435f0 upstream4: set gitea port forwarding to 22/tcp 2021-10-01 21:28:14 +02:00
Astro 2bae8c6785 Revert "upstream4: fix gitea port fwding"
This reverts commit 61cfd3a313.
2021-10-01 21:12:28 +02:00
Astro 61cfd3a313 upstream4: fix gitea port fwding 2021-10-01 20:51:04 +02:00
Astro 6245887f0f lib/config/legacy: add dacbert mac 2021-09-28 00:24:11 +02:00
Astro 44094c1346 pulsebert.hq.c3d2.de: change MAC address 2021-09-22 23:35:28 +02:00
Astro 5915d9a16a lib/config/options: doc 2021-09-19 02:18:17 +02:00
Astro df0bca25bb switch domainNames from zentralwerk.dn42 to zentralwerk.org 2021-09-16 19:26:03 +02:00
Astro 23190495ff upstream4: add port forwarding 2021-09-10 20:00:04 +02:00
Astro 04de05ce75 lib/config/options: add missing staticIpv4Address default 2021-09-07 00:11:28 +02:00
Astro 8b6c7578e8 nixos-module/container/upstream: remove a lot of stuff by using loopbackIPs for forwarded ports 2021-09-06 23:41:45 +02:00
Astro 48cbaf5f08 nixos-module/container/upstream: fix SNAT for forwarded ports 2021-09-06 23:19:08 +02:00
Astro 501f96a225 nixos-module/container/upstream: specify externalIP to use SNAT instead of MASQUERADE 2021-09-06 23:17:46 +02:00
Astro 1b4f761de8 nixos-module/container/upstream: fix SNAT by adding a staticIpv4Address option 2021-09-06 22:58:52 +02:00
Astro fd4c8ad65b nixos-module/container/upstream: do SNAT for forwarded ports 2021-09-06 22:11:39 +02:00
Astro 3be7beaf27 upstream4: add port forward 2222/tcp to gitea 2021-09-06 21:14:37 +02:00