Skip to content

Commit

Permalink
Set OpenNIC dns for wg-easy
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayurifag committed Nov 3, 2024
1 parent 94b20f7 commit d9fabe6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion roles/wireguard/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@
- NET_ADMIN
- SYS_MODULE
memory: "{{ wireguard_memory }}"
# Last DNS is from OpenNIC for *.lib domains, etc.
env:
"PASSWORD_HASH": "{{ wireguard_password_hash }}"
"WG_HOST": "{{ wireguard_subdomain }}.{{ server_hostname }}"
"WG_DEFAULT_DNS": "1.1.1.1, 8.8.8.8, 8.8.4.4"
"WG_DEFAULT_DNS": "1.1.1.1, 8.8.8.8, 195.10.195.195"
"LANG": "en"
"PORT": "51821"
"WG_PORT": "51820"
Expand Down

0 comments on commit d9fabe6

Please sign in to comment.