Join the community today
Register Now

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:
    2:32 AM
    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

    55,158
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    2:32 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. Alex

    Alex New Member

    24
    5
    3
    Jun 18, 2014
    Ratings:
    +5
    Local Time:
    2:32 AM
    1.4.6
    Ahh sorry about that! twas my first OVH VPS and didn't see the KVM option! Thank you