Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

firewall in ubuntu 18.04

Managing UFW from command line
UFW ( Uncomplicated Firewall ) firewall is a default firewall on Ubuntu 18.04 Bionic Beaver Linux.
Check a current firewall status
By default the UFW is disabled. You can check the status of your firewall by executing the following linux command:

$ sudo ufw status
[sudo] password for linuxconfig: 
Status: inactive

For more verbose output append word verbose to the above command:

$ sudo ufw status verbose

Enable Firewall
To enable firewall execute:

$ sudo ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
Firewall is active and enabled on system startup

Firewall, is now enabled:

$ sudo ufw status
Status: active

Comment

PREVIOUS NEXT
Code Example
Shell :: Missing script: "dev" 
Shell :: trash path linux 
Shell :: linux list directories 
Shell :: ubuntu watch log file command 
Shell :: remove docker ubuntu 
Shell :: restart ssh 
Shell :: bash ask for input 
Shell :: cannot import numpy in py file ubuntu 
Shell :: how to remove unused pip dependencies on mac 
Shell :: how to delete a branch in github 
Shell :: install intellij community edition mac brew commands 
Shell :: rostopic echo filter 
Shell :: gitignore template eclipse 
Shell :: update homebrew 
Shell :: run cron once a day 
Shell :: check number of threads in a process linux 
Shell :: install avro on linux ubuntu 
Shell :: bash script how to show a file by using less 
Shell :: Deploy all file and subfolder git cpanel 
Shell :: debian uninstall package 
Shell :: convert biom to tsv 
Shell :: folder color ubuntu 
Shell :: ubuntu server does not run scripts 
Shell :: wsl install mongodb 
Shell :: acce;lerate ubuntu 
Shell :: ubuntu logout 
Shell :: osx copy output to clipboard terminal 
Shell :: change history editor 
Shell :: restart tomcat 9 ubuntu 
Shell :: raspberry pi stop an rc.local process 
ADD CONTENT
Topic
Content
Source link
Name
3+4 =