Hi everyone,
I thought of blocking all my system ports and allow only http(s) ports. Because I am not going to use any others ports except http(s).
With IPkungfu tool, it is possible to block all the ports and allow the necessary ports.
Installing IPkungfu
# apt-get install ipkungfu
Configure IPkungfu
1) /etc/ipkungfu/ipkungfu.conf //Change the firewall settings
2) /etc/ipkungfu/services.conf //Change the Port settings
Syntax: ServiceName: ServicePort:Protocol[:ACCEPT]
Example:
http:80:tcp:ACCEPT //Allow Port
ftp:21:tcp //Block Port
Test IPkungfu
# ipkungfu --test
References:
1) http://www.zarzax.com/blog/2009/3/4/ipkungfu-easy-iptables-based-server-firewall.html
2) https://help.ubuntu.com/community/firewall/ipkungfu
Subscribe to:
Post Comments (Atom)
Featured Post
Java Introdcution
Please send your review and feedback to psrdotcom@gmail.com
-
Hi all, Today, I'll explain how to uninstall completely the openjdk from the RedHat Enterprise Linux (RHEL) machine. Some of the sof...
-
Hi folks, Today we are going to see, how we can run or deploy the Go (Golang) project in IIS. Development Create your Golang project with w...
-
Hi friends, I have updated my Aadhaar details from Aadhaar update center. It is mentioned that within 72 hours, my details will be update...
No comments:
Post a Comment