default install firewall rules blocks access to the API #19

Closed
opened 2024-03-13 16:49:43 +00:00 by jon_nfc · 4 comments
jon_nfc commented 2024-03-13 16:49:43 +00:00 (Migrated from gitlab.com)

The default install of firewall rules block pods from accessing the API. the pod subnet needs to be added to the default rules.

work around

# Set input and forward table policy to accept
iptables --policy INPUT ACCEPT
iptables --policy FORWARD ACCEPT

NOTE: The above iptables commands open the firewall up to all ports. Don't use these commands on a production system.

The default install of firewall rules block pods from accessing the API. the pod subnet needs to be added to the default rules. ### work around ``` bash # Set input and forward table policy to accept iptables --policy INPUT ACCEPT iptables --policy FORWARD ACCEPT ``` **NOTE:** _The above iptables commands open the firewall up to all ports. Don't use these commands on a production system._
jon_nfc commented 2024-03-13 16:49:44 +00:00 (Migrated from gitlab.com)

added 5m of time spent

added 5m of time spent
jon_nfc commented 2024-03-18 09:47:52 +00:00 (Migrated from gitlab.com)

assigned to @jon_nfc

assigned to @jon_nfc
jon_nfc commented 2024-03-18 09:48:06 +00:00 (Migrated from gitlab.com)

mentioned in commit ec94414383

mentioned in commit ec94414383f514a033e42bf7c48a944251a5df27
jon_nfc (Migrated from gitlab.com) closed this issue 2024-03-18 10:00:50 +00:00
jon_nfc commented 2024-03-18 10:00:51 +00:00 (Migrated from gitlab.com)

mentioned in commit 17ff472577

mentioned in commit 17ff4725773f33bb74c338fb6c8cb8c49d9c2b7e
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ansible-collections/kubernetes#19
No description provided.