Reverse SSH Tunneling

Reverse SSH TunnelingHave you ever wanted to ssh to your Linux box that sits behind NAT? You can to that by using reverse SSH tunneling. This document will show you step by step how to set up reverse SSH tunneling. The reverse SSH tunnel should work fine with any Unix like system.Setup a Reverse SSH TunnelLet’s assume that Destination’s IP is 192.168.20.55 (Linux box that you want to access).You want to access from Linux client with IP 138.47.99.99.Destination (192.168.20.55) <- |NAT| <- Source (138.47.99.99)1. SSH from the destination to the source (with public IP) using the command below:ssh

Read More »
Installing Network Simulator 2 (NS2) on Ubuntu 14.04

Installing Network Simulator 2 (NS2) on Ubuntu 14.04

Installing Network Simulator 2 (NS2) on Ubuntu 14.041 IntroductionNetwork simulators are tools used to simulate discrete events in a network and which helps to predict the behaviours of a computer network. Generally the simulated networks have entities like links, switches, hubs, applications, etc. Once the simulation model is complete, it is executed to analyse the performance. Administrators can then customize the simulator to suit their needs. Network simulators typically come with support for the most popular protocols and networks in use today, such as WLAN,UDP,TCP,IP, WAN, etc.Most simul

Read More »
How to Install Nagios 4.0.8 on Ubuntu 15.04 (Vivid Vervet)

How to Install Nagios 4.0.8 on Ubuntu 15.04 (Vivid Vervet)

How to Install Nagios 4.0.8 on Ubuntu 15.04 (Vivid Vervet)Nagios is an open source software for system and network monitoring. Nagios can see the activity of a host and its services, and provides a warning/alert if something bad happens on the server. Nagios can run on Linux operating systems. At this time we are using Ubuntu 15.04 for the installation.PrerequisitesUbuntu 15.04 – 64bitRoot/Sudo accessWhat we will do in this tutorial:Installing package is needed – LAMP etc.User and group configurationInstalling NagiosConfiguring ApacheTesting Nagios ServerAdding a Host to MonitorInstalling pack

Read More »
Build your own NAS with OpenMediaVault

Build your own NAS with OpenMediaVault

Build your own NAS with OpenMediaVaultOpenMediaVault is a Debian based special purpose Linux Distribution to build a Network Attached Storage (NAS) System. It provides an easy to use web-based interface, Multilanguage support, Volume Management, Monitoring and a plugin system to extend it with LDAP, Bittorrent, and iSCSI capabilities. This tutorial describes the installation and configuration of OpenMediaVault.Prerequisites for this tutorialPC with 32 or 64Bit Intel processor.Min. 1GB RAM.2 Harddisks (or one hard disk with 2 partitions). OpenMediaVault requires a separate disk or partition for

Read More »
How to install a wireless hotspot with captive page on Linux using CoovaChilli

How to install a wireless hotspot with captive page on Linux using CoovaChilli

How to install a wireless hotspot with captive page on Linux using CoovaChilliThe purpose of this article is to demonstrate how you can turn a Linux based computer or laptop into a wireless hotspot where users can be authenticated via a captive portal page. For this task, the primary controller software will be CoovaChilli. This software is an ideal hotspot management solution for hotels, restaurants, supermarkets, parks, and any place offering WiFi Internet.PrerequisitesA Linux distribution. In this article, I will be using Fedora 20. Later versions 21/22 should work fine.Development librarie

Read More »

Thoughts on Monitoring file changes with Linux over the network

Thoughts on Monitoring file changes with Linux over the networkMonitoring a directory for changes with Linux is possible through the well-known mechanism inotify. With inotify it’s possible to set a watch on a directory, configure it to watch events on the contents, and you’ll receive messages on a file descriptor when something happens. This works perfectly when the directory is on local storage, like a hard drive, SSD or a USB drive, But it is not sufficient when the directory is on a network filesystem when the storage is on another computer. Another user working in the same directory, conn

Read More »
GNS3 – Emulating Network Infrastructure on Debian 8.2

GNS3 – Emulating Network Infrastructure on Debian 8.2

GNS3 – Emulating Network Infrastructure on Debian 8.2GNS3 (Graphical Network System 3) is an emulation software that let’s you see the interaction of network devices in a network topology. It is mainly used for training in International Network Certifications and it is the Open source alternative to the Cisco Packet Tracer Software and it has some additional functions like interacting with Virtual Machines, Docker emulation, etc.In this tutorial, I will show you the basis to install and operate this software. The GNS3 version that will be used in this tutorial is the 1.5.1, on a Debian 8.2 (Je

Read More »
How to Install Nagios Server Monitoring on Ubuntu 16.04

How to Install Nagios Server Monitoring on Ubuntu 16.04

How to Install Nagios Server Monitoring on Ubuntu 16.04Nagios is an open source software for system and network monitoring. Nagios can monitor the activity of a host and its services, and provides a warning/alert if something bad happens on the server. Nagios can run on Linux operating systems. At this time, I’m using Ubuntu 16.04 for the installation.Prerequisites2 Ubuntu 16.04 – 64bit servers1 – Nagios Host with IP: 192.168.1.92 – Ubuntu Client with IP: 192.168.1.10Root/Sudo accessWhat we will do in this tutorial:Software the package dependencies like – LAMP etc.User and group configuration.

Read More »

How to configure failover and high availability network bonding on Linux

How to configure failover and high availability network bonding on LinuxThis tutorial explains how to configure network bonding on Linux server. Before I start, let me explain what network bonding is and what it does. In a Windows environment, network bonding is called network teaming, this is a feature that helps any server architecture to provide high availability and failover in scenarios were one of the main ethernet cable has a malfunction or is misconfigured.Normally, it is a best practice and a must have feature to be implemented when you set up a server for production purpose. Eventhou

Read More »

Install and configure DRDB for network filesystem replication on Debian 8

Install and configure DRDB for network filesystem replication on Debian 8Let’s talk about Network Filesystem Replication.Network filesystem replication is often used today in many scenarios:Replication of a filesystem for security reasons: if one node fails, the other node is accessible.To replicate a filesystem to another company headquarter, so each emplyee has access to his data locally and not through a public network. But if he goes to the other headquarter he has all his data, and again he can access locally.As you can imagine, this kind of system is often used to build filesystems for c

Read More »