LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ufw firewall (https://www.linuxquestions.org/questions/linux-software-2/ufw-firewall-762514/)

rhlnewbie 10-16-2009 11:39 PM

ufw firewall
 
just to tryout ufw I tried to close port 80 on my pc. I'm using Ubunutu 9.04. I sudo ufw enable sudo ufw deny 80. but nmap localhost shows port 80 open why? how can I close it? Please help. Iwil need to control some ports on my next server.
Thanks,
Miles

Raum the Old 10-18-2009 05:32 AM

Quote:

Originally Posted by rhlnewbie (Post 3722372)
just to tryout ufw I tried to close port 80 on my pc. I'm using Ubunutu 9.04. I sudo ufw enable sudo ufw deny 80. but nmap localhost shows port 80 open why? how can I close it? Please help. Iwil need to control some ports on my next server.
Thanks,
Miles

When you run nmap before doing anything with ufw, what does it say is the status of port 80?

manwithaplan 10-18-2009 03:23 PM

I would not use ufw, try shorewall or straight iptables.


All times are GMT -5. The time now is 03:52 PM.