disable firewall from terminal?

Discussion in 'Installation/Configuration' started by adrenalinic, Nov 14, 2020.

  1. adrenalinic

    adrenalinic Member

    Hello.
    I was blocked out from the firewall,
    how to disable from terminal?

    thank you
     
  2. adrenalinic

    adrenalinic Member

    [email protected]:/home/administrator# /etc/init.d/bastille-firewall stop
    bash: /etc/init.d/bastille-firewall: No such file or directory
     
  3. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Which firewall are you using? I think it's more likely you're banned by Fail2Ban... check your Fail2Ban log and search for your IP.
    You can unban your IP for a specific jail with this command:
    Code:
    fail2ban-client set JAILNAME unbanip IPADDRESS
    You can get the banned IP list with this command:
    Code:
    fail2ban-client status JAILNAME
     
  4. adrenalinic

    adrenalinic Member

    I don't know which firewall was installed in the ready vps image downloaded from the howtoforge website.
    ufw it's not installed, iptables the same.

    I was installing tailescale and when enabled the firewall from ispconfig i was out
     
  5. adrenalinic

    adrenalinic Member

    I have stopped fail2ban.
    it's a firewall problem.
     
  6. adrenalinic

    adrenalinic Member

    ... I have solved deleting the virtual disk and reimporting the qcow2 in the vps from the howtoforge downloaded image ... and start from 0 ;)
     
  7. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    No. Fail2Ban adds the IP address to the blocked list and manages that list, but it is not a active firewall.

    Starting from 0 is almost always not necessary and sometimes not a good idea ;) keep that in mind
     
  8. adrenalinic

    adrenalinic Member

    was a fresh installtion.. no mind available to understand for 1 hour where is the problem
    trash all and restart.. snapshot snapshot snapshot.. if a problem exist.. restore snapshot :)
     
  9. adrenalinic

    adrenalinic Member

    I will use the firewall hypervisor leaving ispconfig without firewall ;)
     
  10. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Understanding can help in the future, when a in production system has a problem.

    A firewall is a must for a safe system imo.
     

Share This Page