Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

How to Block Ports in UFW Ubuntu Firewall

// To block the UDP port 4444, run the following command:
$ sudo ufw deny 4444/udp

// The same way, you can block the TCP and UDP port (let’s say 4514) at the same time with the following command:
$ sudo ufw deny 4514

// Check status:
$ sudo ufw status
Comment

PREVIOUS NEXT
Code Example
Shell :: how to image an entire disk on linux 
Shell :: vim delete to end of file 
Shell :: kubectl install 
Shell :: raspberry pi ubuntu server raspi-config 
Shell :: create github ssh key 
Shell :: aws lightsail ssl installation 
Shell :: mdem ubuntu add user to sudo 
Shell :: remove untracked files git 
Shell :: vscode update terminal limit 
Shell :: view certificate openssl 
Shell :: check if string starts with powershell 
Shell :: search everithing for ubuntu 
Shell :: gtk3 windows install 
Shell :: merge master to a branch 
Shell :: uninstall 
Shell :: update node manjaro 
Shell :: undo git commit after push 
Shell :: set forked repo as upstream 
Shell :: assign permission to files and folder ubuntu separate 
Shell :: signing key android 
Shell :: how to delete an issue on github 
Shell :: cannot reindex from a duplicate axis 
Shell :: fetch a specific branch 
Shell :: nano enable syntax highlighting 
Shell :: neovim open file 
Shell :: cor installation 
Shell :: transfer git repo from gitlab to github 
Shell :: setting ssh for github 
Shell :: install pillow error alpine linux 
Shell :: python-minimal has no installation candidate 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =