Linux

How to: run a speed test every hour and log it into a file on Linux

Automating speed test to diagnose any potential networking issues such as congestion or capacity has never been easier. Nowadays, there are many solutions available that can be utilized whether on your internal LAN or through the internet. The easiest way of gauging your internet connection speed would be from speedtest.net. Here’s how you can set it up over on a Linux machine.

How to: Use iptables for port forwarding

Routers contain a pre-defined port forwarding function that allows you to forwards certain ports to computer or devices on your local network. In most cases, these routers are nothing but computers designed to move data from one port or another. Also, the routers are most likely running a variant of Linux and that the firewall is running iptables. Here’s how you can foward ports to hosts on a Linux machine using iptables.