doh on bazzite| portmaster

doh as in DNS over HTTPS Is there a way or method people use a doh client on Bazzite, at first I tried to get portmaster to work, its installed, but it doesn't open up and the proccess it does start closes after a few seconds. Does anyone know of a alternative to get doh network wide on bazzite? Or even getting port master working on bazzite?
No description
24 Replies
πŸ–€π”€π”¬π”±π”₯𝔦𝔠 π”«π”¬π”¦π”―πŸ–€
the method I used to install bazzite was via these commands after downloading portmaster from their website sudo rpm-ostree install portmaster-installer.rpm
Kyle Gospo
Kyle Gospoβ€’5mo ago
you can do DNS over TLS with systemd I don't use portmaster so I can't comment on how to make it work if layering isn't enough I think it has a service so make sure that's enabled and running
πŸ–€π”€π”¬π”±π”₯𝔦𝔠 π”«π”¬π”¦π”―πŸ–€
I will try that, but if anyone knows how to get portmaster working, do let me know :3
πŸ–€π”€π”¬π”±π”₯𝔦𝔠 π”«π”¬π”¦π”―πŸ–€
also I followed this article if anyone wants their system to default to a more private DNS on their system :3
zany130
zany130β€’5mo ago
portmaster can't run on imutables os's (only software I use that I haven't been able to get working on bazzite) it needs accses to alot of system files even after installing. there work on a nixos package though which could solve this https://github.com/NixOS/nixpkgs/pull/264454#issue-comment-box
GitHub
portmaster: init at 1.6.18; nixos/portmaster: init module by nyabi...
Description of changes Add Portmaster Module Add Portmaster Package Things done Built on platform(s) x86_64-linux aarch64-linux x86_64-darwin aarch64-darwin For non-Linux: Is sandboxing e...
HikariKnight
HikariKnightβ€’5mo ago
probably needs a lot of selinux rules we used to have doh enabled by default but it would not work for everyone (isp limitations) and would just prevent internet access or steam from updating
zany130
zany130β€’5mo ago
i remember trying with selinux set to permissive and it was still failing on something. there also a script online somewhere in the portmaster issues i think it was for installing portmaster completly in your home directory , but no idea how well that works. just search portmaster fedora atomic. Lot of pepole have tried getting working with no luck personaly I am ok waiting until there is a nix package
HikariKnight
HikariKnightβ€’5mo ago
well good luck with nix, it breaks selinux which is why we dont recommend it
zany130
zany130β€’5mo ago
ah didn't know that i usally leave se linux on permisive anyway because it breaks alot of the programs I use like vesktop
HikariKnight
HikariKnightβ€’5mo ago
vesktop works fine for me
Kyle Gospo
Kyle Gospoβ€’5mo ago
yeah same, no issues w/ vesktop here
zany130
zany130β€’5mo ago
https://github.com/Vencord/Vesktop/issues/770 still run it to it sometimes but it has been way less frequent since disabling se linux (where it was happening almost every boot). don't know if the appimage is anybetter
GitHub
[Bug] --enable-blink-features=MiddleClickAutoscroll causes vesktop ...
Discord Account zany130 Operating System Bazzite Linux Only ~ Desktop Environment KDE wayland Package Type Flatpak What happens when the bug or crash occurs? vesktop crashes on startup with --enabl...
zany130
zany130β€’5mo ago
this is the script i was talking about its achtually linked in safings documation for how to install portmaster on linux https://gist.github.com/WinkelCode/dffeb181a4c7903cbc463169324f61b8 you can install it with this oneliner. and since portmaster has a built in updater you don't need a package manager to keep it up to date just tried it and it works flawlessy
curl -sSL https://gist.githubusercontent.com/WinkelCode/dffeb181a4c7903cbc463169324f61b8/raw/36ff66c773ac82e3e1920169bff31281a872c33f/install_portmaster_to_var.sh | sudo bash
curl -sSL https://gist.githubusercontent.com/WinkelCode/dffeb181a4c7903cbc463169324f61b8/raw/36ff66c773ac82e3e1920169bff31281a872c33f/install_portmaster_to_var.sh | sudo bash
Gist
Work in progress
Work in progress. GitHub Gist: instantly share code, notes, and snippets.
πŸ–€π”€π”¬π”±π”₯𝔦𝔠 π”«π”¬π”¦π”―πŸ–€
so this one command will basically install portmaster for me? with no downsides(other than me running an immutable distro)
zany130
zany130β€’5mo ago
yeah though always be careful runing random scripts especially with sudo but looking through the script it seems fine. its pretty much the same as the these instructions for portmaster https://docs.safing.io/portmaster/install/linux#manual-install-and-launching just modifed to install into /var/ instead of /opt/
Install on Linux - Safing Docs
Documentation for Safing Portmaster
zany130
zany130β€’5mo ago
if you already tried overlaying portmaster with rpm-ostree you probably will have to remove it with sudo rpm-ostree remove portmaster
zany130
zany130β€’5mo ago
cool just reboot after that to finialize it and then run the script. after rebooting one last time you should have portmaster auto start when you login to the desktop
zany130
zany130β€’5mo ago
I had this issue when trying it on my system https://gist.github.com/WinkelCode/dffeb181a4c7903cbc463169324f61b8?permalink_comment_id=5148598#gistcomment-5148598 but removing all the --show-progress in the script fixed it for me
Gist
Work in progress
Work in progress. GitHub Gist: instantly share code, notes, and snippets.
Want results from more Discord servers?
Add your server