Add IPv6 to proxmox internal network
This commit is contained in:
parent
7c8d224c4a
commit
7ff44ee238
6 changed files with 11 additions and 6 deletions
|
@ -1,5 +1,6 @@
|
||||||
pve_hosts:
|
pve_hosts:
|
||||||
internal_cidr: 10.23.1.0/24
|
internal_cidr: 10.23.1.0/24
|
||||||
|
internal_cidr_ipv6: fde3:15e9:e883::1/48
|
||||||
pve:
|
pve:
|
||||||
ip: 10.23.1.1
|
ip: 10.23.1.1
|
||||||
external_ip: 192.168.2.200
|
external_ip: 192.168.2.200
|
||||||
|
@ -7,17 +8,19 @@ pve_hosts:
|
||||||
ip: 10.23.1.11
|
ip: 10.23.1.11
|
||||||
forrest:
|
forrest:
|
||||||
ip: 10.23.1.13
|
ip: 10.23.1.13
|
||||||
|
ipv6: fde3:15e9:e883::103
|
||||||
jellyfin:
|
jellyfin:
|
||||||
ip: 10.23.1.101
|
ip: 10.23.1.101
|
||||||
dokku:
|
dokku:
|
||||||
ip: 10.23.1.102
|
ip: 10.23.1.102
|
||||||
docker:
|
docker:
|
||||||
ip: 10.23.1.103
|
ip: 10.23.1.103
|
||||||
|
ipv6: fde3:15e9:e883::203
|
||||||
ingress:
|
ingress:
|
||||||
ip: 10.23.1.10
|
ip: 10.23.1.10
|
||||||
external_ip: 192.168.2.201
|
external_ip: 192.168.2.201
|
||||||
external_ipv6: "{{ vault_ingress_ipv6 }}"
|
external_ipv6: "{{ vault_ingress_ipv6 }}"
|
||||||
link_local: fe80::d4e4:22ff:fe8b:429d
|
ipv6: fde3:15e9:e883::100
|
||||||
homeassistant:
|
homeassistant:
|
||||||
ip: 192.168.2.203
|
ip: 192.168.2.203
|
||||||
qbittorrent:
|
qbittorrent:
|
||||||
|
|
|
@ -4,4 +4,4 @@ bantime = 600
|
||||||
findtime = 30
|
findtime = 30
|
||||||
maxretry = 5
|
maxretry = 5
|
||||||
port = {{ ssh_port }},ssh
|
port = {{ ssh_port }},ssh
|
||||||
ignoreip = {{ wireguard.cidr }},{{ nebula.cidr }},{{ pve_hosts.internal_cidr }},{{ tailscale_cidr }}
|
ignoreip = {{ wireguard.cidr }},{{ nebula.cidr }},{{ pve_hosts.internal_cidr }},{{ pve_hosts.internal_cidr_ipv6 }},{{ tailscale_cidr }}
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
- add
|
- add
|
||||||
- "{{ vps_hosts.private_ipv6_range }}"
|
- "{{ vps_hosts.private_ipv6_range }}"
|
||||||
- via
|
- via
|
||||||
- "{{ pve_hosts.ingress.link_local }}"
|
- "{{ pve_hosts.ingress.ipv6 }}"
|
||||||
- dev
|
- dev
|
||||||
- eth0
|
- eth0
|
||||||
become: true
|
become: true
|
||||||
|
|
|
@ -6,9 +6,9 @@ maxretry = 100
|
||||||
filter = nginx-tcp
|
filter = nginx-tcp
|
||||||
logpath = /var/log/nginx/ips.log
|
logpath = /var/log/nginx/ips.log
|
||||||
port = http,https,8448
|
port = http,https,8448
|
||||||
ignoreip = {{ wireguard.cidr }},{{ nebula.cidr }},{{ pve_hosts.internal_cidr }},{{ vps_hosts.values()|sort|join(",") }},{{ tailscale_cidr }}
|
ignoreip = {{ wireguard.cidr }},{{ nebula.cidr }},{{ pve_hosts.internal_cidr }},{{ pve_hosts.internal_cidr_ipv6 }},{{ vps_hosts.values()|sort|join(",") }},{{ tailscale_cidr }}
|
||||||
|
|
||||||
[traefik]
|
[traefik]
|
||||||
enabled = true
|
enabled = true
|
||||||
port = http,https,8448
|
port = http,https,8448
|
||||||
ignoreip = {{ wireguard.cidr }},{{ nebula.cidr }},{{ pve_hosts.internal_cidr }},{{ vps_hosts.values()|sort|join(",") }},{{ tailscale_cidr }}
|
ignoreip = {{ wireguard.cidr }},{{ nebula.cidr }},{{ pve_hosts.internal_cidr }},{{ pve_hosts.internal_cidr_ipv6 }},{{ vps_hosts.values()|sort|join(",") }},{{ tailscale_cidr }}
|
||||||
|
|
|
@ -6,5 +6,5 @@ maxretry = 5
|
||||||
filter = traefik
|
filter = traefik
|
||||||
logpath = /tmp/traefik-logs/access.log
|
logpath = /tmp/traefik-logs/access.log
|
||||||
port = http,https
|
port = http,https
|
||||||
ignoreip = {{ wireguard.cidr }},{{ nebula.cidr }},{{ pve_hosts.internal_cidr }},{{ vps_hosts.values()|sort|join(",") }},{{ tailscale_cidr }}
|
ignoreip = {{ wireguard.cidr }},{{ nebula.cidr }},{{ pve_hosts.internal_cidr }},{{ pve_hosts.internal_cidr_ipv6 }},{{ vps_hosts.values()|sort|join(",") }},{{ tailscale_cidr }}
|
||||||
action = gateway
|
action = gateway
|
||||||
|
|
|
@ -15,6 +15,7 @@ http:
|
||||||
- "{{ tailscale_cidr }}"
|
- "{{ tailscale_cidr }}"
|
||||||
- "{{ tailscale_cidr_ipv6 }}"
|
- "{{ tailscale_cidr_ipv6 }}"
|
||||||
- "{{ pve_hosts.forrest.ip }}"
|
- "{{ pve_hosts.forrest.ip }}"
|
||||||
|
- "{{ pve_hosts.forrest.ipv6 }}"
|
||||||
|
|
||||||
private-access:
|
private-access:
|
||||||
ipWhiteList:
|
ipWhiteList:
|
||||||
|
@ -23,3 +24,4 @@ http:
|
||||||
- "{{ tailscale_cidr_ipv6 }}"
|
- "{{ tailscale_cidr_ipv6 }}"
|
||||||
- "{{ nebula.cidr }}"
|
- "{{ nebula.cidr }}"
|
||||||
- "{{ pve_hosts.internal_cidr }}"
|
- "{{ pve_hosts.internal_cidr }}"
|
||||||
|
- "{{ pve_hosts.internal_cidr_ipv6 }}"
|
||||||
|
|
Loading…
Reference in a new issue