xarx Posted July 22 Report Share Posted July 22 Mam pytanie. Czy Fedora ma wbudowany Firewall? Instalowałem jakiś, ale trudny w obsłudze... Quote Link to comment Share on other sites More sharing options...
Arpe Posted July 22 Report Share Posted July 22 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 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.