Guest Posted July 22, 2022 Report Share Posted July 22, 2022 Mam pytanie. Czy Fedora ma wbudowany Firewall? Instalowałem jakiś, ale trudny w obsłudze... Link to comment Share on other sites More sharing options...
Arpe Posted July 22, 2022 Report Share Posted July 22, 2022 ma firewall-cmd --help kilka przydatnych opcji: --state --get-active-zones --get-default-zone --list --get-services --list-all --list-ports --list-forward-ports --add-port=2575/tcp --zone=public [--permanent] --zone=public --add-masquerade --add-forward-port=port=222:proto=tcp:toaddr=172.x.x.x:toport=22 [--permanent] --reload dodanie do zaufanych firewall-cmd --zone=public --permanent --add-source=192.168.1.0/24 całkowite wyczyszczenie: firewall-cmd --zone=public --permanent --add-source=0.0.0.0/0 dobrej zabawy 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now