From fbbbd805a15ef8e00e0fa334d12ed5bdaa0589cc Mon Sep 17 00:00:00 2001 From: Perflyst <26308977+Perflyst@users.noreply.github.com> Date: Fri, 8 Dec 2023 21:20:15 +0000 Subject: [PATCH] Add he-ipv6 network tunnel --- dia.yml | 12 ++++++++++++ files/he-ipv6 | 8 ++++++++ 2 files changed, 20 insertions(+) create mode 100644 files/he-ipv6 diff --git a/dia.yml b/dia.yml index 11aa1bc..2a11c2c 100644 --- a/dia.yml +++ b/dia.yml @@ -1,12 +1,24 @@ --- - hosts: dia.invidious.io handlers: + - name: restart networking + systemd: + name: networking + state: restarted + - name: restart ssh systemd: name: sshd state: restarted tasks: + - name: HE IPv6 network config + copy: + src: he-ipv6 + dest: /etc/network/interfaces.d/he-ipv6 + mode: 0644 + notify: restart networking + - name: SSH config template: src: sshd_config.j2 diff --git a/files/he-ipv6 b/files/he-ipv6 new file mode 100644 index 0000000..a1492f2 --- /dev/null +++ b/files/he-ipv6 @@ -0,0 +1,8 @@ +auto he-ipv6 +iface he-ipv6 inet6 v4tunnel + address 2001:470:1f1c:685::2 + netmask 64 + endpoint 216.66.88.98 + local 93.95.230.186 + ttl 255 + gateway 2001:470:1f1c:685::1