there used to be a nice tool called quicktables which was a simple script that asked you some simple questions to build a basic ruleset based upon your answers.
Then you can customize to your needs.
it stopped being developed a few years ago but you can still download it.
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.
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.
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.
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.
Super tutorial... Got the basics...
Cheers buddy... Expecting more from you...
:-)
izmufreq 4 months ago
thanks a lot !!!!!!!
rahul88051 4 months ago
Nice one. Added to the list sysadmin.md/iptables.html
wwwwpmd 4 months ago
wonderful work, thank you so much Master :D
namphong2036 9 months ago
there used to be a nice tool called quicktables which was a simple script that asked you some simple questions to build a basic ruleset based upon your answers.
Then you can customize to your needs.
it stopped being developed a few years ago but you can still download it.
zzsql 10 months ago
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.
kirktolliver 2 years ago 6
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.
linuxservers 2 years ago
INPUT through firewall?????? What?? OUTPUT through FIREWALL??? Forward through other host??? NONONONONONONONON PLease d´ont help us!!!!!
javier9185 2 years ago
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
thablackmarkit 2 years ago
input = Dest. Firewall
output = Source Firewall
Forward = through firewall
sannitig 2 years ago
fascinating.
/me bookmarks
thablackmarkit 2 years ago
why don't you just do IPTABLES=`which iptables` instead of using whereis? This way is more portable too.
patcito 3 years ago
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.
pdwalker 3 years ago
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.
patcito 3 years ago 8
@patcito this is ok if you realize that somebody hacked your system, but it happen very often not to realize that.
xxxJohnutzxxx 4 months ago
VERY VERY NICE!! I LOVE VIDEO TUTORIALS!! GREAT WORK! want more :)
axel1973w 3 years ago 3
nice tutorial , would be even better if i could see all the letters
patriot1369 3 years ago 3
yepp, vi's colorsheme is to dark. the blue letters is as good as not, the pink ones really hard to see.
ikemkrueger 3 years ago