Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
ansible-restund/templates/restund.conf.j2
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
46 lines (39 sloc)
1.84 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # core | |
| daemon no | |
| debug no | |
| realm dummy.io | |
| syncinterval 600 | |
| udp_listen {{ hostvars[inventory_hostname]['ansible_' + restund_network_interface].ipv4.address }}:{{ restund_udp_listen_port }} | |
| udp_sockbuf_size 524288 | |
| tcp_listen {{ hostvars[inventory_hostname]['ansible_' + restund_network_interface].ipv4.address }}:{{ restund_tcp_listen_port }} | |
| {% if restund_tls_certificate is defined %} | |
| tls_listen {{ hostvars[inventory_hostname]['ansible_' + restund_network_interface].ipv4.address }}:{{ restund_tls_listen_port }},/usr/local/etc/restund/restund.pem | |
| {% endif %} | |
| # modules | |
| module_path /usr/local/lib/restund/modules | |
| module stat.so | |
| module drain.so | |
| module binding.so | |
| module auth.so | |
| module turn.so | |
| module zrest.so | |
| module status.so | |
| # auth | |
| auth_nonce_expiry 3600 | |
| # turn | |
| turn_max_allocations 64000 | |
| turn_max_lifetime 3600 | |
| turn_relay_addr {{ hostvars[inventory_hostname]['ansible_' + restund_network_interface].ipv4.address }} | |
| {% if restund_peer_udp_advertise_addr is defined and hostvars[inventory_hostname]['ansible_' + restund_network_interface].ipv4.address != restund_peer_udp_advertise_addr %} | |
| # turn_public_addr is an IP which must be reachable for UDP traffic from other restund servers (and from this server itself). If unset, defaults to 'turn_relay_addr' | |
| turn_public_addr {{ restund_peer_udp_advertise_addr }} | |
| {% endif %} | |
| # syslog | |
| syslog_facility 24 | |
| # status | |
| status_udp_addr 127.0.0.1 | |
| status_udp_port {{ restund_udp_status_port }} | |
| status_http_addr 127.0.0.1 | |
| status_http_port {{ restund_http_status_port }} | |
| # zrest | |
| zrest_secret {{ restund_zrest_secret }} |