Yes, you can install a firewall on the main server and use it to protect all VPS on the same machine.
You can try to install eBox as a virtual server. It can be your virtual firewall.
You then configure your other virtual servers' network gateway to this virtual firewall.