Update firewalld commands
All checks were successful
Build and deploy / Build (push) Successful in 4m35s

This commit is contained in:
Evrard Van Espen
2025-11-27 11:03:03 +00:00
parent 301d8a2f07
commit 6e417e4ba4

View File

@@ -649,6 +649,11 @@ Pour cela j'ai utilisé les commandes suivantes :
firewall-cmd --zone=trusted --add-forward-port=port=8443:proto=tcp:toport=30443:toaddr=10.1.1.100 --permanent firewall-cmd --zone=trusted --add-forward-port=port=8443:proto=tcp:toport=30443:toaddr=10.1.1.100 --permanent
firewall-cmd --zone=trusted --add-forward-port=port=30022:proto=tcp:toport=30022:toaddr=10.1.1.100 --permanent firewall-cmd --zone=trusted --add-forward-port=port=30022:proto=tcp:toport=30022:toaddr=10.1.1.100 --permanent
firewall-cmd --reload firewall-cmd --reload
firewall-cmd --zone=FedoraServer --add-forward-port=port=30080:proto=tcp:toport=30080:toaddr=10.1.1.100 --permanent
firewall-cmd --zone=FedoraServer --add-forward-port=port=30443:proto=tcp:toport=30443:toaddr=10.1.1.100 --permanent
firewall-cmd --zone=FedoraServer --add-forward-port=port=30022:proto=tcp:toport=30022:toaddr=10.1.1.100 --permanent
firewall-cmd --reload
#+END_SRC #+END_SRC
L'adresse /IP/ =10.1.1.100= correspond à la machine virtuelle =kube-main=. L'adresse /IP/ =10.1.1.100= correspond à la machine virtuelle =kube-main=.