srv_dante
ivansible.srv_dante
This role installs dante proxy server on linux, configures authentication and IPv6 support (see https://www.inet.no/dante/doc/1.4.x/config/ipv6.html).
Requirements
Dante supports authentication starting from version 1.4.1
only.
On ubuntu 18.04 bionic (and later), the dante-server universe package is used.
On ubuntu 16.04 xenial, the bionic .deb file is installed (through pain and workarounds), since official package is the old 1.1.9.
Variables
Available variables are listed below, along with default values.
dante_port: 1080
dante_direct: true
If direct is true, the port will be enabled in ubuntu firewall. If not, you should configure another service to enable indirect access to this port.
dante_external_addr: ...
The address to be used for outgoing connections.
Can be set as either an IP address or an interface name.
By default this is ansible_default_ipv4.address
, but you can
set it as ansible_default_ipv4.interface
(eg. eth0
) or whatever you like.
This can be a string or list of strings.
dante_user: dante_socks
Note: dante username must start with 'dante_' because it's a global linux user
dante_pass: secret
dante_salt: `random_string`
Password and salt.
dante_verbose_log: false
Enables verbose logging (see https://www.inet.no/dante/doc/1.4.x/config/logging.html).
dante_service_boot_fix: false
Makes dante service restart after boot problems.
Tags
srv_dante_user
srv_dante_conf
srv_dante_install
srv_dante_service
srv_dante_firewall
srv_dante_syslog
srv_dante_all
Dependencies
None
Example Playbook
- hosts: vag1
roles:
- role: ivansible.srv_dante
dante_port: 3128
License
MIT
Author Information
Created in 2018-2020 by IvanSible