slackbuilds/network/ufw
Brenton Earl c678d47d93 network/ufw: Tweaked README and SlackBuild.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
2016-12-30 23:30:12 +00:00
..
README network/ufw: Tweaked README and SlackBuild. 2016-12-30 23:30:12 +00:00
slack-desc network/ufw: Fix slack-desc. 2016-11-14 16:47:23 +07:00
ufw-0.35-fix-iptables-path.patch network/ufw: Updated for version 0.35. 2016-07-24 07:27:50 +07:00
ufw.SlackBuild network/ufw: Tweaked README and SlackBuild. 2016-12-30 23:30:12 +00:00
ufw.conf.patch network/ufw: Updated for version 0.35. 2016-07-24 07:27:50 +07:00
ufw.info network/ufw: Updated for version 0.35. 2016-07-24 07:27:50 +07:00

README

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.

Add the following code to /etc/rc.local to start Ufw at boot time:

if [ -x /lib/ufw/ufw-init ]; then
  /lib/ufw/ufw-init start
fi

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