The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

apf firewall issue

Discussion in 'General Discussion' started by useradmin, Jul 19, 2007.

  1. useradmin

    useradmin Well-Known Member

    Joined:
    Oct 8, 2004
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    INDIA
    HI,


    as per apf firewall issue
    Jul 17 02:03:02 duck kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=00:01:02:c9:94:20:00:90:69:8a:f3:f0:08:00 SRC=192.168.1.43 DST=192.168.1.220 LEN=60 TOS=0x00 PREC=0x00 TTL=53 ID=40428 DF PROTO=TCP SPT=37079 DPT=3306 WINDOW=5840 RES=0x00 SYN URGP=0

    i already added 192.168.1.43 ip in allow list.

    tcp:in : d=3306 : s=192.168.1.43
    d=3306 : s =192.168.1.43
    tcp: out : d=3306 : s =192.168.1.43


    # added 192.168.1.43 on 07/19/07 01:15:21
    192.168.1.43

    But ip is still blocking traffic while monitor mysql....
    what may be problem?
     
  2. psrsathish

    psrsathish Active Member

    Joined:
    Jul 19, 2006
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India.
    Hi,

    Run the command "iptables --line-numbers -nL |grep 192.168.1.43" and "iptables --line-numbers -nL |grep 3306", It will display by line number after that If you found above IP or the mysql port near by any number then just remove the number by inserting the command "iptables -D" with the line number, which will flush the IP from the rule. Don't forget to restart and to save the iptables to take effect. :)
     
Loading...

Share This Page