Commit Graph

167 Commits

Author SHA1 Message Date
Astro 6cc02abdb8 yggdrasil: properly add a static key 2022-01-13 23:40:43 +01:00
Astro d8bd90e049 yggdrasil: prepare container deployment 2022-01-13 20:17:50 +01:00
Astro 3c44eeaab1 lib/config/options: move host wireguard setting to interface entries 2022-01-11 19:58:50 +01:00
Astro 2808bebffc lib/config/options: add duplicate vlan check 2021-11-15 21:30:38 +01:00
Astro 21fe4f2503 lib/config/options: add duplicate address checks and fix them 2021-11-14 01:41:19 +01:00
Astro bcf60d2a5b config: remove automatic config subnet4Len, subnet4Net 2021-11-13 02:53:54 +01:00
Astro 32c0def45b config: nixify everything 2021-11-13 01:23:23 +01:00
Daniel Poelzleithner 7f800810ad fix missing string conversation 2021-11-10 22:58:17 +01:00
Daniel Poelzleithner cbf226f3a5 add mon alias entries to ceph cluster 2021-11-10 22:54:03 +01:00
Astro f41c7d37e2 lib/config: move _ceph-mon._tcp srv record from server7 to server5 2021-11-10 20:55:39 +01:00
Astro 245cbcfc10 nix/config: add cluster _ceph-mon._tcp SRV records 2021-11-10 20:13:05 +01:00
Astro 01f37cec9f lib/dns: add extraRecords 2021-11-10 20:12:45 +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 40e8b351d5 pkgs/ap.nix: migrate template to nix 2021-11-06 22:57:12 +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 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 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 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 1b4f761de8 nixos-module/container/upstream: fix SNAT by adding a staticIpv4Address option 2021-09-06 22:58:52 +02:00
Astro 3be7beaf27 upstream4: add port forward 2222/tcp to gitea 2021-09-06 21:14:37 +02:00
Astro bc590bca8c upstream4: remove outdated port forwardings 2021-09-06 21:12:26 +02:00
Astro 5b27eb82ac config: add server1 to mainServers 2021-08-20 21:39:31 +02:00
Astro cf3d9b4891 config: don't use location to select server for lxc containers 2021-08-20 21:37:43 +02:00
Astro c2b1a2f183 nix/lib/dns: fix reverseZone6Size to /56 2021-08-13 01:18:59 +02:00
Astro 2059c22c98 c3d2: enable dyndns 2021-07-16 19:36:41 +02:00
Astro 440ec18e71 upstream4: add ssh port forwarding for leon's web-deploy 2021-07-16 19:36:13 +02:00
Astro bde21798b5 c3d2: add fixed-hosts 2021-06-16 19:58:40 +02:00
Astro a896652436 lib/salt-support/expand-template: fix for nix/pkgs/ap.sh 2021-06-16 14:02:44 +02:00
Astro 6d0c99c6ce c3d2: enable dhcp 2021-06-09 22:11:46 +02:00
Astro 46ca027d80 priv17-gw-up3: init 2021-06-09 21:28:54 +02:00
Astro 96da13020f allowedUpstreams: remove upstream2, use upstream1 for anon1 2021-06-02 23:45:10 +02:00
Astro ee0c996ddc nix/lib/dns: update to up4 ipv6 addrs 2021-06-02 20:07:56 +02:00
Astro aba5796a57 IPv6 renumbering 2021-06-02 19:56:24 +02:00
Astro 0cf9122ce0 upstream4: copy forwardPorts from upstream1 2021-06-01 19:27:00 +02:00
Astro bd795b270a nixos-module/container/upstream/pppoe: init 2021-05-31 00:41:38 +02:00
Astro 24b36568ca options: add physicalInterfaces 2021-05-31 00:06:56 +02:00
Astro 78e528d024 duplicate c3d2-gw into c3d2-gw{1,2,3} 2021-05-27 15:17:45 +02:00
Astro 57df325207 allowedUpstreams: add anon1 everywhere
because ipv4/ipv6 are configured together but switch independently,
anon1 can be working when upstream* has broken ipv6.
2021-05-27 03:01:09 +02:00
Astro ef371b32c4 nixos-module/collectd: add starlink-stats 2021-05-23 23:16:28 +02:00
Astro cfb062063a nixos-module/container/upstream: fix DHCP for upstream3, upstream4 2021-05-22 01:19:16 +02:00
Astro 68afa61ca1 lxc-containers: prepare upstream3, upstream4 2021-05-22 01:02:01 +02:00
Astro 73868f2f34 lib/dns: fix reverseZones4 to be complete 2021-05-07 17:37:52 +02:00
Astro 4d41e241b3 lib/dns: refactor localZones 2021-05-06 16:25:10 +02:00
Astro 3e2d8ef2fc lib/config: enable site.net.pub.dynamicDomain 2021-05-06 15:01:39 +02:00
Astro fd267085bc nixos-module/container/{dns, dhcp-server}: implement internal ipv4 dyndns 2021-05-06 03:22:18 +02:00
Astro 8c896c31b8 nixos-module/container/dns: init 2021-05-03 01:26:57 +02:00
Astro 03f755f841 nixos-module/container/upstream: provide NAT6 with noNat.subnets6 2021-05-01 01:14:54 +02:00
Astro d72789c35a /nixos-module/container/bird: use ospf instances not areas for sharing upstream 2021-04-30 23:55:16 +02:00
Astro 003a948ce2 lib/config: remove ospf.networks[46] 2021-04-30 23:37:53 +02:00
Astro 5c8fa22ca8 nixos-module/server/lxc-containers: add prebuilt containers 2021-04-30 22:38:57 +02:00
Astro 8b59a9a921 lib/config/legacy: setup allowedUpstreams for many containers 2021-04-29 23:09:13 +02:00
Astro a467699f48 libx/config/default: remove dup warnings output 2021-04-29 22:43:46 +02:00
Astro 257e6686b9 nixos-module/container/bird: implement upstream failover 2021-04-29 01:44:48 +02:00
Astro c6d2879d93 lib/config/default: fix warnings 2021-04-29 01:34:05 +02:00
Astro 405acaf875 nixos-module/container/dnscache: init 2021-04-14 23:07:27 +02:00
Astro 1ee38b50b0 nixos-module/firewall: add for mgmt-gw, priv13-gw 2021-04-14 20:04:28 +02:00
Astro 5aa53fbcb1 nixos-module/container/bird: add bgp configuration 2021-04-13 00:46:12 +02:00
Astro aed29a54ce lib/config/options+legacy: add bgp 2021-04-13 00:11:42 +02:00
Astro f583833645 lib/config/options: fix isRouter logic 2021-04-12 22:35:02 +02:00
Astro 0eabf2dbf6 doc 2021-04-11 02:02:15 +02:00
Astro 010a5cfb97 lib/config/options: make isRouter depend on having an ipv4 address in core
prevents server2 from becoming a router
2021-04-11 02:02:15 +02:00
Astro 6eb8a1d24f lib/config/options: remove wg from interfaces 2021-04-11 02:02:15 +02:00
Astro 58dccf697f netmasks.nix: turn into code 2021-04-11 02:02:15 +02:00
Astro ec6d26ab08 s/forwardedPorts/forwardPorts/ 2021-04-11 02:02:15 +02:00
Astro df4c9f35b3 legacy.nix: change gw4+gw6 to cls-gw 2021-04-11 02:02:15 +02:00
Astro f5f62aa82a legacy.nix: remove server1 2021-04-11 02:02:15 +02:00
Astro 436ceab45e nixos-module/container/anon: setup shaping 2021-04-11 02:02:15 +02:00
Astro c015497773 nixos-module/container/anon: setup wireguard 2021-04-11 02:02:15 +02:00
Astro dde0533e90 nix/lib/config: fix net name 2021-04-11 02:02:15 +02:00
Astro 953e43fa4a nixos-module/container/mgmt-gw: init 2021-04-11 02:02:15 +02:00
Astro 4e3fd3398b options.nix: set a default domainName 2021-04-11 02:02:15 +02:00
Astro 2e2d8c976d server2.nix: hack in 2021-04-11 02:02:15 +02:00
Astro b5210fa37d options.nix: move domainName 2021-04-11 02:02:15 +02:00
Astro c6de032ff3 nixos-module/container/upstream.nix: init dhcp, forwardedPorts 2021-04-11 02:02:15 +02:00
Astro 881f985450 nix/lib/config: add upstream, forwardedPorts, fix fixed-hosts 2021-04-11 02:02:15 +02:00
Astro 775b91fb18 dhcp-server.nix: add fixed-hosts 2021-04-11 02:02:15 +02:00
Astro df3ef74862 nixos-module/container/dhcp-server.nix: init 2021-04-11 02:02:15 +02:00
Astro 74c10c0446 config: add dhcpOpts, import from salt-pillar 2021-04-11 02:02:15 +02:00
Astro 454566755b legacy: add forceVeth hack for unrelated problem 2021-04-11 02:02:15 +02:00
Astro 3d2cfa4e8a legacy: implement "*" for salt-pillar lookup 2021-04-11 02:02:15 +02:00