summaryrefslogtreecommitdiff
path: root/etc/systemd/network/25-sit.network
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-07-08 15:00:41 +0000
committerXiao Pan <xyz@flylightning.xyz>2025-07-08 15:00:41 +0000
commit98dc3ce681bbe5f0ffcaf6093b8888079a080f36 (patch)
tree8b979401e7757631b3457cb36b3bbc3d5d0df785 /etc/systemd/network/25-sit.network
parentf8b713212ed8b779414775f97ac4e692b902e39a (diff)
ba network, need 6in4 sit tunnel see arch wiki
Diffstat (limited to 'etc/systemd/network/25-sit.network')
-rw-r--r--etc/systemd/network/25-sit.network17
1 files changed, 17 insertions, 0 deletions
diff --git a/etc/systemd/network/25-sit.network b/etc/systemd/network/25-sit.network
new file mode 100644
index 00000000..7e6fb6d7
--- /dev/null
+++ b/etc/systemd/network/25-sit.network
@@ -0,0 +1,17 @@
+# https://wiki.archlinux.org/title/IPv6_tunnel_broker_setup
+[Match]
+Name=ipv6net
+
+[Network]
+Address=2607:8700:5500:7c7f::2/64
+Gateway=2607:8700:5500:7c7f::1
+
+[Route]
+Gateway=2607:8700:5500:7c7f::1
+Destination=::/0
+
+[RoutingPolicyRule]
+From=2607:8700:5500:7c7f::2/64
+
+[RoutingPolicyRule]
+From=2607:8700:5500:7c7f::/64