Iptables

Install IPP2P in Debian Etch to Block P2P

What is IPP2P

The goal of the IPP2P project is to identify peer-to-peer (P2P) data in IP traffic. For this purpose we extended the iptables/netfilter architecture by a new matching module. Thereby IPP2P integrates itself easily into existing Linux firewalls and it's functionality can be used by adding appropriate filter rules.  full story »

Ubuntu and Debian Internet Gateway (IP Masquerading)

This is a step by step tutorial how to make an Internet Gateway using Debian or Ubuntu machine.

1. Configure your NIC

Add two network cards to your pc and install Debian or Ubuntu (I will prefer Debian etch or Ubuntu Dapper). Configure the ip address of your network cards.

vi /etc/network/interfaces

Your network card configuration should be look like this:  full story »

Make your CentOS 4 box acting as an Internet Gateway/Router using IP Masquerading

What is IP Masquerading?

IP Masquerade is a form of Network Address Translation or NAT which NAT allows internally connected computers that do not have one or more registered Internet IP addresses to communicate to the Internet via the Linux server's Internet IP address. The software interface which enables one to configure the kernel for IP masquerading is iptables.

To configure IP Masquerading, you need to have two LAN cards, a PC with CentOS 4 Linux installed.
Install the LAN cards and configure the IP address of your public and private network.

1. Configure the IP address of your public network, it should be similar like this one.  full story »