What are the basic commands for ufw firewall in Ubuntu?

خرید بک لینک

Install the application ufw

apt install ufw

Start firewall

enable ufw

Stop firewall

disable ufw

List of current running processes

ufw app list

Make rules to allow a certain process through firewall

ufw allow process1

Make rules to allow only incoming traffic of a certain process through firewall

ufw allow in process4

Make rules to allow only outgoing traffic of a certain process through firewall

ufw allow out process5

Make rules to block a certain process through firewall

ufw deny process2

View current list of processes being controlled by firewall and the associated rules for those processess

ufw status

View listening ports of an active process

ufw app info process3

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 251 تاريخ: پنجشنبه 3 تير 1395 ساعت: 0:58

صفحه بندی