On Wed, 2002-02-27 at 12:13, Jeff Waugh wrote:
> 
>   iptables -A INPUT -j DROP -d $ipaddress/$netmask --dport 22
> 
> would stop you from ssh'ing in to your machine... Probably not a good idea,
> but it's a good example. ;)

Is there something to drop all connections to ports so you could set
that after you had explicitly allowed certain ports?

e.g. iptables -A INPUT -j DROP -d $ipaddress/$netmask --dport ALL ;-)




-- 
**************
* Simon Wong *
**************

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to