Admin... by accident!

You may have chosen to be an admin. I didn't!

  • Home
  • FreeBSD
  • GNU/Linux
  • Security
  • Network
  • Virtualization
  • Politics
  • Github
  • Donate
  • Me

The firewall

April 23, 2017 by Albert Valbuena

If you don’t know why you need a firewall it’s because you are not very tech savy. Don’t worry. You can discover by yourself why you need one. The router sitting in your house has one installed in it. And please don’t disable that by any mean. You can check why a firewall is important logging into your router. If you pick up your browser and point to the address http://192.168.1.1 it’s quite probable you find your router’s interface. But it’s also possible you can’t find any login option. It may be something like http://192.168.1.1/main.html. The user name and password can be easily guessed or even found in the manual or package that came with the device. You can try the following options:

Username: admin

Password: admin

Username: 1234

Password: 1234

Here a screenshot from one home use device:

The “embarassing” login prompt:

Yes, nobody told you. But you should change the administration password in your router. You can always reset the device to the factory state if you forget it, or the paper you wrote the password on gets fire.
Now. Somewhere in that interface there is a log capture system. It may be disabled. If it’s so turn it on. And come back 5 minutes later to read the logs. Take special care of reading the login attempts from the outside. Every minute your router is stopping someone (quite probably a bot nowadays) to get into your private network at home. In this era of new devices coming home with new capabilities such as internet connection this is more relevant than ever.
From those logs you can select a group of different ip’s. An IP is a number that computers understand and set a map for the streets and house numbers for the internet. Take one of those numbers and type in google: “whois” and the ip number. Like: “whois 78.265.39.48”. Now read one of the entries that google gave you. China? Russia? USA? It can come from anywhere on the planet and that address may not be the original one. But if the log states a login attempt from that address has been registered don’t doubt. Someone tried to reach access. It’s like having thousands of people a day knocking at your door.

This is a screenshot from a Telefonica’s home router where there are listed many blocked connections. The router’s firewall is doing its job correctly. Yes, some may be spiders from search engines, but others, may others indeed, are trying to mess around into your network. You really don’t want them.

Many operating systems, even those which are believed to be super safe as Ubuntu or even FreeBSD come with the firewall down. Windows and Mac too. That means there is nothing protecting them from those logins. And this has a very good reason. Nowadays computers are behind routers equipped with firewalls and the ISP’s are working hard to maintain their networks safe.

If as a manufacturer you would set the firewall on by default in any device one sure thing would happen. The user would find problems using it and they will come to the conclusion the device is broken. But it wouldn’t. It’d be protecting them. Since the majority of us is not tech savvy it’s believed to better have the firewall down. At least the router your ISP lend you will be protecting you. So don’t worry too much.

But you are setting your own UNIX workstation, aren’t you? Or maybe you are playing with a VPS (Virtual Private Server) you recently bought. Do you pretend to serve web pages from this server? Set a Firewall the minute you have that machine on and connected to the internet. This is mandatory, specially if you are installing a web server. Not doing so is considered negligent.

If you find the articles in Adminbyaccident.com useful to you, please consider making a donation.

Filed Under: FreeBSD, GNU/Linux, Security

Recent Posts

  • How to install Redis for WordPress on FreeBSD
  • How to compile cloudflared in FreeBSD 13/14
  • How to configure FreeBSD to use a webcam (version 12 and 13)
  • Symbolic and Hard Links in UNIX and Linux
  • How to import iocage jails to Bastille on FreeBSD 13
  • How to load and unload kernel modules in Linux
  • How to use find in GNU/Linux and FreeBSD
  • How to install Mate on FreeBSD 12/13
  • How to install Nessus 10 on FreeBSD 12
  • How to enable TLS traffic from the origin server on Cloudflare Argo Tunnel
  • How to use Cloudflare’s Argo Tunnel service to publish a website on FreeBSD 12/13
  • How to setup MariaDB master-slave replication on FreeBSD
  • How to upload a FreeBSD custom image on DigitalOcean
  • How to install Drupal 9 on FreeBSD 13.0
  • How to manage site visitors based on IP Geolocation
  • How to enable Geolocation in AWStats on FreeBSD 13.0
  • How to install AWStats on FreeBSD 13.0
  • How to configure Modsecurity 3 for WordPress on FreeBSD
  • How to configure Apache HTTP with a TLS reverse proxy backend on FreeBSD
  • How to detect a WAF – Web Application Firewall

Archives

  • November 2024
  • October 2024
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • February 2023
  • January 2023
  • December 2022
  • April 2022
  • March 2022
  • October 2021
  • September 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • September 2018
  • June 2018
  • May 2018
  • April 2018
  • February 2018
  • January 2018
  • November 2017
  • April 2017

RSS Admin… by accident!

  • How to install Redis for WordPress on FreeBSD
  • How to compile cloudflared in FreeBSD 13/14
  • How to configure FreeBSD to use a webcam (version 12 and 13)
  • Symbolic and Hard Links in UNIX and Linux
  • How to import iocage jails to Bastille on FreeBSD 13
  • How to load and unload kernel modules in Linux
  • How to use find in GNU/Linux and FreeBSD
  • How to install Mate on FreeBSD 12/13
  • How to install Nessus 10 on FreeBSD 12
  • How to enable TLS traffic from the origin server on Cloudflare Argo Tunnel

Copyright © 2025 · Magazine Pro Theme on Genesis Framework · WordPress · Log in