My server environment is quite basic: Ubuntu 16.04, MySQL 5.7.16, PHP 7 and CSF-LFD. I also blocked port 3306 via scf.conf.
I have a script that installs PHPmyadmin (PMA) and deletes it after 2 hours.
To secure PMA even more I was advised to operate it with an SSH tunnel, so to send its browser requests encrypted in SSH, even in these 2 hours of action.
How can this be done globally for all port80 packets (or specifically for PMA, if at all) ?