AI
Size: a a a
AI
RP
AI
[root@holod server]# ./client-connect.sh
Client have connected to : via and received local ip .
Authorized on account steellocalbot...
Message is send to chat OldCity #-190694387!
Notification send
AI
AI
AI
AI
RP
RP
RP
AI
AI
RP
AI
module openvpn2 1.0;
require {
type bin_t;
type firewalld_t;
type openvpn_t;
class dbus send_msg;
class file execmod;
class process execmem;
}
#============= firewalld_t ==============
allow firewalld_t openvpn_t:dbus send_msg;
#============= openvpn_t ==============
#!!!! This avc is allowed in the current policy
allow openvpn_t bin_t:file execmod;
#!!!! This avc is allowed in the current policy
allow openvpn_t firewalld_t:dbus send_msg;
allow openvpn_t self:process execmem;
AI
AI
AI
cat /var/log/audit/audit.log | grep vpn | audit2allow -M openvpn3
AI
#!/usr/bin/env bash
set -e
# Good read https://unix.stackexchange.com/a/469005/229266
/usr/bin/telegramnotify send "Client $X509_0_CN have connected to $local_port_1:$proto_1 via $trusted_ip and received local ip $ifconfig_pool_remote_ip." oldcity
exit 0
[K