aboutsummaryrefslogtreecommitdiffstats
path: root/roles/wireguard/templates/hostname.j2
blob: aca3b03e578cd1e92a6b992967016815c1e0b3c1 (plain) (blame)
1
2
3
4
5
6
7
8
inet 10.10.0.1 255.255.255.0
inet6 fd00:10:10::1
#!/usr/local/bin/wireguard-go -f tun0 &
!/usr/local/bin/wg setconf tun0 /etc/wireguard/{{ global.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.