badstation.blogg.se

Iptables tutorial
Iptables tutorial








iptables tutorial iptables tutorial iptables tutorial

Packets within a networkīefore we start to manipulate packets we have to take at look at their main attributes. However, I do not claim my presented solutions to be the most intelligent, most powerful or the most ingenious ones, they shall rather be understood as a proof of concept. After that I would like to present some further possibilities like redirection or how to circumvent restrictive proxies. After a short overview of the possibilities of the (Linux-)kernel I will jump right into the main area of application of NAT, namely the connection of a private subnet to the internet using a router (in our case a linux machine with iptables). This introduction does not claim to be complete or covering all details, its main purpose is to provide the reader a feeling for what is possible and meaningful in modern computer networks and what is not.įirst of all the structure of an IP-packet will be considered. This tutorial should explain what Network Address Translation is about, what to use it for and how to configure it under Linux (or more generally Unix-derivates). Network Address Translation generally involves "re-writing the source and/or destination addresses of IP packets as they pass through a router or firewall" (from ) NAT - Network Address Translation Introduction










Iptables tutorial