Get the most out of your Centmin Mod LEMP stack
Become a Member

drops 99% of outbound traffic

Discussion in 'System Administration' started by Eddie, May 11, 2021.

  1. Eddie

    Eddie New Member

    15
    0
    1
    Oct 4, 2018
    Ratings:
    +3
    Local Time:
    10:50 PM
    Hi,

    I have a fresh install of centminmod beta on centos7.
    It takes ages to ping to any domain.
    It takes 15-20 seconds to receive first ping.

    wget, curl always 99% fails with timeout.
    1% success with long time wait.


    [Example]
    99% timeout
    ➜ ~ curl Google
    curl: (7) Failed connect to google.com:443; Timeout

    1% success
    ➜ ~ curl Google
    <HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
    <TITLE>301 Moved</TITLE></HEAD><BODY>
    <H1>301 Moved</H1>
    The document has moved
    <A HREF="Google">here</A>.
    </BODY></HTML>




    [on my computer]
    ❯ ping wordpress.com ─╯
    PING wordpress.com (192.0.78.17) 56(84) bytes of data.
    64 bytes from 192.0.78.17 (192.0.78.17): icmp_seq=1 ttl=53 time=28.6 ms
    64 bytes from 192.0.78.17 (192.0.78.17): icmp_seq=2 ttl=53 time=28.6 ms
    64 bytes from 192.0.78.17 (192.0.78.17): icmp_seq=3 ttl=53 time=28.4 ms

    [on centos7 server which is Centminmod]
    ➜ ~ ping wordpress.com
    PING wordpress.com (192.0.78.17) 56(84) bytes of data.
    (15 seconds lag... waiting)
    64 bytes from 192.0.78.17 (192.0.78.17): icmp_seq=1 ttl=53 time=33.0 ms
    64 bytes from 192.0.78.17 (192.0.78.17): icmp_seq=2 ttl=53 time=33.0 ms
    64 bytes from 192.0.78.17 (192.0.78.17): icmp_seq=3 ttl=53 time=33.0 ms

    [on centos7 server which is Centminmod]
    ➜ ~ wget https://api.wordpress.org/plugins/update-check/1.1/
    Connecting to api.wordpress.org|198.143.164.251|:443... failed: Timeout
    Retrying.

    --2021-05-11 13:52:12-- (try: 2) https://api.wordpress.org/plugins/update-check/1.1/
    Connecting to api.wordpress.org|198.143.164.251|:443...

    ...
    always timeout.

    How can I solve this problem?

    Thanks in advance.
     
  2. Eddie

    Eddie New Member

    15
    0
    1
    Oct 4, 2018
    Ratings:
    +3
    Local Time:
    10:50 PM
    When I connect to the server from the outside internet world, it is normal and fast.
    Packets drops only when I make a connection from the server to outside.
     
  3. eva2000

    eva2000 Administrator Staff Member

    54,548
    12,221
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,790
    Local Time:
    11:50 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    What version of Centmin Mod are you using ? 123.08stable or 123.09beta01 ?

    What do you get for following command outputs
    Code (Text):
    cat /etc/centminmod-release

    Code (Text):
    cat /etc/centminmod-versionlog

    Code (Text):
    curl -4Iv https://www.google.com/
    

    Code (Text):
    curl -6Iv https://www.google.com/
    

    Code (Text):
    curl -Iv https://www.google.com/
    

    and to check if CSF Firewall is working
    Code (Text):
    service csf status | sed -e "s|$(hostname)|hostname|g"

    For posting code or output from commands to keep the formatting, you might want to use CODE tags for code How to use forum BBCODE code tags :)