Im trying to setup a rule in iptables where I only allow remote connections if the user trying to login into MySQL is "someuser" and reject all other possible remote connections. Locally should allow any users.
Is this possible? if so what would be a good rule for this?
Any comments will be appreciate it.