This commit is contained in:
parent
a37694f9c3
commit
025cf6e6dd
@ -13,6 +13,15 @@ firewall:
|
|||||||
- port: "59000:59049"
|
- port: "59000:59049"
|
||||||
proto: udp
|
proto: udp
|
||||||
interface: "eth1"
|
interface: "eth1"
|
||||||
|
- port: "3478"
|
||||||
|
proto: tcp
|
||||||
|
interface: "eth1"
|
||||||
|
- port: "3478"
|
||||||
|
proto: any
|
||||||
|
interface: "eth1"
|
||||||
|
- port: "5349"
|
||||||
|
proto: any
|
||||||
|
interface: "eth1"
|
||||||
- port: "9101"
|
- port: "9101"
|
||||||
proto: tcp
|
proto: tcp
|
||||||
interface: "eth0"
|
interface: "eth0"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
systemctl stop haproxy
|
systemctl stop haproxy
|
||||||
certbot renew --standalone --cert-name neko.tormakristof.eu
|
certbot renew --standalone --cert-name neko.tormakristof.eu
|
||||||
|
certbot renew --standalone --cert-name turn.tormakristof.eu
|
||||||
systemctl start haproxy
|
systemctl start haproxy
|
||||||
|
@ -27,10 +27,14 @@
|
|||||||
name:
|
name:
|
||||||
- python3-certbot
|
- python3-certbot
|
||||||
|
|
||||||
- name: Generate certificate for all proxied domains
|
- name: Generate certificate for Neko domain
|
||||||
command:
|
command:
|
||||||
cmd: certbot certonly --non-interactive --agree-tos -m tormakristof@tormakristof.eu --standalone -d neko.tormakristof.eu
|
cmd: certbot certonly --non-interactive --agree-tos -m tormakristof@tormakristof.eu --standalone -d neko.tormakristof.eu
|
||||||
|
|
||||||
|
- name: Generate certificate for TURN domain
|
||||||
|
command:
|
||||||
|
cmd: certbot certonly --non-interactive --agree-tos -m tormakristof@tormakristof.eu --standalone -d turn.tormakristof.eu
|
||||||
|
|
||||||
- name: Enable and start haproxy
|
- name: Enable and start haproxy
|
||||||
service:
|
service:
|
||||||
name: haproxy
|
name: haproxy
|
||||||
|
Loading…
Reference in New Issue
Block a user