All of lore.kernel.org
 help / color / mirror / Atom feed
* Setting up a local firewall
@ 2005-08-01  2:24 Bryan Christ
  2005-08-01 12:20 ` Jan Engelhardt
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Bryan Christ @ 2005-08-01  2:24 UTC (permalink / raw)
  To: netfilter

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-01 12:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-01  2:24 Setting up a local firewall Bryan Christ
2005-08-01 12:20 ` Jan Engelhardt
2005-08-01 12:49 ` Bjørn Ruberg
2005-08-01 12:51 ` Jörg Harmuth
2005-08-01 12:54 ` /dev/rob0

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.