diff options
author | Marco Cecchetti <mrc.ildp@gmail.com> | 2010-05-12 23:32:51 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 23:32:51 +0200 |
commit | a349398ca95608852ad5c8ede3ce260741a88766 (patch) | |
tree | d4e29cc0d708300b533e72636266761348adc722 /network/ufw/README | |
parent | eb42fe905b911cc35ad7de7014a332dc853657fe (diff) |
network/ufw: Added to 12.2 repository
Diffstat (limited to 'network/ufw/README')
-rw-r--r-- | network/ufw/README | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/network/ufw/README b/network/ufw/README new file mode 100644 index 000000000000..2b700eefe685 --- /dev/null +++ b/network/ufw/README @@ -0,0 +1,28 @@ +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 + + + + + |