diff options
author | Ricardson Williams <ricardsonwilliams@gmail.com> | 2013-07-28 12:03:23 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2013-10-12 14:38:03 -0500 |
commit | 5b6001da4905fe1ee47c4a39d730c2aa44a98b57 (patch) | |
tree | 0ad95de1fe487fe4fe7ee18a262a7b17126168f4 /network/ufw/README | |
parent | 4151f1f5370dc05a82d7f90f73159ce7e6b13e71 (diff) | |
download | slackbuilds-5b6001da4905fe1ee47c4a39d730c2aa44a98b57.tar.gz |
network/ufw: Added (Uncomplicated Firewall)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'network/ufw/README')
-rw-r--r-- | network/ufw/README | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/network/ufw/README b/network/ufw/README new file mode 100644 index 0000000000..a961024e11 --- /dev/null +++ b/network/ufw/README @@ -0,0 +1,24 @@ +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. It is not intended to provide a complete firewall functionality via +its command interface, but provides an easy way to add or remove simple rules. + +To run ufw at boot you can add the following code to rc.local file: + +if [ -x /etc/init.d/ufw ]; then +/etc/init.d/ufw start +fi + +Rules can be added with ports, services or application names. To specify an +application you need a profile stored under /etc/ufw/applications.d directory. + +To add a profile create a app_name.INI file as the following: + +[Samba] +title=File/printer server for Unix +description=Samba is a collection of programs that implements the SMB/CIFS protocol for unix systems. +ports=137,138/udp|139,445/tcp + +Then, for example you can run: +ufw allow from xx.xx.xx.xx app samba + |