|
26 | 26 | # Kubelet API (port 10250) - bound to all IPv6 interfaces, needs cluster access |
27 | 27 | iptables -A INPUT -p tcp --dport 10250 -j ACCEPT |
28 | 28 |
|
29 | | - # kube-proxy (port 10256) - bound to all IPv6 interfaces, needs cluster access |
30 | | - # iptables -A INPUT -p tcp --dport 10256 -j ACCEPT |
31 | | -
|
32 | | - # Calico networking requirements |
33 | | - # Calico Typha (port 5473) - bound to all IPv6 interfaces, needs cluster access |
34 | | - iptables -A INPUT -p tcp --dport 5473 -j ACCEPT |
35 | | - |
36 | | - # VXLAN for overlay networking (port 4789 UDP) - bound to all interfaces |
37 | | - iptables -A INPUT -p udp --dport 4789 -j ACCEPT |
38 | | -
|
39 | | - # Calico metrics ports (29603, 29605) - bound to all IPv6 interfaces |
40 | | - # iptables -A INPUT -p tcp --dport 29603 -j ACCEPT |
41 | | - # iptables -A INPUT -p tcp --dport 29605 -j ACCEPT |
42 | | - |
43 | | - # BGP for node-to-node communication (port 179) - not in netstat but needed for Calico |
44 | | - iptables -A INPUT -p tcp --dport 179 -j ACCEPT |
45 | | - |
46 | | - # IP-in-IP protocol for Calico |
47 | | - # iptables -A INPUT -p 4 -j ACCEPT |
48 | | -
|
49 | | - # DHCP client (port 68 UDP) - for IP assignment |
50 | | - # iptables -A INPUT -p udp --dport 68 -j ACCEPT |
51 | | -
|
52 | | - # NTP (port 323 UDP) - for time synchronization |
53 | | - # iptables -A INPUT -p udp --dport 323 -j ACCEPT |
54 | | -
|
55 | | - # Allow ICMP for connectivity checks |
56 | | - # iptables -A INPUT -p icmp -j ACCEPT |
57 | | -
|
58 | 29 | # Allow traffic to Kubernetes service network (10.96.0.0/12) - required for pod-to-service communication |
59 | 30 | iptables -A OUTPUT -d 10.96.0.0/12 -j ACCEPT |
60 | 31 | iptables -A INPUT -s 10.96.0.0/12 -j ACCEPT |
|
0 commit comments