W. Glenz avatar

LINUXOPOLIS # 1,076 ~ UFW - APACHE2

wglenz

Published: 13 Mar 2020 › Updated: 13 Mar 2020LINUXOPOLIS # 1,076 ~ UFW - APACHE2

LINUXOPOLIS # 1,076 ~ UFW - APACHE2

UFW-APACHE

Building a Linux Habitat
willi glenz @ telegram
Published with SteemPeak
home ~ previous

screenshot by willi glenz

vim ~/.config/fish/functions/gufw-apache.fish

function gufw-apache --description 'firewall to protect apache2'
    clear; echo
    echo '=========================================================================='
    echo '                                UFW-APACHE                                '
    echo ' /etc/default/ufw                                                         '
    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 WWW             // allow|deny|reject                         '
    echo ' # ufw reload                // reload                                    '
    echo ' # ufw status                // verbose|numbered                          '
    echo ' # systemctl status ufw      // systemd                                   '
    echo ' # tail -f /var/log/ufw.log  // log-file                                  '
    echo '                                                                          '
    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

Leave LINUXOPOLIS # 1,076 ~ UFW - APACHE2 to:

Written by

Linux • Debian • Bash • Java

Read more #linux posts


Best Posts From W. Glenz

We have not curated any of wglenz's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From W. Glenz