HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Locked out of server because of firewall (http://www.howtoforge.com/forums/showthread.php?t=39806)

ninjao 1st October 2009 20:17

Locked out of server because of firewall
 
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

bad_crow 2nd October 2009 09:43

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.

till 5th October 2009 12:01

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


All times are GMT +2. The time now is 18:19.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.