hi
   i have a small query
first set up iptables to block all incomming tcp connections by

iptables -A INPUT -p tcp --syn -j DROP

then i want to open ssh for selected machines so i do

iptables -A INPUT -p tcp --syn -s 192.168.1.0/24 -d 192.168.1.1 --destination-port 22 
-j ACCEPT

this should open ssh connections for all PCs on 192.168.1.0/24 n/w to 192.168.1.1

but it does not works.

pls comment

Regards
---
Manish Kumar Arya
--------------------------------------------
While universe
{
  Object emerges from zero, tends to infinity and finally end in zero.
}
--------------------------------------------






          ================================================
To un/subscribe, send email to [EMAIL PROTECTED] with 'un/subscribe' in subject 
header
Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
          =================================================

Reply via email to