mullvadrc, change how the muting is done.

This commit is contained in:
me committed 2026-11-23 09:56:52 -07:00
1 parent 2ecd879efe
commit 9c0e16bd0f
1 file changed
+25 -17
+25 -17
View File
@@ -149,26 +149,34 @@
# This file is managed by Ansible. # This file is managed by Ansible.
# env-ansible/tasks/workstation/linux/software/vpn.yml # env-ansible/tasks/workstation/linux/software/vpn.yml
{ # Mute STDOUT, saving it in FD3.
mullvad lan set allow # This allows Docker to forward ports to localhost! if [[ -z $DEBUG && -z $VERBOSE ]]; then
mullvad tunnel set ipv6 on exec 3>&1 1>/dev/null
fi
# 2026-11-22 mullvad lan set allow # This allows Docker to forward ports to localhost!
# Mullvad closed their DNS servers November 2nd 2026, and mid November mullvad tunnel set ipv6 on
# the internal DNS stopped recognizing my subdomains, so switching from
# Mullvad DNS completely to test out a few other providers.
#mullvad dns set default --block-ads --block-trackers --block-malware --block-gambling --block-adult-content --block-social-media
mullvad dns set custom {{ dns_controld_all }} {{ dns_controld_family }} {{ dns_adguard_family }} {{ dns_cloudflare_family }} # {{ dns_controld_ads }} {{ dns_adguard_ads }} {{ dns_quad9_malware }} {{ dns_controld_malware }} {{ dns_cloudflare_malware }} {{ dns_quad9_noblock }} {{ dns_adguard_noblock }} {{ dns_controld_noblock }} {{ dns_cloudflare_noblock }}
mullvad auto-connect set on # 2026-11-22
mullvad lockdown-mode set on # Mullvad closed their DNS servers November 2nd 2026, and mid November
mullvad beta-program set off # the internal DNS stopped recognizing my subdomains, so switching from
# Mullvad DNS completely to test out a few other providers.
#mullvad dns set default --block-ads --block-trackers --block-malware --block-gambling --block-adult-content --block-social-media
mullvad dns set custom {{ dns_controld_all }} {{ dns_controld_family }} {{ dns_adguard_family }} {{ dns_cloudflare_family }} # {{ dns_controld_ads }} {{ dns_adguard_ads }} {{ dns_quad9_malware }} {{ dns_controld_malware }} {{ dns_cloudflare_malware }} {{ dns_quad9_noblock }} {{ dns_adguard_noblock }} {{ dns_controld_noblock }} {{ dns_cloudflare_noblock }}
# Ensure system is connected if network is available. mullvad auto-connect set on
#mullvad disconnect mullvad lockdown-mode set on
#wifi off mullvad beta-program set off
#reconnect >/dev/null 2>&1 &
} 1>/dev/null # Ensure system is connected if network is available.
#mullvad disconnect
#wifi off
#reconnect >/dev/null 2>&1 &
# Unmute STDOUT by restoring with FD3.
if [[ -z $DEBUG && -z $VERBOSE ]]; then
exec 1>&3
fi
[[ $(whoami) != "root" ]] && [[ $(whoami) != "root" ]] &&
echo "`date` - Ansible .mullvadrc loaded successfully!" echo "`date` - Ansible .mullvadrc loaded successfully!"