| Post Reply | RetroFed Forum Forum Index » Selfhosted |
| Author | Message | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
irmadlad
lemmy.world
irmadlad@lemmy.worldJoined: 2025-03-24 |
From time to time I like to review my network to see where I can tighten up. Review logs, check out the landscape, and make sure there are no gaps. Today, I have some downtime, so I figured it'd be a good for it. Since I am not a certified IT professional, this is what I have cobbled together reading, and seeing what others have done. I'd like to bounce this off you guys who are more experienced than I and get your impressions. If you have any recommendations, I'm always down to be schooled. So if you'd like to participate in my audit, I have a home network as follows:
How secure would you say this network is and give any recommendations to further harden the network besides keeping up with current updates, monitoring and auditing logs. Thanks |
||||||||||||||||
| 28 Original | |||||||||||||||||
drkt
scribe.disroot.org
drkt@scribe.disroot.orgJoined: 2024-11-05 |
Why disable IPv6? |
||||||||||||||||
| 10 | |||||||||||||||||
irmadlad
lemmy.world
irmadlad@lemmy.worldJoined: 2025-03-24 |
Why disable IPv6?
My commercial VPN does not do IPv6. I didn't want there to be any situation where any IPV6 traffic was leaked out because the VPN is not IPv6 compatible. That may be errant thinking on my part tho. If you see it a different way, I'd entertain your thoughts. |
||||||||||||||||
| 5 | |||||||||||||||||
drkt
scribe.disroot.org
drkt@scribe.disroot.orgJoined: 2024-11-05 |
My commercial VPN does not do IPv6. I didn't want there to be any situation where any IPV6 traffic was leaked out because the VPN is not IPv6 compatible. That may be errant thinking on my part tho. If you see it a different way, I'd entertain your thoughts.
No, that makes sense. I see a lot of people disable it because they assume it's inherently insecure. Just wanted to check if that was the reason. |
||||||||||||||||
| 3 | |||||||||||||||||
|
litchralee
sh.itjust.works
litchralee@sh.itjust.works Joined: 2023-07-02 |
My commercial VPN does not do IPv6. I didn't want there to be any situation where any IPV6 traffic was leaked out because the VPN is not IPv6 compatible. That may be errant thinking on my part tho. If you see it a different way, I'd entertain your thoughts.
The approach isn't invalid, but seeing as you already have the framework set up to deny all and log for IPv4, the same could be done with IPv6. That is to say, your router advertises an IPv6 gateway to the global internet, but you then reject it because your VPN doesn't support v6 (sadly). I specifically say reject, rather than drop, because you want that ICMP Unreachable (administratively prohibited) message to get returned to any app trying to use v6. That way, Happy Eyeballs will gracefully and quickly fall back to v6. Unless your containers have some exceptionally weird routing rules, v6 connections will only be attempted once, and will always use the route advertised. So if your router denies this attempt, your containers won't try again in a way that could leak. v6 leaks are more likely when there isn't even a route advertised. This makes your apps able to use v6, for that day when your VPN supports it, and so it's just a question of when the network itself can be upgraded. IMO, apps should always try for v6 first and the network (if it can't support it) will affirmatively reply that it can't, and then apps will gracefully fall back. This also benefits you by logging all attempted v6 traffic, to know how much of your stuff is actually v6-capable. And more data is always nice to have. |
||||||||||||||||
| 5 | |||||||||||||||||
irmadlad
lemmy.world
irmadlad@lemmy.worldJoined: 2025-03-24 |
The approach isn't invalid, but seeing as you already have the framework set up to deny all and log for IPv4, the same could be done with IPv6. That is to say, your router advertises an IPv6 gateway to the global internet, but you then reject it because your VPN doesn't support v6 (sadly). I specifically say reject, rather than drop, because you want that ICMP Unreachable (administratively proh...
I have no problem with IPv6, in fact it would probably be a bit more faster/streamlined since IPv6 has simpler headers, eliminates the need for NAT.....so direct addressing, and IPV6 has smaller routing tables. So, all in all, yes IPV6 would be more desirable. For the time being until, as you say, my sad VPN provider upgrades to IPv6, I figured it would be best to just disable it and wait. From what I can tell, there are only a small handful of reputable VPNs that support IPv6 like Proton and Mullvad. |
||||||||||||||||
| 1 | |||||||||||||||||
|
litchralee
sh.itjust.works
litchralee@sh.itjust.works Joined: 2023-07-02 |
because your VPN doesn’t support v6 (sadly) I have no problem with IPv6, in fact it would probably be a bit more faster/streamlined since IPv6 has simpler headers, eliminates the need for NAT.....so direct addressing, and IPV6 has smaller routing tables. So, all in all, yes IPV6 would be more desirable. For the time being until, as you say, my sad VPN provider upgrades to IPv6, I figured it wou...
Fair, though I personally don't let my ISP indirectly dictate what I do with my LAN. If I didn't already have a v6-enabled WAN, I would still manage my LAN using IPv6 private range addresses. There are too many benefits to me, like having VMs and containers be first-class citizens on my LAN, rather than sitting behind yet another layer of NAT. That lets me avoid port forwarding at the border of my home Kubernetes cluster (or formerly, my Docker Swarm), and it means my DNS names correctly resolve to a valid IP address that's usable anywhere on my network (because no NAT when inside the LAN). I will admit that NAT64 is kinda a drag to access v4-only resources like GitHub, but that's only necessary because they've not lit up support for v6 (despite other parts of their site supporting v6). This is my idea of being future-ready: when the future comes, I'm already there. |
||||||||||||||||
| 3 | |||||||||||||||||
|
Decronym
Bot
Decronym@lemmy.decronym.xyz Joined: 2026-01-05 |
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
6 acronyms in this thread; the most compressed thread commented on today has 7 acronyms. [Thread #116 for this comm, first seen 24th Feb 2026, 20:31] |
||||||||||||||||
| 1 | |||||||||||||||||
|
wabasso
lemmy.ca
wabasso@lemmy.ca Joined: 2025-01-07 |
Do you place any restrictions on the containers or the container daemon as a whole? Moreso asking so I can copy your settings. But I have had my server brought down just from the services themselves consuming too much memory or disk space, so something to look into if you haven’t already. |
||||||||||||||||
| 2 | |||||||||||||||||
|
frongt
lemmy.zip
frongt@lemmy.zip Joined: 2025-07-31 |
No scanning? External, internal, and host scans. I'd also set up a network traffic analyzer if you want to go really advanced. |
||||||||||||||||
| 5 | |||||||||||||||||
irmadlad
lemmy.world
irmadlad@lemmy.worldJoined: 2025-03-24 |
No scanning? External, internal, and host scans. I'd also set up a network traffic analyzer if you want to go really advanced.
I have chkrootkit, IPTraf-ng, and rkhunter doing daily scans. I use ntopng for traffic analysis. What would you recommend. |
||||||||||||||||
| 3 | |||||||||||||||||
irmadlad
lemmy.world
irmadlad@lemmy.worldJoined: 2025-03-24 |
Do you place any restrictions on the containers or the container daemon as a whole? Moreso asking so I can copy your settings. But I have had my server brought down just from the services themselves consuming too much memory or disk space, so something to look into if you haven’t already.
Server is utilizing a 8 TB SSD and 40 GB RAM. I can go into Portainer and regulate how much resources I allot to each container, however, I've never had any issues in that regard. Server generally hums along at 15-25% for around 75 different containers. |
||||||||||||||||
| 2 | |||||||||||||||||
irmadlad
lemmy.world
irmadlad@lemmy.worldJoined: 2025-03-24 |
Fair, though I personally don't let my ISP indirectly dictate what I do with my LAN. If I didn't already have a v6-enabled WAN, I would still manage my LAN using IPv6 private range addresses. There are too many benefits to me, like having VMs and containers be first-class citizens on my LAN, rather than sitting behind yet another layer of NAT. That lets me avoid port forwarding at the border of...
That is something to consider. Thanks. |
||||||||||||||||
| 1 | |||||||||||||||||
|
non_burglar
lemmy.world
non_burglar@lemmy.world Joined: 2023-06-16 |
No scanning? External, internal, and host scans. I'd also set up a network traffic analyzer if you want to go really advanced.
Op is running suricata |
||||||||||||||||
| 1 | |||||||||||||||||
|
non_burglar
lemmy.world
non_burglar@lemmy.world Joined: 2023-06-16 |
Running suricata on your wan interface is just generating a ton of noise and will be really confusing for you if you haven't reviewed packet inspection alerts before. Not a lot of value in it unless you have many users "phoning home". Just run it on the lan interface. Your approach of deny all until something complains is pretty much the most solid way to get a grip on security. I assess and recommend security practices for a living, and I would say the most important first step is understanding where your data lives and where it goes. Once you know that, the rest is relatively easy with the tools available to us. |
||||||||||||||||
| 4 | |||||||||||||||||
irmadlad
lemmy.world
irmadlad@lemmy.worldJoined: 2025-03-24 |
Running suricata on your wan interface is just generating a ton of noise and will be really confusing for you if you haven't reviewed packet inspection alerts before. Not a lot of value in it unless you have many users "phoning home". Just run it on the lan interface. Your approach of deny all until something complains is pretty much the most solid way to get a grip on security. I assess and re...
I've been told this before. I also acknowledge and appreciate your advice coming from a professional pov. However, here's the thing...my OCD would never allow me not to know. It would drive me up the wall not knowing. I get what you are saying, and you are right. It is my kryptonite not to know. It is a curse I can tell you. |
||||||||||||||||
| 1 | |||||||||||||||||
|
non_burglar
lemmy.world
non_burglar@lemmy.world Joined: 2023-06-16 |
I've been told this before. I also acknowledge and appreciate your advice coming from a professional pov. However, here's the thing...my OCD would never allow me not to know. It would drive me up the wall not knowing. I get what you are saying, and you are right. It is my kryptonite not to know. It is a curse I can tell you.
OK, well it's not harming anything, so if you're game to learn, by all means. When you look at traffic on a public interface, besides learning what to filter out that is just normal (probes, crawls, etc from legit sources), but you also will run into badly-formed TCP traffic: Martian packets: https://en.wikipedia.org/wiki/Martian_packet How RPC works: https://pentest.co.uk/labs/research/researching-remote-procedure-call-rpc-vulnerabilities/ That should help clarify a lot of what you'll see in traffic on your segment. You may also want to briefly read about how CDNs work, you'll see a lot of akamai and cloudflare traffic too. |
||||||||||||||||
| 2 | |||||||||||||||||
|
Archer
lemmy.world
Archer@lemmy.world Joined: 2023-06-12 |
As a certified IT professional I can tell you I’d much rather have a coworker who got down in the weeds and did things. Anyone can pick up a cert, that’s resume padding. Operational experience is the real prize |
||||||||||||||||
| 5 | |||||||||||||||||
irmadlad
lemmy.world
irmadlad@lemmy.worldJoined: 2025-03-24 |
OK, well it's not harming anything, so if you're game to learn, by all means. When you look at traffic on a public interface, besides learning what to filter out that is just normal (probes, crawls, etc from legit sources), but you also will run into badly-formed TCP traffic: Martian packets: https://en.wikipedia.org/wiki/Martian_packet IP spoofing: https://en.wikipedia.org/wiki/IP_address_spoo...
Thank you for the links and guidance. I will definitely read those. Yeah I do see a lot of things like:
So, since I am working within the framework of my own personal shortcomings and have to know, I research them to find out why they get triggered. That way I don't freak out over them A lot of them are benign and due to normal occurrences between server and user. |
||||||||||||||||
| 1 | |||||||||||||||||
irmadlad
lemmy.world
irmadlad@lemmy.worldJoined: 2025-03-24 |
As a certified IT professional I can tell you I’d much rather have a coworker who got down in the weeds and did things. Anyone can pick up a cert, that’s resume padding. Operational experience is the real prize
Perhaps, but I've found that HR likes paper tigers. LOL Not discounting anyone's hard work at all. I do learn from others more knowledgeable than I. I've had a computer of some sort in front of me since the mid 70s with the Altair. Don't mistake longevity with knowledge tho. What little I do know came from reading, doing, screwing it up, rinse, repeat ad nauseam until success, and then write that shit down because it will come up again more than likely. |
||||||||||||||||
| 3 | |||||||||||||||||
|
wabasso
lemmy.ca
wabasso@lemmy.ca Joined: 2025-01-07 |
I have had my server brought down just from the services themselves consuming too much memory or disk space Server is utilizing a 8 TB SSD and 40 GB RAM. I can go into Portainer and regulate how much resources I allot to each container, however, I've never had any issues in that regard. Server generally hums along at 15-25% for around 75 different containers.
Awesome! You’re making me want to give Portainer another go. I’m running a potato pi with 0.5 TB and 8 GB RAM so…slightly different situation here :P |
||||||||||||||||
| 2 | |||||||||||||||||
irmadlad
lemmy.world
irmadlad@lemmy.worldJoined: 2025-03-24 |
Awesome! You’re making me want to give Portainer another go. I’m running a potato pi with 0.5 TB and 8 GB RAM so…slightly different situation here :P
It doesn't really matter if you're running a pi or a full stack rack in the closet, it's all good. I use Portainer because I learned how to drive that bus and it just seemed to click with me so I kept it. There are other similar and even better options out there. |
||||||||||||||||
| 2 | |||||||||||||||||
|
Archer
lemmy.world
Archer@lemmy.world Joined: 2023-06-12 |
Operational experience is the real prize Perhaps, but I've found that HR likes paper tigers. LOL Not discounting anyone's hard work at all. I do learn from others more knowledgeable than I. I've had a computer of some sort in front of me since the mid 70s with the Altair. Don't mistake longevity with knowledge tho. What little I do know came from reading, doing, screwing it up, rinse, repeat ad...
You’re ahead of an alarming number of my colleagues by just trying until you can get it working then documenting things |
||||||||||||||||
| 2 | |||||||||||||||||
irmadlad
lemmy.world
irmadlad@lemmy.worldJoined: 2025-03-24 |
You’re ahead of an alarming number of my colleagues by just trying until you can get it working then documenting things
I have to document. At 71, with a TBI, my brain is not what it used to be. Sometimes I don't even remember what I had for breakfast. LOL |
||||||||||||||||
| 2 | |||||||||||||||||
| Post Reply |
Back to top |