UFW
Building a Linux Habitatwilli glenz @ telegram
Published with SteemPeak
home ~ previous
vim ~/.config/fish/functions/gufw.fish
function gufw --description 'firewall'
clear; echo
echo '=========================================================================='
echo ' UFW '
echo ' /etc/default/ufw '
echo '=========================================================================='
echo ' # apt install ufw gufw // installation '
echo ' $ apt-cache show ufw // package information '
echo ' $ man ufw // source '
echo ' # ufw status // verbose|numbered '
echo ' # tail -f /var/log/ufw.log // log-file '
echo ' '
echo ' ------------------------------------------------------------------------ '
echo ' STATUS '
echo ' ------------------------------------------------------------------------ '
echo ' # ufw status // verbose|numbered '
echo ' # ufw reset // reset '
echo ' # ufw enable // enable|disable '
echo ' # ufw allow ssh // allow|deny|reject '
echo ' # ufw allow SSH // allow|deny|reject '
echo ' # ufw allow WWW // WWW "WWW Cache" "WWW Full" "WWW Secure" '
echo ' # ufw reload // reload '
echo ' # ufw status // verbose|numbered '
echo ' # tail -f /var/log/ufw.log // log-file '
echo ' # systemctl status ufw // systemd '
echo ' '
echo ' ------------------------------------------------------------------------ '
echo ' BASELINE '
echo ' ------------------------------------------------------------------------ '
echo ' # systemctl status ufw '
echo ' # systemctl start ufw '
echo ' # systemctl enable ufw '
echo ' # ufw status // verbose|numbered '
echo ' # ufw status verbose // verbose|numbered '
echo ' # ufw reset // reset '
echo ' # ufw disable // disable '
echo ' # ufw enable // enable '
echo ' # ufw default deny incoming // deny '
echo ' # ufw default allow outgoing // allow '
echo ' # ufw allow ssh // allow ssh '
echo ' # ufw logging on // on|off|low|medium|high|full /var/log/syslog '
echo ' # ufw status verbose // verbose|numbered '
echo ' # tail -f /var/log/ufw.log // log-file '
echo ' # systemctl status ufw // systemd '
echo ' '
echo ' ------------------------------------------------------------------------ '
echo ' SSH '
echo ' ------------------------------------------------------------------------ '
echo ' # ufw status // verbose|numbered '
echo ' # ufw reset // reset '
echo ' # ufw enable // enable|disable '
echo ' # ufw allow ssh // allow|deny|reject '
echo ' # ufw reload // reload '
echo ' # ufw status // verbose|numbered '
echo ' # tail -f /var/log/ufw.log // log-file '
echo ' # systemctl status ufw // systemd '
echo ' '
echo ' ------------------------------------------------------------------------ '
echo ' APPLICATION PROFILES '
echo ' ------------------------------------------------------------------------ '
echo ' # ufw app list | less '
echo ' # ufw app info "WWW Secure" '
echo ' # ufw allow OpenSSH // allow|deny '
echo '=========================================================================='
echo
end
SOURCES
man-pages ........... $ man ufw
tecmint ............. tecmint.com/setup-ufw-firewall-on-ubuntu-and-debian/
ubuntuusers (de) .... wiki.ubuntuusers.de/ufw/
ubuntu .............. wiki.ubuntu.com/UncomplicatedFirewall
fish ................ fishshell.com/docs/current/index.html
picture ............. screenshoot by me ~ my gnome-desktop