Categorized | Linux

Mastering IPTables, Part I

Posted on 30 July 2010 by Abidoon


Linux Journal Presents: Linux comes with a powerful firewall built-in, although the interface can be a little intimidating. This is the first in a multi-part tutorial on how to master basic and not-so-basic IPTables functionality and create the perfect firewall for your home network.

Tags | , ,

12 Responses to “Mastering IPTables, Part I”

  1. sannitig says:

    input = Dest. Firewall
    output = Source Firewall
    Forward = through firewall

  2. kirktolliver says:

    This has to be one of the most comprehensible tutorial on iptables i’ve seen anywhere. Thank you for shining the light on this subject. Looking forward to wacth your future vids.

  3. thablackmarkit says:

    lol i found a neat book,
    amazon* c o m/Linux-Firewalls-Detection-Response-iptables/dp/1593271417/ref=sr_1_1?ie=UTF8&s=books&qid=1242065650&sr=1-1

  4. linuxservers says:

    I understand that – Input Chain match packets wich destination is the Firewall itself and OUTSIDE Chain match packets that were originated inside of the Firewall, Forward chain is for packets that pass through it.

  5. javier9185 says:

    INPUT through firewall?????? What?? OUTPUT through FIREWALL??? Forward through other host??? NONONONONONONONON PLease d´ont help us!!!!!

  6. thablackmarkit says:

    fascinating.

    /me bookmarks

  7. patcito says:

    If someone would have access to my machine and be able to change the path of iptables which would mean that the intruder probably has root access to my machine, I think that would mean I’m already screwed and the intruder can do whatever he wants. An absolute path wouldn’t help at all.

  8. pdwalker says:

    That would be a potential security hole, especially if someone is able to manipulate the system path and place another “iptables” executable somewhere else on your system that gets run instead. You always explicitly declare your paths for maximum safety.

  9. patcito says:

    why don’t you just do IPTABLES=`which iptables` instead of using whereis? This way is more portable too.

  10. ikemkrueger says:

    yepp, vi’s colorsheme is to dark. the blue letters is as good as not, the pink ones really hard to see.

  11. axel1973w says:

    VERY VERY NICE!! I LOVE VIDEO TUTORIALS!! GREAT WORK! want more :)

  12. patriot1369 says:

    nice tutorial , would be even better if i could see all the letters


Leave a Reply