enable and configure kadnode when the systems hostname ends with .p2p
refactor firewall code into an own function