Darren Wall
asked on
ssh port and iptable
hello
i don't have much knowledge to iptables and i managed to lock my self out few times
and im trying get a way to go back into the server if i missed something up
i fhave found this way:
http://www.cyberciti.biz/faq/linux-iptables-firewall-flushout-configuration-every-5minutes/
but im not really sure ifts working on my system or not, so i have to be sure
and i don't have a linux on my house or another server to test it on it
anyone can confirm me that script is working probably ? or a way to stop iptables every 10 min? so i can log back in and fix stuff
thank you
i don't have much knowledge to iptables and i managed to lock my self out few times
and im trying get a way to go back into the server if i missed something up
i fhave found this way:
http://www.cyberciti.biz/faq/linux-iptables-firewall-flushout-configuration-every-5minutes/
but im not really sure ifts working on my system or not, so i have to be sure
and i don't have a linux on my house or another server to test it on it
anyone can confirm me that script is working probably ? or a way to stop iptables every 10 min? so i can log back in and fix stuff
thank you
ASKER
if i flush it, i wont be able to connect remotely thro ssh? or im mistaken?
cause there will be no rule to allow remote access to shh?
cause there will be no rule to allow remote access to shh?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What kind of linux is that? Is it same machine under DDOS attack?
*/5 * * * * /sbin/iptables -F