How to block port 25 by default and unblock per IP on case basis?

somnath31

Member
Oct 9, 2020
13
0
6
32
Hello!
Is there any way to block port 25 by default and only open for particular IP whenever I want?

I want something like this

Block port 25 by default, so even in future a new vm create will have port 25 blocked by default as well.

And if I want to unblock the port 25 for a particular vm, I can unblock it for that VM's IP

So only that vm have port 25 open and the rest will remain blocked.


Is there anyway to do that?

I am completely lost on Firewall section of Porxmox UI,

So is there any tutorial or guide?
 
maybe is possible from the command line while creation. search the doku for help