summarylogtreecommitdiffstats
path: root/autoygg.install
diff options
context:
space:
mode:
authorlurker2021-03-16 20:16:15 -0400
committerlurker2021-03-16 20:16:15 -0400
commitfcfd6a49c5e3c32160f74329ccd7235eba640d14 (patch)
treef5b1301efb99693cbd1d41de33844f2c21290468 /autoygg.install
downloadaur-fcfd6a49c5e3c32160f74329ccd7235eba640d14.tar.gz
Add autoygg to AUR!
Diffstat (limited to 'autoygg.install')
-rw-r--r--autoygg.install41
1 files changed, 41 insertions, 0 deletions
diff --git a/autoygg.install b/autoygg.install
new file mode 100644
index 000000000000..e568212be80e
--- /dev/null
+++ b/autoygg.install
@@ -0,0 +1,41 @@
+post_install() {
+ echo "
+#####
+Minimum Server Configuration
+#####
+"
+ echo "
+Create a config file at /etc/autoygg/server.yaml. A sample configuration file is provided in etc/autoygg/autoygg-server/server.yaml.example
+"
+ echo '
+The configuration will look something like this:
+
+ ---
+ ListenHost: "the:yggdrasil:ip:address:of:this:machine"
+ RequireRegistration: true
+ AccessListEnabled: false
+ GatewayTunnelIP: "10.42.0.1"
+ GatewayTunnelNetmask: "16"
+'
+ echo "
+Get the value for 'ListenHost' by running
+"
+ echo "
+ yggdrasilctl getSelf
+"
+ echo "
+#####
+Access Lists
+#####
+"
+ echo "
+To limit which clients can use the server, change AccessListEnabled to true in server.yaml and create a file named /etc/autoygg/accesslist.yaml. Add your client yggdrasil IP to that file, e.g. like this:
+"
+ echo "
+ ---
+ AccessList:
+ - yggip: 200:1234:5678:9000:0000:0000:0000:0001
+ access: true
+ comment: node at 124 main street
+"
+}