this post was submitted on 11 Oct 2023
284 points (96.1% liked)

Linux

48222 readers
902 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hello fellow Linux enthusiasts!

As many of you know, Linux can be a powerful and flexible operating system, but it can also be daunting for new users, especially when it comes to securing their systems. With the abundance of information available online, it's easy to get overwhelmed and confused about the best practices for firewall configuration and basic security.

That's why I reaching out to the Linux community for help. I am looking users who are willing to share their expertise and write a comprehensive guide to Linux firewall and security.

The goal of this guide is to provide a centralized resource that covers the following topics:

Introduction to Linux firewalls (e.g., firewalld, ufw, etc.)
Understanding basic security principles (e.g., ports, protocols, network traffic)
Configuring firewalls for various scenarios (e.g., home networks, servers, VPNs)
Best practices for securing Linux systems (e.g., password management, package updates, file permissions)
Troubleshooting common issues and errors
Advanced topics (e.g., network segmentation, SELinux, AppArmor)

I am looking for a well-structured and easy-to-follow guide that will help new users understand the fundamentals of Linux firewall and security, while also providing advanced users with a comprehensive resource for reference.

If you're interested in contributing to this project, please reply to this post with your experience and expertise in Linux firewall and security. We'll be happy to discuss the details and work together to create a high-quality guide that benefits the Linux community.

Thank you for your time and consideration, and im looking forward to hearing from you!

you are viewing a single comment's thread
view the rest of the comments
[–] captain_aggravated@sh.itjust.works 2 points 1 year ago (1 children)

"From that one many cables into another switch" as in, you used more than one cable to plug one switch into another? Yeah that won't work. Ethernet doesn't like that kind of thing.

It is valid to connect one switch to another if you need more ethernet ports, but you would connect them with one cable. The best way to do it if possible would be to connect each switch to a port on the router,

[–] Pantherina@feddit.de 1 points 1 year ago* (last edited 1 year ago) (1 children)

Hmm no sorry.

One ethernet cable going down from the router

Two switches, both plugged into power supplies

The ethernet cable goes into the first switch and out go 8 seperate ones. But these dont directly go to the rooms, but to the second switch first, one in one out each and into the rooms.

Yes what you described makes sense. I just removed a switch but now nothing is working which is weird. Will have to test plugging in at each step to see where the failure point is

[–] captain_aggravated@sh.itjust.works 1 points 1 year ago (1 children)

I think I would have to see a drawing of this.

[–] Pantherina@feddit.de 1 points 1 year ago (1 children)

Understandable, here you go.

I dont get the purpose of switch 2, both are plugged into electricity so seem to be active.

[–] captain_aggravated@sh.itjust.works 1 points 1 year ago (1 children)

Huh. Yeah that's some bizarre network architecture right there. It shouldn't be necessary to connect two boxes with multiple wires like that, and in fact it shouldn't work at all. You're saying it doesn't work if you remove one of the switches? There's something odd going on there, like these are probably managed switches with some odd configuration happening. If you figure out exactly what it is, let me know, because I think it'd be an interesting learning opportunity.

[–] Pantherina@feddit.de 1 points 1 year ago

Yeah... problem is I am the only one caring at all and the rest exists since forever and nobody knows anything. Currently Ethernet didnt work at all so I resetted the router, will check the model numbers of the switches