SlackBuilds Repository

15.0 > Network > ufw (0.36.2)

Ufw (Uncomplicated Firewall) is program for managing a netfilter
firewall. It provides a command line interface and aims to be
uncomplicated and easy to use.

Slackware's 'rc.init2' script has an entry for a 'rc.firewall' script
which is not a default included file in the distribution which we can
hook into to start UFW as early as we can in the boot process by
creating a symlink like so:

ln -s /etc/rc.d/rc.ufw /etc/rc.d/rc.firewall

Then ensure you've set the 'rc.ufw' script exec permissions with:

chmod 755 /etc/rc.d/rc.ufw

to start UFW at system startup.

Ufw comes with a number of common application profiles. Create
additional application profiles under /etc/ufw/applications.d.
Each profile should contain a list of rules which include a title,
description, and port(s) or port range.

A custom application profile should look similar to this:

[Application]
title=Application title
description=A description for the application.
ports=137,138/udp|139,445/tcp

Where xx.xx.xx.xx is the IP address of an external host, enable this
application profile by executing the following as root:

# ufw allow from xx.xx.xx.xx app Application

For a nice GUI program to control UFW with, check out 'gui-ufw' as
well on SBo.

Maintained by: Jay Lanagan
Keywords: firewall,command,line,interface,simple,uncomplicated
ChangeLog: ufw

Homepage:
https://launchpad.net/ufw

Source Downloads:
ufw-0.36.2.tar.gz (4a1c52b7da2b25e66e91b5f16a7d032d)

Download SlackBuild:
ufw.tar.gz
ufw.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 15.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2025 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds