chore(config): update firewall and VPN overlay settings

- allow UDP 51820 for WireGuard
- remove 10.253.0.0/16 from allowed IPs in WireGuard site configs
This commit is contained in:
Haitao Pan 2025-04-07 20:09:57 +08:00
parent d3c0ca69ec
commit 72e99501a1
2 changed files with 6 additions and 2 deletions

View File

@ -19,6 +19,8 @@ firewall_rules:
ports: ["22"]
- protocol: udp
ports: ["4789"]
- protocol: udp
ports: ["51820"]
- name: dev-vpc-2-default-inbound
enabled: true
@ -31,3 +33,5 @@ firewall_rules:
ports: ["22"]
- protocol: udp
ports: ["4789"]
- protocol: udp
ports: ["51820"]

View File

@ -28,7 +28,7 @@ hubs:
sites:
- name: master-1
interface: ens5
allowed_ips: "172.16.0.0/16,10.253.0.0/16"
allowed_ips: "172.16.0.0/16"
wireguard_peer: hub-1
br_ip: 10.253.253.2
wg_ip: 172.16.0.10
@ -44,7 +44,7 @@ sites:
- name: slave-1
interface: ens5
wireguard_peer: hub-1
allowed_ips: "172.16.0.0/16,10.253.0.0/16"
allowed_ips: "172.16.0.0/16"
br_ip: 10.253.253.3
wg_ip: 172.16.0.11
local_ip: 172.16.0.11