Hey everybody. I am setting up iptables for the first time. I have an incomplete knowledge of what I am doing, but I have it mostly working. I have two problems of note.
1) I can't establish outgoing connections. For example, sendmail won't work and I can't ping anything.
2) When I ssh to the machine (or scp, whatever), it takes at least 10 seconds for it to prompt me with the password. After that it works fine.
Here is my results of iptables-save. Oh, and I'm using debian linux, if that matters (ubuntu).
# Generated by iptables-save v1.3.1 on Sun Jan 15 13:54:41 2006
:INPUT ACCEPT [322:122977]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [3395:1737145]
-A INPUT -p tcp -m iprange --src-range 192.168.1.100-192.168.1.110 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -s 127.0.0.1 -j ACCEPT
-A INPUT -d 192.168.1.254 -j DROP
# Completed on Sun Jan 15 13:54:41 2006
What am I missing? Does anything there look wrong?