4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

LINUXOPOLIS # 1,078 ~ UFW - SSH

UFW-SSH

Building a Linux Habitat
willi glenz @ telegram
Published with SteemPeak
[home](https://steempeak.com/@wglenz) ~ [previous](https://steempeak.com/linux/@wglenz/linuxopolis-2019-11-20-ufw)
![screenshot by willi glenz](https://files.steempeak.com/file/steempeak/wglenz/r7qJSSBX-image.png)
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
27 upvotes $0.07

Replies (0)

Conversation

No replies yet

Replies will appear here as people join the conversation.

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: