Routing Forward IP

It looks like you’re configuring some iptables rules for routing and forwarding traffic between two networks with specific IP address ranges. These rules are designed to allow traffic to flow between the “wi.red.net.work” network and the “wire.less.net.work” network through two interfaces, “eth0” and “wlan0.”

Here’s a breakdown of the rules you’ve provided:

  1. The first rule:

    iptables -I FORWARD -i eth0 -o wlan0 -s wi.red.net.work/24 -d wire.less.net.work/24 -j ACCEPT

    This rule allows traffic coming from the “wi.red.net.work” network (source) going to the “wire.less.net.work” network (destination) to be forwarded from the “eth0” interface to the “wlan0” interface. The -j ACCEPT part at the end indicates that this traffic should be accepted and forwarded.

How to Map a Network Drive Onto Ubuntu 14.04 Permanently

Published on August 11, 2014

Network Drive Mapping

In this simple tutorial, we will guide you on how to map a network drive, using a Windows share as an example, onto Ubuntu 14.04 LTS with read and write permissions permanently. We will be performing all actions in a terminal window. If you’re not familiar with Linux commands, don’t worry; just paste the provided commands into the terminal and hit enter to execute them. We will also include screenshots to make the process clearer.

How to Send Postfix Email With a Custom Form Name Using the -R Option

When it comes to sending email notifications from a server, it’s important to convey information in a clear and recognizable manner. In this article, we’ll explore how to send a Postfix email with a custom form name using the -r option. This will allow us to define a sender name that helps recipients easily identify the source of the email. We’ll go through the process step by step, explaining each component and its significance.

Sharing a Folder With Samba on Unity

Sharing folders using Samba on a Unity desktop environment is a convenient way to enable file sharing between Linux and Windows systems. Samba is an open-source software suite that provides seamless integration between Linux/Unix servers and Windows clients. Here’s a step-by-step guide on how to share a folder using Samba in the Unity desktop environment:

Step 1: Install Samba

If you haven’t already, you need to install Samba on your system. Open a terminal and run the following command to install Samba:

Automatic Screen for SSH Login

You can enhance your SSH experience by automatically starting a screen or byobu session when you log in via SSH. This can help you maintain your sessions, especially when working on remote servers. Here’s how to set it up:

  1. Edit Your ~/.bashrc File: Open your ~/.bashrc file for editing using your preferred text editor. You can use a command like nano ~/.bashrc or vim ~/.bashrc.

  2. Add the following code snippet to the end of your ~/.bashrc file:

CHMOD Directories or Files Only

When you need to modify file permissions recursively in a directory, you can use the chmod command along with the find command in Linux. Here are some commonly used commands to give different permissions to directories and files:

Recursively Give Directories Read & Execute Privileges

To recursively give directories read and execute privileges (755), you can use the following command:

0%