Firewall: How to root an Android?

I have recently installed avasr on my Samsung. When i tried to activate firewall, a notificatio message that advises of permissions were needed and that I was to root my device. How do I go about rooting in order to give permissions so I can activate this function?

Thanks

Wrong forum section, use >> Avast Mobile Apps

https://forum.avast.com/index.php?board=66.0