Tutorial Install UFW firewall for Linux
What is a firewall?
The firewall is a fortress of a job, where the fortress is made up of high walls and heavily guarded, and only has an entrance, so that whatever approaching / passing through the door to enter into, must go through the first inspection.
On the computer's operating system, this firewall is the same function as above, anyone who wants to get into the system must pass a door, and the firewall's task closes and opens the entrance. if there are users who want to enter, then there must be permission in advance of the firewall, if allowed then the door is opened.
in its scientific language Firewall is a system designed to prevent unauthorized access from outside or from within a computer network.
For example there are others trying to log in to the server by using brute force attack method that attacks port 23 telnet, this of course can threaten the security of server and existing network, hence with firewall, we can take by blocking port 23 so that user can not connect to server.
UFW (Uncomplicated Firewall) is an application released from IPtables and created with the aim of simplifying the firewall configuration process on Linux based operating system
Here's How to Install UFW in Kali Linux
Turn Linux Times up to normal position
Open Terminal and type
first you must update repository
#nano /etc/apt/sourcelist.txt
then, write this sourclist.
deb http://ftp.de.debian.org/debian sid main
# apt-get install ufw
After the installation is complete, we configure ufw in the appropriate way of image
# cd /etc/default/
# ls
show all file, must be found file ufw
Now, we configuration file ufw
# nano ufw
Remove the symbol # on ipv6 = yes
Check the status, default status is not active, then the next activate
# ufw status
enable status ufw
# ufw enable
open access from ssh
# ufw allow ssh
open access from telnet
# ufw allow telnet
open access from port 22
#ufw allow 22
open access from port 23
#ufw allow 23
open access from http
#ufw allow htpp
open access from http
#ufw allow htpp
Basic configuration is complete, if you want to add other settings like blocking ip or blocking certain port, you can do it as above step.
so many tutorials, hopefully useful.
Posted on Utopian.io - Rewarding Open Source Contributors
Best tutorial
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks brother
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Your contribution cannot be approved yet. See the Utopian Rules. Please edit your contribution to reapply for approval.
Like this
.You may edit your post here, as shown below:

You can contact us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Ok, I was edit my post, please review again
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey @raghib I am @utopian-io. I have just upvoted you!
Achievements
Suggestions
Get Noticed!
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit