feat: Changed openvpn for wireguard
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# vpn: OpenVPN + Traefik. Not attached to the private network (see docs/architecture.md).
|
||||
# vpn: WireGuard (wg-easy) + Traefik. Not attached to the private network (see docs/architecture.md).
|
||||
resource "hcloud_firewall" "this" {
|
||||
name = "vpn-firewall"
|
||||
|
||||
@@ -23,10 +23,10 @@ resource "hcloud_firewall" "this" {
|
||||
source_ips = ["0.0.0.0/0", "::/0"]
|
||||
}
|
||||
|
||||
rule { # OpenVPN tunnel - always direct to this server's public IP, never via a load balancer
|
||||
rule { # WireGuard tunnel - always direct to this server's public IP, never via a load balancer
|
||||
direction = "in"
|
||||
protocol = "udp"
|
||||
port = "1194"
|
||||
port = "51820"
|
||||
source_ips = ["0.0.0.0/0", "::/0"]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user