Want to subscribe to topics you're interested in?
Become a Member

CSF Mistaken use command iptables -F

Discussion in 'Other Centmin Mod Installed software' started by Josephm, Dec 10, 2018.

  1. Josephm

    Josephm Active Member

    131
    44
    28
    Aug 26, 2014
    Ratings:
    +47
    Local Time:
    11:29 AM
    1.9.5
    10.0.21
    Hello,

    I'm using Google Cloud and I don't know why my IP suddenly was blocked from SSH, after doing some research then I mistaken typing iptables -F.
    Now I can't access my VPS anymore. Do you have any solution?

    Thank you.
     
  2. eva2000

    eva2000 Administrator Staff Member

    41,046
    9,172
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,073
    Local Time:
    2:29 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Easiest thing to do with Centmin Mod LEMP stacks is reboot your server as CSF Firewall will automatically re-setup your iptable rules appropriately :)
     
    • Like Like x 1
  3. Josephm

    Josephm Active Member

    131
    44
    28
    Aug 26, 2014
    Ratings:
    +47
    Local Time:
    11:29 AM
    1.9.5
    10.0.21
    Thanks so much, restart works ;)
     
    • Like Like x 1
  4. eva2000

    eva2000 Administrator Staff Member

    41,046
    9,172
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,073
    Local Time:
    2:29 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    excellent :D