mirror of
https://github.com/konstruktoid/hardening.git
synced 2026-04-27 17:55:59 +03:00
[GH-ISSUE #336] [Question] UFW firewall rules. #76
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Cronvs on GitHub (Oct 29, 2023).
Original GitHub issue: https://github.com/konstruktoid/hardening/issues/336
Originally assigned to: @konstruktoid on GitHub.
The following code is used in the ufw script:
Would the first rule for ipv4 and 6 not cover both cases, with established and related already included?
Am I missing something?
Another thing why explicitly deny 127.0.0.0/8 if default is deny?
I feel like there is something I am missing here.
@konstruktoid commented on GitHub (Oct 29, 2023):
Hi @Xavantex, you are corrrect. Setting default deny does deny it as well, but it's to make sure (you might not want to deny by default) we configure the loopback interface to accept traffic and configure all other interfaces to deny traffic to the loopback networks.
This is also an requirement for the CIS Ubuntu benchmark (3.4.1.4).