LINUXOPOLIS # 1,078 ~ UFW - SSHsteemCreated with Sketch.

in #linux5 years ago (edited)

UFW-SSH

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

screenshot by willi glenz

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

function gufw-ssh --description 'firewall for ssh'
    clear; echo
    echo '=========================================================================='
    echo '                                UFW - SSH                                 '
    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 reload                // reload                                    '
    echo ' # ufw status                // verbose|numbered                          '
    echo ' # tail -f /var/log/ufw.log  // log-file                                  '
    echo ' # systemctl status ufw      // systemd                                   '
    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

Coin Marketplace

STEEM 0.20
TRX 0.25
JST 0.038
BTC 96907.08
ETH 3380.66
USDT 1.00
SBD 3.23