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

Locked out of OVH VPS with iptables -f

Discussion in 'Centmin Mod User Tutorials & Guides' started by Alex, Aug 18, 2018.

Tags:
  1. Alex

    Alex New Member

    24
    5
    3
    Jun 18, 2014
    Ratings:
    +5
    Local Time:
    9:00 PM
    1.4.6
    Hi guys, so the dev used the command iptables -f ... even after reading the MOTD and after I added the rules he wanted to CSF..

    Anyhow, we are locked out and are trying to get back in, we are using an OVH VPS and used this guide to boot with a rescue image Activate and use rescue mode

    I successfully mounted the drive and under /mnt/vdb1/etc/sysconfig/ I see iptables and iptables-config files.

    How can we turn iptables off at boot? because we cant use the commands (we are in rescue image)

    service iptables stop
    systemctl stop firewalld
    csf -r


    Thanks in advance
     
  2. eva2000

    eva2000 Administrator Staff Member

    36,054
    7,910
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,192
    Local Time:
    9:00 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  3. Alex

    Alex New Member

    24
    5
    3
    Jun 18, 2014
    Ratings:
    +5
    Local Time:
    9:00 PM
    1.4.6
    Ahh sorry about that! twas my first OVH VPS and didn't see the KVM option! Thank you
     
    • Like Like x 1
..