Skip to content

Commit

Permalink
Removes openvpn_dns_servers variable
Browse files Browse the repository at this point in the history
  • Loading branch information
nkakouros committed Sep 2, 2020
1 parent 35bd757 commit f91a29f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,6 @@ openvpn_nat_address: "{{ ansible_default_ipv4.address }}"
# - 192.168.0.0 255.255.255.0
# - 192.168.10.0 255.255.255.0
openvpn_route_ranges: []

# DNS servers to push to the connecting client to avoid leaks via DNS queries.
openvpn_dns_servers: []
# }}}
# Clients {{{
openvpn_clients:
Expand Down
4 changes: 0 additions & 4 deletions templates/server.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,6 @@ script-security 3 execve
crl-verify {{ openvpn_keydir }}/crl.pem
{% endif %}

{% for dns in openvpn_dns_servers %}
push "dhcp-option DNS {{ dns }}"
{% endfor %}

{% for push_route in openvpn_route_ranges %}
push "route {{ push_route }}"
{% endfor %}

0 comments on commit f91a29f

Please sign in to comment.