First off, am using Firewalld and my configuration is as follows:
- All traffic is allowed (nothin fancy).
- Server has MySQL and Apache2 (Linux Debian)
I need to allow MySQL remote connections to a specific ip address (my ip) without shutting out http connections. The MySQL config file only allows one ip and thus I can't directly add my ip there cuz then Apache2 won't be able to connect over http that's why am looking for a firewall solution.
I have also tried creating a specific zone using firewalld (firewall-cmd) but the zone ended up blocking all http traffic since it had a source ip and thus ended up here.
Any help is greatly appreciate.