mirror of
https://gitea.invidious.io/iv-org/infrastructure.git
synced 2024-08-15 00:53:31 +00:00
Merge pull request #12 from iv-org/10-important-add-ipv6-on-the-public-vps
Add IPv6
This commit is contained in:
commit
e036ef7288
4 changed files with 32 additions and 0 deletions
12
dia.yml
12
dia.yml
|
@ -1,12 +1,24 @@
|
||||||
---
|
---
|
||||||
- hosts: dia.invidious.io
|
- hosts: dia.invidious.io
|
||||||
handlers:
|
handlers:
|
||||||
|
- name: restart networking
|
||||||
|
systemd:
|
||||||
|
name: networking
|
||||||
|
state: restarted
|
||||||
|
|
||||||
- name: restart ssh
|
- name: restart ssh
|
||||||
systemd:
|
systemd:
|
||||||
name: sshd
|
name: sshd
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
tasks:
|
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
|
- name: SSH config
|
||||||
template:
|
template:
|
||||||
src: sshd_config.j2
|
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
|
|
@ -6,3 +6,7 @@ unattended_origins_patterns:
|
||||||
- 'origin=Debian,codename=${distro_codename},label=Debian-Security'
|
- 'origin=Debian,codename=${distro_codename},label=Debian-Security'
|
||||||
- 'origin=Debian,codename=${distro_codename}-security,label=Debian-Security'
|
- 'origin=Debian,codename=${distro_codename}-security,label=Debian-Security'
|
||||||
- 'o=Debian,codename=${distro_codename},label=Debian'
|
- 'o=Debian,codename=${distro_codename},label=Debian'
|
||||||
|
|
||||||
|
docker_daemon_options:
|
||||||
|
experimental: true
|
||||||
|
ip6tables: true
|
|
@ -8,3 +8,11 @@ services:
|
||||||
# disable (spammy logs)
|
# disable (spammy logs)
|
||||||
logging:
|
logging:
|
||||||
driver: "none"
|
driver: "none"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
enable_ipv6: true
|
||||||
|
ipam:
|
||||||
|
config:
|
||||||
|
- subnet: 2001:0DB9::/112
|
||||||
|
gateway: 2001:0DB9::1
|
||||||
|
|
Loading…
Reference in a new issue