summarylogtreecommitdiffstats
path: root/rait.conf
diff options
context:
space:
mode:
authorTrumeet2022-01-17 23:29:49 -0800
committerTrumeet2022-01-17 23:29:49 -0800
commit3528b10aeeaaa45e35aa5a9bab6671e025beebaa (patch)
tree682648dc9f627a34e0edcac018fa35e43d5ce444 /rait.conf
downloadaur-3528b10aeeaaa45e35aa5a9bab6671e025beebaa.tar.gz
First Commit
Diffstat (limited to 'rait.conf')
-rw-r--r--rait.conf31
1 files changed, 31 insertions, 0 deletions
diff --git a/rait.conf b/rait.conf
new file mode 100644
index 000000000000..4574e37b476c
--- /dev/null
+++ b/rait.conf
@@ -0,0 +1,31 @@
+registry = "https://example.com/rait" # url of rait registry
+operator_key = "EA8CQ4CAsvLuEnJvu8FQt0OIMh+NhlWIk0o12zNgekU=" # private key of node operator
+private_key = "KJJXmDtAXSrMGuIJVy/2eP65gXm1PTy7vCR/4O/vEEI=" # wireguard private key
+
+namespace = "rait" # netns to move interfaces into
+
+# both ifgroup and ifprefix should be unique across transports
+transport {
+ address_family = "ip4"
+ address = "8.8.8.8"
+ send_port = 50153
+ mtu = 1400
+ ifprefix = "rait4x"
+ ifgroup = 54
+ fwmark = 54
+ random_port = false
+}
+
+babeld {
+ enabled = true
+ socket_type = "unix"
+ socket_addr = "/run/babeld.ctl"
+ param = "type tunnel link-quality true"
+ footnote = "interface host type wireless"
+}
+
+remarks = {
+ prefix = "1.1.1.0/24"
+ name = "foo"
+ operator = "bar"
+}