Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

    Default Do I need to open incoming or outgoing for remote mysql?

    The port that needs to be open for remote mysql, does the firewall on the file server need to have the port open for incoming or outgoing or both.

    Even better with cfs how can only allow access to that port from one or two ip's?


  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Outgoing only needed for a remote MySQL server. In csf.allow:

    tcp:out:d=3306:d=11.22.33.44

    that should do it for remove MySQL server IP 11.22.33.44, duplicate the line for additional IPs then restart csf.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

    Default

    Perfect, thanks Chirpy!

  4. #4
    Member
    Join Date
    Mar 2006
    Location
    Brno, Czech Republic
    Posts
    510

    Default

    you also need to add on the sql server, assuming that you have csf on it:

    tcp:in:d=3306:s=FRONT_END_SERVER_IP
    Not everything that is counted counts and not everything that counts can be counted

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

    Default

    Quote Originally Posted by katmai View Post
    you also need to add on the sql server, assuming that you have csf on it:

    tcp:in:d=3306:s=FRONT_END_SERVER_IP
    Can I do this for a c-class rather then one ip at a time and how would you do this?

    Something like? tcp:in:d=3306:s=192.168.254.2/255
    Last edited by DWHS.net; 12-16-2007 at 01:04 PM.

Similar Threads & Tags
Similar threads

  1. Incoming/Outgoing email copy
    By crazyaboutlinux in forum E-mail Discussions
    Replies: 15
    Last Post: 09-12-2010, 06:59 AM
  2. Monitoring incoming and outgoing bandwidth
    By Slacker_au in forum New User Questions
    Replies: 3
    Last Post: 04-21-2009, 01:23 PM
  3. Best way to log incoming/outgoing e-mail?
    By Man0warr in forum cPanel and WHM Discussions
    Replies: 18
    Last Post: 07-10-2007, 08:43 AM
  4. Logging Incoming/Outgoing Mail
    By lilg in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-08-2006, 06:05 AM
  5. Capture all incoming and outgoing mails
    By Inetwork in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-23-2006, 11:39 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube