CIS Hardened Image Level 1 on Ubuntu Linux Server 22.04 LTS
Center for Internet Security | 2.0.0.12Linux/Unix, Ubuntu 22.04 - 64-bit HAQM Machine Image (AMI)
If you want open port on this CIS image
http://medium.com/@venkateshprasaddasari/install-postgres-16-on-cis-ubuntu-22-04-056da68aee18
sudo apt-get update
apt install ufw
sudo apt-get install iptables-persistent
sudo nft insert rule inet filter input tcp dport {db_port} accept
sudo iptables -A INPUT -p tcp --dport {db_port} -m state --state NEW -j ACCEPT
sudo netfilter-persistent save
- Leave a Comment |
- Mark review as helpful
Is this image joke?
Pretty disappointed to see glaring syntax errors in /etc/pam.d/common-auth and /etc/security/faillock.conf, and these produce actual errors you can see in the system log.
My advice to anyone out there, don't trust these guys at CIS. They just in it for the money.
showing 1 - 2