-
To view which applications have installed a profile, enter the following in a terminal:
sudo ufw app list
-
Similar to allowing traffic to a port, using an application profile is accomplished by entering:
sudo ufw allow Samba
Seen above is text from URL =
https://help.ubuntu.com/lts/serverguide/firewall.html#firewall-ufw
The example needs to be corrected to include the APPLICATION name within Double Quotes
dhankar@dhankar-VPCEB44EN:~/Desktop$ sudo ufw app list [sudo] password for dhankar: Available applications: CUPS Nginx Full Nginx HTTP Nginx HTTPS OpenSSH Samba dhankar@dhankar-VPCEB44EN:~/Desktop$ sudo ufw app info NginxHTTP ERROR: Could not find profile 'NginxHTTP' dhankar@dhankar-VPCEB44EN:~/Desktop$ sudo ufw app info Nginx HTTP ERROR: Could not find profile 'Nginx' dhankar@dhankar-VPCEB44EN:~/Desktop$ sudo ufw app info "Nginx HTTP" Profile: Nginx HTTP Title: Web Server (Nginx, HTTP) Description: Small, but very powerful and efficient web server Port: 80/tcp dhankar@dhankar-VPCEB44EN:~/Desktop$
Author - ROHIT DHANKAR
Sunday, 29 September 2019
Linux Ubuntu Firewall UFW - $ sudo ufw app list $ sudo ufw app info "Nginx HTTP"
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment