summarylogtreecommitdiffstats
path: root/openvpn.install
diff options
context:
space:
mode:
Diffstat (limited to 'openvpn.install')
-rw-r--r--openvpn.install4
1 files changed, 4 insertions, 0 deletions
diff --git a/openvpn.install b/openvpn.install
index 09ded1e5f121..2202bd4a80a3 100644
--- a/openvpn.install
+++ b/openvpn.install
@@ -10,3 +10,7 @@ post_upgrade() {
echo " so remove 'user' and 'group' directives."
echo ' Scripts that require elevated privileges may need a workaround.'
}
+
+post_install() {
+ setcap cap_net_raw,cap_net_admin+eip /usr/bin/openvpn
+}