Public PBX + Firewall

I have setup a VPS with a public IP for my FreePBX box. How can I ONLY allow certain IP addresses to access my box? I would like to permit 1 or 2 IPs and deny everyone else from accessing the PBX and trying to register.

Thanks for your help

I highly recommend the Advanced Policy Firewall APF. Free and easy to use.