just set up the rules that is all very simple..... use it along with netstat
On Tue, Aug 10, 2010 at 2:09 PM, Narender <[email protected]> wrote: > On Tue, Aug 10, 2010 at 2:02 PM, Anuvrat Parashar <[email protected]> > wrote: > > While I was working on my networking based academic-project, I had come > > across iptables. My program runs fine after I disable the firewall, but > > thats not the way it should. So how do I configure the firewall to allow > > access to my program? > > > > regards > > Anuvrat Parashar > > > > On Tue, Aug 10, 2010 at 10:32 AM, Narender <[email protected]> > wrote: > >> > >> netstat -tnlp will also give the same output and it works on sun/aix as > >> well :) > >> > >> also on another note nmap is really cool tool to know > >> port/state/service of any process. > >> you can also scan another machine open ports via this. > >> > >> Best Regards > >> --N > >> > >> > >> On Tue, Aug 10, 2010 at 9:20 AM, Tha.Suresh <[email protected]> > >> wrote: > >> > Find out what ports are open on Linux > >> > > >> > Here a quick tip on how to find out what ports are open on your Linux > >> > computer without using a port scanner. > >> > > >> > $ netstat -anp --tcp --udp | grep LISTEN > >> > > >> > -- > >> > Regards, > >> > Tha.Su > > i suggest you should use shorewall if you are new to iptables. > http://www.shorewall.net/shorewall_setup_guide.htm > > Best Regards > Narender > > -- > l...@iitd - http://tinyurl.com/ycueutm > -- http://wediefornation.blogspot.com/ -- l...@iitd - http://tinyurl.com/ycueutm
