I think you should have checked the iptables man page you must have understood its very easy but still I will explain
Iptables [-t table] <action> <direction> -p <protocol> -s <source> network adress> --dport <portno> -j <ACCEPT/REJECT> action = -A append or -I insert....rest lookup man page direction= INPUT or OUTPUT case sensitive protocol= tcp or udp source= 192.168.0.0/24 (e.g.) port no = the port of service to apply on ( 22 for ssh) check /etc/services for complete list Regards On Mon, Feb 2, 2009 at 2:33 PM, Manohar Bhattarai < [email protected]> wrote: > It is not that i dint google before asking this question. I always google > first. > But i dint get any satisfying result and dont know its use. I found uwf and > iptables commands but how to use it. I thought someone must have had this > problem before. So, asked if anyone can help me. > By the way i m googling more on this. And thanx for ur reply. > > Thanx > Manohar... > > > > On Sat, Jan 31, 2009 at 10:57 PM, amit kumar <[email protected]>wrote: > >> maybe he is talking about the ports that are closed by UBUNTU security >> ,,to deny the intrusion attacks by any hacker . >> >> please check which ports are open and which are closed by scanning for >> them ,, >> >> On Sat, Jan 31, 2009 at 3:53 PM, gajendra khanna < >> [email protected]> wrote: >> >>> >>> I believe he wants ports to be open on CSC and other machines/servers >>> he connects to from hostel. That only the sysadmin there can do.You >>> have no control over that. :) >>> >>> >>> >> >> >> -- >> regards >> >> amit kumar >> another wannabe ?? >> >> >> >> >> >> > > > > -- Join the next generation of computing, Open Source, and Linux/GNU! Harsimran singh walia 3rd year, Mechanical Engineering IIT Delhi --~--~---------~--~----~------------~-------~--~----~ l...@iitd mailing list -- group http://groups.google.com/group/iitdlug -~----------~----~----~----~------~----~------~--~---
