- To: Slug <slug@xxxxxxxxxxx>
- Subject: Re: [SLUG] Firewalls
- From: Simon Wong <SJPWongbulk@xxxxxxxxxxx>
- Date: Wed Feb 27 13:16:02 2002
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 *
**************