mirror of
https://github.com/iv-org/infrastructure.git
synced 2024-10-01 00:45:37 -04:00
Add he-ipv6 network tunnel
This commit is contained in:
parent
5da6b90e77
commit
fbbbd805a1
12
dia.yml
12
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
|
||||
|
8
files/he-ipv6
Normal file
8
files/he-ipv6
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user