sudo ufw enable
sudo ufw allow/deny port#
Learn to use UFW here.
UFW Information
What do you consider "complex"?I have read it for many times. It seems that there are no complex commands, for what I am searching for. Thank you.
I've always found the default settings to be enough why change what already works.By default, ufw denies all incoming traffic and allows all outgoing
Unless you have something serioulsy complex in nature to contend with, ufw as default takes good care of the vast majority of users.
I am assuming you are relatively new to Linux , and wish to be sure that you are protected.
sudo ufw allow from 141.0.145.180/32 to any port 64297 proto tcp
sudo ufw allow 0:64000/tc
ERROR: Bad Port.