Tag: firewall

Ubuntu block an ip with iptables

Sometimes as a developer or server administrator you need to block certain IP addresses from accessing your server. In the example IP address that we will be using is going to be 0.0.0.0. The syntax …

Ubuntu Server behind Proxy / Firewall

Ubuntu Server behind Proxy / Firewall Make your environment aware of the local proxy sudo nano /etc/environment Add the following three lines to the environment file. http_proxy=http://127.0.0.1:3128 https_proxy=http://127.0.0.1:3128 ftp_proxy=http://127.0.0.1:3128 apt-get sudo nano /etc/apt/apt.conf.d/proxy Add the …