After transferring data. I will close all PORTs.
That usually makes no sense, since afterwards you can do more or less nothing with your server.
Hi I configure like this can be called safe yet?
Nobody can tell you, since the rules are in special chains, and nobody knows, when they are called and what happens in the default chains. And I have no idea, what this firewall daemon does. Typically, such frameworks create a set of complex rules and chains that no one can understand.