summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2026-10-26 11:39:10 +0800
committerXiao Pan <xyz@flylightning.xyz>2026-10-26 11:39:10 +0800
commit06d067b446a4f420564a6a5624d81ef92c071991 (patch)
treed53cca201326ef1ca56330acde428841937d2d83 /etc
parentb060986c29104da98cb9e79f0b0b20055122592c (diff)
crunchbits migrate to synteqca
Diffstat (limited to 'etc')
-rw-r--r--etc/myconf/cfgl_meta2
-rw-r--r--etc/nftables.conf2
-rw-r--r--etc/systemd/network/10-cloud-init-eth0.network38
3 files changed, 1 insertions, 41 deletions
diff --git a/etc/myconf/cfgl_meta b/etc/myconf/cfgl_meta
index 92955539..98db913e 100644
--- a/etc/myconf/cfgl_meta
+++ b/etc/myconf/cfgl_meta
@@ -43,8 +43,6 @@
755 root root //etc/sysctl.d
644 root root //etc/sysctl.d/99-sysctl.conf
755 root root //etc/systemd
-755 root root //etc/systemd/network
-644 systemd-network systemd-network //etc/systemd/network/10-cloud-init-eth0.network
755 root root //etc/systemd/system
755 root root //etc/systemd/system/acme.sh.service.d
644 root root //etc/systemd/system/acme.sh.service.d/override.conf
diff --git a/etc/nftables.conf b/etc/nftables.conf
index 0f1aceeb..552269a4 100644
--- a/etc/nftables.conf
+++ b/etc/nftables.conf
@@ -8,7 +8,7 @@
# needed for reload config using `sudo systemctl restart nftables` or `sudo nft -f /etc/nftables.conf`
flush ruleset
-define pub_iface = "eth0"
+define pub_iface = "enp6s18"
define wg_iface = "wg0"
table inet my_table {
diff --git a/etc/systemd/network/10-cloud-init-eth0.network b/etc/systemd/network/10-cloud-init-eth0.network
deleted file mode 100644
index 70765533..00000000
--- a/etc/systemd/network/10-cloud-init-eth0.network
+++ /dev/null
@@ -1,38 +0,0 @@
-# not fully understood
-# https://unix.stackexchange.com/q/509430/
-# man `systemd.network`
-# https://superuser.com/q/1562380
-# https://docs.netgate.com/pfsense/en/latest/network/ipv6/subnets.html
-
-[Match]
-Name=eth0
-
-[Network]
-IPv6AcceptRA=false
-
-[Address]
-Address=216.126.232.27/22
-
-[Address]
-Address=2606:a8c0:3::75f/128
-
-[Address]
-# another ipv6 address for aa wireguard+swgp into
-# not sure if it is corret, but it works
-Address=2606:a8c0:3:773::b/64
-
-[Address]
-# the last address seems is the default?
-# ...:1/64 also works, but I use ...:a/64 because crunchbits panel reverse DNS support this address
-# 2024-06-27, ...:1/64 seems doe not work any more, not sure why
-Address=2606:a8c0:3:773::a/64
-# use the following will not need GatewayOnLink=yes in [Route] section, but I'm not sure if it is correct, I'm not sure if those ips could be accessed without gateway, more see https://superuser.com/q/1562380
-#Address=2606:a8c0:3:773::a/48
-
-[Route]
-Gateway=216.126.232.1
-
-[Route]
-Gateway=2606:a8c0:3::1
-# GatewayOnLink=yes needed for 2606:a8c0:3::1 gateway, maybe because 2606:a8c0:3::1 is not in the same subnet as 2606:a8c0:3:38d::a/64? see: https://serverfault.com/q/814419
-GatewayOnLink=yes