From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bryan Christ Subject: Setting up a local firewall Date: Sun, 31 Jul 2005 21:24:07 -0500 Message-ID: <42ED87C7.207@filefront.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: netfilter@lists.netfilter.org I locked myself out of my server until I rebooted it. My goal was to lock down everything and allow only SSH connectivity. Can anyone show me where my logic went wrong? Here was the fatal script which I wrote: /sbin/iptables -F INPUT /sbin/iptables -A INPUT -s 0/0 -j DROP /sbin/iptables -A INPUT -s 0/0 -m state --state NEW,ESTABLISHED -p tcp --dport 22 -j ACCEPT My guess is that I missed accepting syn packets, but I'm not ready to "try" again. Thanks in advance, Bryan