Compare commits

...

4 Commits

Author SHA1 Message Date
Aminda Suomalainen a581ee2dd5
rm etc/sysctl.d/99-enable-ipv6.conf
Refer to crontab, yggdrasil.service.d and nordvpn.service.d
2024-03-29 08:57:35 +02:00
Aminda Suomalainen 323dde1545
{firefox, chromium}: force install privacy pass
This is in hopes of reducing family member frustation with captchas should they happen
2024-03-29 08:32:44 +02:00
Aminda Suomalainen a743cde9f5
add another yggdrasil/nordvpn hack to root's crontab 2024-03-29 08:30:29 +02:00
Aminda Suomalainen 1d05061bb4
hack nordvpnd to work with yggdrasil 2024-03-29 07:58:44 +02:00
7 changed files with 20 additions and 9 deletions

View File

@ -87,7 +87,7 @@
},
"{48748554-4c01-49e8-94af-79662bf34d50}": {
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/privacy-pass/latest.xpi",
"installation_mode": "normal_installed"
"installation_mode": "force_installed"
},
"{6a65273e-2b26-40f5-b66e-8eed317307da}": {
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/new-tab-suspender/latest.xpi",

View File

@ -20,7 +20,7 @@
},
"ExtensionSettings": {
"ajhmfdgkijocedmfjonnpjfojldioehi": {
"installation_mode": "normal_installed",
"installation_mode": "force_installed",
"override_update_url": true,
"toolbar_pin": "default_unpinned",
"update_url": "https://clients2.google.com/service/update2/crx"

View File

@ -2,3 +2,6 @@
%nordvpn ALL=NOPASSWD: /bin/systemctl stop nordvpnd.service
%nordvpn ALL=NOPASSWD: /bin/systemctl start nordvpnd.service
%nordvpn ALL=NOPASSWD: /bin/systemctl restart nordvpnd.service
# used in my scripts and nordvpn.service.d and yggdrasil.service.d to ensure
# it works
%nordvpn ALL=NOPASSWD: /bin/systemctl restart yggdrasil.service

View File

@ -1,7 +0,0 @@
# This is only required because of NordVPN
net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0
net.ipv6.conf.lo.disable_ipv6 = 0
net.ipv6.conf.tun0.disable_ipv6 = 0
net.ipv6.conf.nordlynx.disable_ipv6 = 0
net.ipv6.conf.yggdrasil.disable_ipv6 = 0

View File

@ -0,0 +1,4 @@
# nordvpnd disables IPv6 which Yggdrasil depends on, so let's restart it.
# Note ../yggdrasil.service.d/ enabling IPv6 for all interfaces.
[Service]
ExecStartPost=systemctl restart yggdrasil.service --quiet

View File

@ -0,0 +1,7 @@
# nordvpnd disables IPv6 for all interfaces and thus breaks Yggdrasil. This
# override gives yggdrasil.service two chances to ensure IPv6 is enabled.
[Service]
ExecStartPre=sysctl net.ipv6.conf.all.disable_ipv6=0
ExecStartPost=sysctl net.ipv6.conf.all.disable_ipv6=0
# I cannot use this as the interface won't exist until Yggdrasil starts
#ExecStartPost=sysctl net.ipv6.conf.yggdrasil.disable_ipv6=0

View File

@ -6,4 +6,8 @@
@reboot /usr/sbin/duperemove -rdhq --hashfile=/root/flatpak.hash /var/lib/flatpak
@reboot /usr/sbin/duperemove -rdhq --hashfile=/root/snap.hash /var/lib/snapd
# Another attempt at ensuring Yggdrasil works with nordvpnd
@reboot /usr/bin/sleep 300 && /usr/sbin/sysctl net.ipv6.conf.all.disable_ipv6=0
@reboot /usr/bin/sleep 315 && /usr/bin/systemctl systemctl restart yggdrasil.service --quiet
# vim: filetype=crontab