I dont know how to allow a differant port

so i was wondering if i can get geysermc working so i want to open port 19132 but i dont know how to use iptables somebody help me.

This is covered in the MineOS wiki: Securing servers with iptables (simplified) | mineos-node