Tag: Security

Apache2 server administration – Handy guide

1- To restrict access to a port from certain ip address root@docker-adb-01:~# cat /etc/apache2/sites-enabled/000-default.conf ServerAdmin webmaster@localhost DocumentRoot /var/www/html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined < Directory /var/www/html/> Order Deny,Allow Deny from all Allow from your_ip_address_1 Allow from your_ip_address_2 < /Directory> < /VirtualHost> Then, you will only allow your ip addresses to access to your apache server …


Configure OpenVpn [Author’s experience] – Part1

1. Firstly, we need to download the lastest version of openVpn online. Under this website: https://openvpn.net/index.php/open-source/downloads.html For dev-based linux distribution (like Ubuntu), we will need to download the file: <file.name>.tar.gz 2. Secondly, we will need to install some missing dependences. Some of commons openvpn required dependences are: . “ssl is required but missing openvpn” $ …