[Novalug] ufw applications.d syntax

Mark Smith mark@winksmith.com
Mon Sep 13 04:38:03 EDT 2010


i can represent three CIDR/24 blocks for networks which i can accept
all kinds of requests.  i think the ufw concept of applications is kinda
neat too.  i was hoping someone here had a handle on how to update the
/etc/ufw/applications.d/* files to accept ports from several different
networks.  it doesn't seem to support it.

for instance, it woudl be nice to make this:

	To                         Action      From
	--                         ------      ----
	Dovecot Secure IMAP        ALLOW       Anywhere

into this:

	To                         Action      From
	--                         ------      ----
	Dovecot Secure IMAP        ALLOW       192.168.1.0/24
	Dovecot Secure IMAP        ALLOW       192.168.2.0/24
	Dovecot Secure IMAP        ALLOW       192.168.3.0/24

the documention isn't really straight forward in this regard.
seems like you can't do it.  i'm setup already in the fw department.

-- 
Mark Smith
mark@winksmith.com
mark@tux.org



More information about the Novalug mailing list