casgenius.blogg.se

Iptables tutorial
Iptables tutorial







In a future guide (focusing on more advanced IPtables) I will be focussing on things like NAT. This is where most common filtering takes place. I’m going to be focussing on the filter table this time. nat: this is where Network Address Translation is regulated/handled.filter: this is where packets may be filtered.raw: this is the first place packets go through, unaltered.IPtables contains four tables, each of which contains chains. Let’s start with explaining what tables and chains are, as they are a fundamental concept in IPtables. This is a bit of a theoretical tutorial, but understading how IPtables works helps a lot in working with it or in debugging problems with it. However, iptables functions mostly the same for both.

iptables tutorial

The IPv4 and IPv6 packets are quite different from each other, thus each needing an own firewall. The former is for IPv4 while the latter is for IPv6. IPtables has two “versions”: iptables and ip6tables. It’s an extremely powerful tool to protect your server from unwanted access. More specifically, it can filter based on source, packet type, protocol, port, connection status and more. IPtables is a software firewall that can filter out certain types of traffic.

iptables tutorial

This time, I’m going to talk about IPtables. This tutorial is another part in a series of a security-related tutorials.









Iptables tutorial