Hello, well I am learning linux, and I did something wrong installing my iptables, something happend that I change or screwd (I dont know what happend with my ports) my ports, now I am unable to connect via SSH or SCP. Im trying /etc/init.d/iptables stop, but it says no such file or directory. Also i already used this:
But the access to SSH is very limited, I have aprox 10 seconds.
Please if someone can help me
Code:
iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
Please if someone can help me