Linux Entropy – Usefull For Your Mail Server

List available entropy If you are not sure, whether you need haveged, run: # cat /proc/sys/kernel/random/entropy_avail This command shows you how much entropy your server has collected. If it is rather low (<1000), you should probably install haveged Resources: https://wiki.archlinux.org/index.php/Haveged https://www.digitalocean.com/community/tutorials/how-to-setup-additional-entropy-for-cloud-servers-using-haveged  

How To Route SSL Traffic With Nginx

This is the code in /etc/nginx/conf.d/default.conf: server { listen 443; ssl on; server_name subdomain.vpsbox.com; ssl_certificate /var/lib/lxc/lxc_container/rootfs/etc/apache2/cert.crt; ssl_certificate_key /var/lib/lxc/lxc_container/rootfs/etc/apache2/cert.key; location / { proxy_pass https://10.0.3.2:443; proxy_set_header X-Forwarded-Proto https; add_header Front-End-Https on; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_buffering off; proxy_redirect off; } } Note: nginx (on the main host) is using same ssl certificate as … Read more

How To Setup OpenVPN In Ubuntu14.04 LXC Behind Nginx Reverse Proxy With Squid Proxy Used As AdBlocker

The objective for today is: Setup OpenVPN in lxc in Ubuntu 14.04 Setup Squid Setup Nginx Reverse Proxy Block Ads With Squid This is not a step–by-step tutorial but an article full of detailed notes ad resources for the steps I’ve made to get this job done. So I’ve started from here: system Ubuntu 14.04 … Read more

Install OpenVpn On Your VPS Box In 5 Minutes

Just use this script: https://github.com/Angristan/OpenVPN-install wget https://raw.githubusercontent.com/Angristan/OpenVPN-install/master/openvpn-install.sh chmod +x openvpn-install.sh   Generate your openvpn certs buy running again ./openvpn-install.sh Send them via email with mutt (not to safe but convenient). Install your openvpn clients.