Welcome to Centmin Mod Community
Register Now

CSF blocking RDS database

Discussion in 'Introductions' started by shivam, Nov 29, 2017.

Tags:
  1. shivam

    shivam New Member

    7
    2
    3
    Nov 28, 2017
    Ratings:
    +2
    Local Time:
    6:57 AM
    Hey,
    I have RDS database how to connect with that. csf blocking it. As we dont have any ip for this. i cant whitelist.
     
    • Like Like x 1
  2. eva2000

    eva2000 Administrator Staff Member

    31,021
    6,924
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,430
    Local Time:
    11:27 AM
    Nginx 1.13.x
    MariaDB 5.5
    welcome @shivam to Centmin Mod Community. Might want to ask question in sub forum at https://community.centminmod.com/forums/other-centmin-mod-installed-software.22/ related to CSF Firewall and outline how you're using/connecting to RDS

    There's 6 steps to learning more about Centmin Mod ;)

    You might want to try the 123.09beta01 build as it will be next stable release and well has alot of improvements if you check 2nd post change log at Beta Branch - Centmin Mod .09 beta branch Testing. And you can share your initial install times here.

    If you use Putty SSH client, for best Centmin Mod experience set your windows setting configuration to at least 160 columns, 70 rows and 256000 scrollback buffer size.

    Threads you might want to participate in ;)

    Threads & Info To Bookmark



    Threads to read, pages to bookmark and threads to watch/subscribe to get to know Centmin Mod would include:

    Centmin Mod Insights Forum



    The Centmin Mod Insights forums digs deeper into the inner workings of Centmin Mod so some useful threads in this forum include:

    Security Related Developments



    A few security related developments you might be interested reading about

    Premium Membership


    Centmin Mod Donations



    You now can show your love and support for Centmin Mod via
     
  3. shivam

    shivam New Member

    7
    2
    3
    Nov 28, 2017
    Ratings:
    +2
    Local Time:
    6:57 AM
    This is not helpful for me. tried to whitelist endpoint in csf. but no success.
     
  4. Matt

    Matt Moderator Staff Member

    697
    322
    63
    May 25, 2014
    Sheffield, UK
    Ratings:
    +449
    Local Time:
    1:27 AM
    1.7.1
    MariaDB 10
    Help us to help you, please answer eva2000's comment here. Without knowing how you are trying to achieve this, we can't help.
     
  5. shivam

    shivam New Member

    7
    2
    3
    Nov 28, 2017
    Ratings:
    +2
    Local Time:
    6:57 AM
    I am trying to connect my wordpress website with AWS RDS. But I was unable to access after providing correct details. then I come to know firewall is not allowing me to connect with remote url. So I added port 3306 in TCP_OUT.

    Still database connection issue. But If disable firewall with

    csf -x

    Its working fine.

    I also tried to add endpoint in whitelist.

    csf -a endpoint_url

    Still its not working. Please help me to get it work

    /** The name of the database for WordPress */
    define( 'DB_NAME', 'rds_database_name_here' );

    /** MySQL database username */
    define( 'DB_USER', 'rds_username_here' );

    /** MySQL database password */
    define( 'DB_PASSWORD', 'rds_password_here' );

    /** MySQL hostname */
    define( 'DB_HOST', 'rds_endpoint' );
     
  6. eva2000

    eva2000 Administrator Staff Member

    31,021
    6,924
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,430
    Local Time:
    11:27 AM
    Nginx 1.13.x
    MariaDB 5.5