ivansible.srv_dante
ivansible.srv_dante
This role installs the Dante proxy server on Linux and sets up authentication and IPv6 support (see https://www.inet.no/dante/doc/1.4.x/config/ipv6.html).
Requirements
Dante requires version 1.4.1
or newer for authentication.
On Ubuntu 18.04 and later, you can install the dante-server package from the universe repository.
On Ubuntu 16.04, you need to install the bionic .deb file using some workarounds because the official package is an older version (1.1.9).
Variables
Here are the variables you can use, along with their default values:
dante_port: 1080
This is the port used by the Dante server. If dante_direct is true, this port will be open in the Ubuntu firewall. If false, you'll need to set up another service for indirect access.dante_external_addr: ...
This is the address for outgoing connections. It can be an IP address or an interface name. It defaults toansible_default_ipv4.address
, but you can change it toansible_default_ipv4.interface
(likeeth0
) or any other value. It can be a single string or a list of strings.dante_user: dante_socks
The username for Dante must start with 'dante_' because it’s a global Linux user.dante_pass: secret
Password for the dante user.dante_salt:
random_string
A salt value for the password.dante_verbose_log: false
This enables detailed logging (see https://www.inet.no/dante/doc/1.4.x/config/logging.html).dante_service_boot_fix: false
This makes the Dante service try to restart if there are problems after booting.
Tags
srv_dante_user
srv_dante_conf
srv_dante_install
srv_dante_service
srv_dante_firewall
srv_dante_syslog
srv_dante_all
Dependencies
There are no dependencies.
Example Playbook
- hosts: vag1
roles:
- role: ivansible.srv_dante
dante_port: 3128
License
MIT
Author Information
Created by IvanSible between 2018 and 2020.
ansible-galaxy install ivansible.srv_dante