Resource Types - ezra-buckingham/terry-the-terraformer Wiki

Bare

Bare server

Teamserver

Teamserver

Redirector

Since the redirectors are very commonly used tools that have been adapted to fit our needs, there is additional information that is needed when configuring and setting up a DNS redirector.

HTTPS Redirector

The default configuration of the HTTPS redirector is to use Apache2 as a reverse proxy, with the proxy values being defined in the /var/www/html/.htaccess file. Additionally, if there is an A record defined in the Ansible inventory file, Terry will install certbot to the server and automatically attempt to install a self-signed SSL certificate.

DNS Redirector

Inside of the setup-redirector.yml file are variables that are used to tell the script what kind of redirectors to install. Once installed, the redirector will be installed as a service named dns-redirector.service and will be started automatically. In order to change the IP and port to redirect, change the /opt/socat/dns-redirector.conf file and then restart the dns-redirector.service service.

systemctl restart dns-redirector.service

Lighthouse

Lighthouse

Mailserver

Mailserver