Skip to content

Instantly share code, notes, and snippets.

@mysticaltech
Last active October 23, 2022 23:41
Show Gist options
  • Save mysticaltech/22f5ed5466c2372d69c82f5c743da3d6 to your computer and use it in GitHub Desktop.
Save mysticaltech/22f5ed5466c2372d69c82f5c743da3d6 to your computer and use it in GitHub Desktop.
Cloudflare Warp on Linux Fedora
Basically, to make it work and have it resolve DNS queries, you need to disable systemd-resolved as it monopolizes the /etc/resolv.conf file, more about this process here https://fedoraproject.org/wiki/Changes/systemd-resolved.
sudo systemctl disable systemd-resolved
sudo systemctl stop systemd-resolved
sudo bash -c 'mkdir -p /etc/systemd/system-preset && echo "disable systemd-resolved.service" >/etc/systemd/system-preset/20-systemd-resolved-disable.preset'
Then reboot, and don't worry it is normal that you do not have internet at that point. We need to delete an old symlink left over from systemd-resolved operations.
rm /etc/resolv.conf
Then finally
sudo vim /etc/resolv.conf
And paste in:
nameserver 1.1.1.1
nameserver 1.0.0.1
nameserver 2606:4700:4700::1111
nameserver 2606:4700:4700::1001
Then save and exit, internet will come back, and you will have a working Warp client. Enjoy!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment