i have found the firewall tutorial page, using the iptables first and it works, but when i do the commands for firewallD, then have a error with every rule:
-bash: firewall-cmd: command not found
Do i need install (or only enable?) firewalld or maybe i dont need this rules and using the iptables rules only is enough?
yeah, but i have openvpn and opened 1194 port in my router. I found this page to make things more secure:
But the rules on that vpn/firewall page wasn't enough (pihole doesn't work anymore), then i found this page and it makes things mutch better again: Redirecting...
But ok, maybe i dont need the firewall-cmd rules anymore.