Set default INPUT and FORWARD Chain in iptables to DROP #37
NanoCode012
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, one thing I noticed while I ssh-ed into a built OCI VM using cloudblock is that the INPUT chain in iptables is set to ACCEPT. May I ask if we could add the below to the
cloudblock_oci.yml
ansible playbook? Although OCI has their own firewall in front, the benefit is that if the VM is ever used for other purposes, the firewall gives the least amount of permissions, and the user does not need to think about this.I could open a PR for this if you would like. I am not sure if other providers have this issue as well because I do not have an account with them, but it would be great to add just as a precaution.
Source: https://docs.ansible.com/ansible/latest/collections/ansible/builtin/iptables_module.html#examples
Beta Was this translation helpful? Give feedback.
All reactions