Make sure /etc/mysql/my.cnf bind-address is set to 0.0.0.0 (or your interface IP)
Add tcp|in|d=3306|s=*.*.*.* to /etc/csf/csf.allow (set *.*.*.* to your source IP)
Search found 2 matches
- 23 Jun 2016, 10:33
- Forum: General Discussion (csf)
- Topic: Enable remote connections to mysql
- Replies: 1
- Views: 1805
- 21 Jun 2016, 06:35
- Forum: General Discussion (csf)
- Topic: Allow CSF as hostname?
- Replies: 2
- Views: 4054
Re: Allow CSF as hostname?
Sure you can, do the following;
csf.conf -- Edit -- DYNDNS = "600"
csf.dyndns -- Add -- tcp|out|d=25|d=smtp.google.com -- edit appropriately for ports/hostnames etc.
csf -r; service lfd restart
csf.conf -- Edit -- DYNDNS = "600"
csf.dyndns -- Add -- tcp|out|d=25|d=smtp.google.com -- edit appropriately for ports/hostnames etc.
csf -r; service lfd restart