All of lore.kernel.org
 help / color / mirror / Atom feed
* Policy Accept + Allow Multiple IP's
@ 2004-11-16  0:51 Rudi Starcevic
       [not found] ` <99fb058804111423054365bd85@mail.gmail.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Rudi Starcevic @ 2004-11-16  0:51 UTC (permalink / raw)
  To: netfilter

Hi,

I have an Iptables firewall with a default policy of accept.

I want to allow only certain IP's ssh access.

So far I have this rule which allows 1 ip:

iptables -A INPUT -p tcp --dport 22 -s ! xxx.xxx.xxx.xxx -j DROP

I'm not sure how to list more that 1 allowable IP.

This is a production box I've inherited so I'm hoping to work with I already
have but may need to look at changing the default policy to drop or 
something.

Please advise, many thanks.
Regards Rudi





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

end of thread, other threads:[~2004-11-16  1:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-16  0:51 Policy Accept + Allow Multiple IP's Rudi Starcevic
     [not found] ` <99fb058804111423054365bd85@mail.gmail.com>
2004-11-15  7:11   ` Paul Annesley
2004-11-16  1:19     ` Rudi Starcevic
2004-11-15 12:07       ` John A. Sullivan III

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.