Locked out of server because of firewall

Discussion in 'Installation/Configuration' started by ninjao, Oct 1, 2009.

  1. ninjao

    ninjao New Member

    Hi,

    Unfortunately instead of opening the ports i wanted it closed them locking me out of the server.

    I have a rescue SSH shell but I can only mount my drive, i cannot shell directly onto my /home/

    How can I either: Disable the firewall? or change the ports manually editing a .conf file?

    Please help! :( I dont want to re-install again -_-

    Thanks in advance!,
    -NinJao
     
  2. bad_crow

    bad_crow New Member

    Why don't you use a local access ?

    Maybe an iptables -F would help. This command should erase every rule in iptables. If you are experiencing problems later you should try to reboot for iptables to generate a basic set of rules.


    As I don't know exactly what you did, I can't submit you another solution. Maybe you should just take the command you typed and modify it to make sure the ports are opened.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    The firewall configuration file were you can add the missing ports is /etc/Bastille/bastille-firewall.cfg
     

Share This Page