aboutsummaryrefslogtreecommitdiffstats
path: root/roles/wireguard/templates/hostname.tun0.j2
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-15 17:26:32 +0100
committerbinary <me@rgoncalves.se>2020-11-15 17:26:32 +0100
commitaea6b114e050545ccc8b953c579d53c9158e238b (patch)
tree7cbeb2ad790638e433c21f1452dded1588949d2e /roles/wireguard/templates/hostname.tun0.j2
parent5bcecbf08db7013ba4de12e492961e2cba6e6b8a (diff)
downloadinfrastructure-aea6b114e050545ccc8b953c579d53c9158e238b.tar.gz
I'm so lazy so ignore this cimment this time pls
Diffstat (limited to 'roles/wireguard/templates/hostname.tun0.j2')
-rw-r--r--roles/wireguard/templates/hostname.tun0.j29
1 files changed, 0 insertions, 9 deletions
diff --git a/roles/wireguard/templates/hostname.tun0.j2 b/roles/wireguard/templates/hostname.tun0.j2
deleted file mode 100644
index 3903ccb..0000000
--- a/roles/wireguard/templates/hostname.tun0.j2
+++ /dev/null
@@ -1,9 +0,0 @@
-inet 10.10.0.1 255.255.255.0
-inet6 fd00:10:10::1
-!/usr/local/bin/wireguard-go -f tun0 &
-!/bin/sleep 2
-!/usr/local/bin/wg setconf tun0 /etc/wireguard/{{ _i.dcontroller }}.conf
-!/bin/sleep 2
-!/sbin/route add -inet 10.10.0.0/24 10.10.0.1
-!/bin/sleep 2
-!/sbin/route add -inet6 fd00:10:10::/64 fd00:10:10::1
remember that computers suck.