Ahoj, mam problem se spojením přes SSH.
Používám jako firewall iptables.
Když služba iptables běží tak se nemůžu spojit s SSH a když ji stopnu tak už to jede.
K SSH se to nespojí ani když smažu všechny pravidla firewallu a zapnu iptables přes příkaz:
service iptables start
Ale když iptables stopnu tak to jede..
Jak je možné že se spojení blokuje ikdyž jsou pravidla smazaná??
Výpis z konzole:
[root@s1 /]# iptables -t filter -F
[root@s1 /]# iptables -t filter -X
[root@s1 /]# service iptables restart
iptables: Flushing firewall rules: [ OK ]
iptables: Setting chains to policy ACCEPT: mangle nat filter[ OK ]
iptables: Unloading modules: [ OK ]
iptables: Applying firewall rules: [ OK ]
[root@s1 /]#
[root@s1 /]# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
Chain FORWARD (policy DROP)
target prot opt source destination
Chain OUTPUT (policy DROP)
target prot opt source destination
Chain syn-flood (0 references)
target prot opt source destination
Díky