iptables strange behaviour (Slackware64-14.0)
Hi guys,
after reinstalling Slackware due to some partition changes, my iptables work really strange and I'm unable to determine why. After install, all 3 chains have an ACCEPT policy. But when I change the INPUT to DROP via Code:
iptables -P INPUT DROP Code:
iptables -A INPUT -i lo -j ACCEPT What troubles me most is that before reinstall, iptables were working correctly with these rules. They even work on my other computer with exactly the same rules. I googled around but found nothing than iptables guides which basically tell me that all should be fine. Help me please...:confused: |
Unless you have a rule dealing with return traffic (state ESTABLISHED and possibly RELATED), the INPUT policy will block everything. You can actually ping your router, but you never get to see the reply packet.
Try this: Code:
iptables -A INPUT -m state --state ESTALISHED,RELATED -j ACCEPT |
Quote:
Thanks a lot. |
All times are GMT -5. The time now is 07:54 AM. |