Add Cotrun so matrix calls can work behind NAT

This commit is contained in:
Paul-Henri Froidmont 2022-07-27 02:37:42 +02:00
parent ed63967bcd
commit 9e918d5685
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
5 changed files with 95 additions and 13 deletions

8
dns.tf
View file

@ -175,6 +175,14 @@ resource "hetznerdns_record" "matrix_srv" {
ttl = 86400
}
resource "hetznerdns_record" "coturn_a" {
zone_id = data.hetznerdns_zone.banditlair_zone.id
name = "turn"
value = data.hcloud_floating_ip.main_ip.ip_address
type = "A"
ttl = 600
}
# Email
resource "hetznerdns_record" "mail_mx" {
zone_id = data.hetznerdns_zone.banditlair_zone.id