wiki:firewalld
Różnice
Różnice między wybraną wersją a wersją aktualną.
Poprzednia rewizja po obu stronachPoprzednia wersja | Nowa wersjaNastępna rewizja po obu stronach | ||
wiki:firewalld [2021/04/30 06:26] – lukasz | wiki:firewalld [2021/07/23 15:15] – lukasz | ||
---|---|---|---|
Linia 35: | Linia 35: | ||
firewall-cmd --permanent --zone=home --add-source=172.30.25.0/ | firewall-cmd --permanent --zone=home --add-source=172.30.25.0/ | ||
firewall-cmd --permanent --zone=home --add-service=ssh | firewall-cmd --permanent --zone=home --add-service=ssh | ||
+ | |||
+ | Utworzenie nowej strefy i dodanie do niej adresów ip: | ||
+ | |||
+ | firewall-cmd --permanent --new-zone=database | ||
+ | firewall-cmd --permanent --zone=database --add-source=192.168.100.50 | ||
+ | firewall-cmd --permanent --zone=database --add-source=192.168.100.51 | ||
Zastosowanie zmian: | Zastosowanie zmian: |
wiki/firewalld.txt · ostatnio zmienione: 2024/03/17 07:20 przez lukasz