I'm creating a setup where I need the panel to remain limited only to a few IP addresses, while PhpMyAdmin and Net2ftp (the FTP file manager) need to be open to everyone.
The twist is that I'm hoping to control this by firewall, namely 'iptables', and not through the Apache configuration, since the former is much more easily manageable in my case.
For this reason, I'd like to run PhpMyAdmin and Net2ftp on a different port than the panel. It's okay if they also run on the panel, but most importantly they need to be available on a port that does not allow public access to the control panel.
Any ideas on how to achieve this?
Thanks in advance!