Chris PeBenito 17de1b
## <summary>full-featured SSL VPN solution</summary>
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
## <summary>
Chris PeBenito 17de1b
##	Allow the specified domain to read
Chris PeBenito 17de1b
##	OpenVPN configuration files.
Chris PeBenito 17de1b
## </summary>
Chris PeBenito 17de1b
## <param name="domain">
Chris PeBenito 17de1b
##	<summary>
Chris PeBenito 17de1b
##	Domain allowed access.
Chris PeBenito 17de1b
##	</summary>
Chris PeBenito 17de1b
## </param>
Chris PeBenito bbcd3c
## <rolecap/>
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
interface(`openvpn_read_config',`
Chris PeBenito 17de1b
	gen_require(`
Chris PeBenito 17de1b
		type openvpn_etc_t;
Chris PeBenito 17de1b
	')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
	files_search_etc($1)
Chris PeBenito c0868a
	allow $1 openvpn_etc_t:dir list_dir_perms;
Chris PeBenito c0868a
	read_files_pattern($1,openvpn_etc_t,openvpn_etc_t)
Chris PeBenito c0868a
	read_lnk_files_pattern($1,openvpn_etc_t,openvpn_etc_t)
Chris PeBenito 17de1b
')