You can do this, but you would need to consult the usual linux firewall rules and so on. It is too complex to have in the simple UI, needs to be done manually.
Something like this might help: