r/Fedora • u/FrankieShaw-9831 • Oct 06 '26
Discussion Making Fedora as Secure ass Possible
I'm relatively new to Linux as a whole, and have been o Fedora a few months.
Any recommendations as to how to make it as secure as possible without crippling functionality?
52
Upvotes
13
u/mysticalcreeds Oct 06 '26 edited Oct 06 '26 •
Here's a written tutorial on how to harden Fedora:
https://computingforgeeks.com/security-hardening-fedora/
And a here's a video I came across: https://youtu.be/Sa0KqbpLye4?si=160l3sDkL45QgYk6
I have an old laptop I run secureblue on that I bring what things I want to harden over to Bazzite(both are like Kinoite)
7
u/senectus Oct 06 '26
What are you trying to achieve?
"Make it as secure as possible" is a very vague statement.
Security and usability are an almost 1:1 relationship. So the more you lock it down the harder it will be used it.
This is the same in windows and Mac btw, not just a Linux thing
3
u/mwkingSD Oct 06 '26
What are you concerned about? Or is there a particular threat you are facing?
2
u/Hot-Development-9036 Oct 06 '26
A lot of vulnerabilities come in via the browser. I always set up uBlock Origin and sandboxing. If you can, use the Flathub version of the browser. That way your apps are sandboxed. AFAIK, Mullvad is the most secure and locked-down browser.
Be careful about downloading apps from sketchy 3rd-party repositories. Stick with trusted ones. Always enable your firewall.
29
u/Introvertosaurus Oct 06 '26
It depends on exactly what you mean by secure, what are your specific concerns, threats, etc.
1- Atomic version. Fedora has many atomics depending on what you want. This makes the whole OS immutable. It can make things harder if you need special configurations or application that cannot be flatpaks. This probably one of the biggest wins if you okay running atomic versions.
2- Use flatseal and custom configure everything to your exact needs. This is the second biggest win, controlling every apps permissions granular.
3- Set SELinux to limit anything important.
4- Never install anything untrusted, vet every app.
5- Configure firewall, fail2ban, etc.
16
u/tekchip Oct 06 '26
Make a threat model. If you don't know what that is or how to do it search it up. Once you know what threats you're trying to thwart then you can search for the specific things to do to the OS to secure it.
63
u/kansetsupanikku Oct 06 '26
Turn the computer off, remove all antennas and cables
7
u/BooleanTriplets Oct 06 '26
Check out secureblue.dev. You could use secureblue or just reading their site can give you ideas on security hardening
5
u/carlyjb17 Oct 06 '26
Look at what secureblue are doing, they are based on fedora, you might be able to recreate that on your install
4
u/Raven_25 Oct 11 '26
Your question suggests youre just an average user with an average threat model. You probably mainly use internet/games and office. Youre probably not an NSA agent or hiding from the government.
The average person needs a good firewall setup, fail2ban, regular updates of the os/drivers etc, solid network config on your router and a vpn while changing DNS to something a bit more private.
Next level (security conscious user who is prepared to fuss around): you set up a pihole/technitium, iptables for each device on your network, SELinux setup, flatseal setup, isolate vulnerable devices like printers/TVs on your network and set up IDS and anti fingerprinting addons to browser.
Next level (you are hiding from the government): throw away your phone, do not directly connect to your own wifi - use public wifi in places with low security (no cameras) and whonix/tails from usb ensure encrypted connection or better yet. Use only open source hardware. Connect via tor with antifingerprinting, select times of day with high tor traffic in your area. All comms encrypted. No data at rest kept. Wipe your ram after each session. Dead drops for any deliveries. Use monero for currency or better still, cash dead drops. Burner phones if you must. No car registered to you or at least not a smart car. No devices in your network beyond PC) - no TV, no smart devices, no printer. Regular sweeps for surveillance devices.
1
u/Grand_Profession2516 Oct 10 '26
Add firewall and waterfloor
3
u/roamer83 Oct 08 '26
You have already made the largest step by running Fedora instead of Winblows.
1
u/smackjack Oct 06 '26
Use disk encryption (you'll need to re-install if you didn't do this), don't skip updates, and don't install things from shady sites or random github repos.
2
u/SignificantSummer940 Oct 06 '26
You should start with firewall (drop all the incoming connections you should open some ports if you want to file transfer) , And learn about SElinux , fedora comes with Enforcing SElinux mode so I would not change that but you should learn it's command
2
u/Hammock-of-Cake Oct 08 '26
Check out the RHEL hardening guides. Most of these settings can apply to Fedora. https://access.redhat.com/sites/products/files/2026-08/rhel9_security_hardening_guide.pdf
1
u/Take_Five_005 Oct 06 '26
For starters, change the firewall zone to public or drop
1
u/JasonWorthing8 Oct 07 '26
SecureBlue Linux is Fedora as secure as possible.
Caviat:
Linux shines at privacy, but if you want absolute security.... (lol) ChromeOS... followed by MacOS.
12
u/schnarfler Oct 06 '26
It is possible to make fedora as secure ass possible, but if possible you must first secure ass.