Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


openvpn_selinux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
openvpn_selinux [2013/06/13 12:56] adminopenvpn_selinux [2021/10/09 15:14] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +{{tag>[centos security openvpn]}}
 +
 +=====OpenVPN SELinux=====
 Keys in /etc/openvpn/easy-rsa/keys Keys in /etc/openvpn/easy-rsa/keys
  
Line 6: Line 9:
 Set context Set context
   semanage fcontext -a -t home_cert_t "/etc/openvpn/easy-rsa/keys(/.*)?"   semanage fcontext -a -t home_cert_t "/etc/openvpn/easy-rsa/keys(/.*)?"
 +  semanage fcontext -a -t openvpn_etc_t "/etc/openvpn/easy-rsa"
 +  semanage fcontext -a -t openvpn_etc_t "/etc/openvpn/easy-rsa/keys"
 +  
   restorecon -R -v /etc/openvpn/easy-rsa/keys   restorecon -R -v /etc/openvpn/easy-rsa/keys
  
openvpn_selinux.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1