Passing environment variables to httpd in centos 7

In my previous Centos 6.10 server , I have been able to pass some environment variables to httpd by adding to /etc/sysconfig/httpd . ~/.envvars .envvars content is export MY_PASSWORD=’somepassword’ and then in http.conf SetEnv MY_PASSWORD ${MY_PASSWORD} and easily accessing the variable in php trough $_SERVER[‘MY_PASSWORD’] but after upgrading to Centos 7.7 this stopped working, in…

Forward VPN traffic to another server

I have 2 servers: server A: Public IP –> 104.x.x.x server B: Public IP –> 188.x.x.x server A has 2 VPN servers: Openvpn –> tun0 Wireguard –> wg0 tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500 inet 10.8.0.1 netmask 255.255.255.0 destination 10.8.0.1 inet6 fe80::ae7d:f7ab:615b:a78a prefixlen 64 scopeid 0x20<link> unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 100 (UNSPEC) RX packets 0 bytes 0 (0.0…