Best video I've actually seen on this. For those that are going to use this you can try. For all others wanting to have an Idea on syntax -N is to create new policy -I is insert into the policy chain(putting at top) -J is to jump to policy chain -L list policy (-n with out name resolution , -v verbose) -A append to end of policy -s source ip/host -d destination ip/host --dport destination port --sport sourceport --dports 0:65535 multiple ports --src-range/--dst-range 192.168.1.100-192.168.1.200 ip ranges
@Israel7778883 жыл бұрын
Gracias por la lista! Sabes si estos comandos de iptables funcionan en cualquier distro de Linux, como Ubuntu?
@CocaColaCan332 жыл бұрын
what does -j do?
@SourceCodeDeleted2 жыл бұрын
@@CocaColaCan33 chances are -j is for jump to policy chain.
@Pzdrs3 жыл бұрын
tf this is literally more useful than a 45min class
@techsupport56373 жыл бұрын
Yes
@N0Xa880iUL9 ай бұрын
Most classes usually cater to the lowest common denominator. Most peeps from the class don't understand nor grasp this quickly. That's why.
@J2897Tutorials8 жыл бұрын
Sorry to hear about your girlfriend.
@J2897Tutorials8 жыл бұрын
Nice to hear about the swift replacement.
@BurgerKingNationalist5 жыл бұрын
me too
@YourModulesMayVary4 жыл бұрын
the best analogy for iptables ever! genius :-)
@CowboyPilot792 жыл бұрын
Hate to tell you this but she's in the house with you
@robpalomo5 жыл бұрын
The GF part was oddly specific.
@THATWASDOPE3 жыл бұрын
I hope he continues working on this serie he's helpful and funny af xD
@dudemann79479 жыл бұрын
Your channel is so damn good man, really easy to learn and understand. I don't have the words to express it anymore. You should have like a million subs, probably the best teacher about computers here on KZbin :]
@keineahnungnet9 жыл бұрын
he has 988k subs :P
@Robin-on6vo9 ай бұрын
@@keineahnungnetHe has 2 millions now !
@eliasforamitti8 жыл бұрын
I searched the Internet a lot for such a tutorial. This is the best online computer networking tutorial I think. Please continue!!! You could tell us something about Protocols eg (in general and some important Protocols in detail)
@fabianvilela95275 жыл бұрын
I always love your backstories with everything lol. Keep it up.
@thedoctor30185 жыл бұрын
This is the coolest tutorial I've ever seen so far O_O . Thank you fam !!!
@pgaikwad066 ай бұрын
I cant imagine Bucky, the girlfriend example you took to explain the concept got into my head straight. Thanks mate
@PoeLemic4 жыл бұрын
Thank you for this tutorial. I'm trying to learn how to setup a mail server. And, it's not so easy, coming from a Windows background. But, I'm trying to get into Linux and learn. So, this simple tutorial about iptables is very helpful for me to build up the basic knowledge. Again, thank you. You are a very good teacher.
@mariopereztexas6 жыл бұрын
Thanks Bucky, this is the best iptables tutorial I have had; it was both funny and informational. Good luck with the ladies brother
@oussamaml41616 жыл бұрын
wow , this is exactly what i was looking for , i studied this two weeks ago in college but didn't understand a damn thing , now i do , tnx a lot
@oussamaml41616 жыл бұрын
i'm back again , i need this for another exam thanx again
@r7yz9 жыл бұрын
Started from video 1 and now I'm here! Really enjoyed your series Bucky and hope you continue it!
@golamrabbani62119 жыл бұрын
+Ryan Zhou I just watched whole 40 videos within 2 days :D got some problem understanding some terms in somewhere but no problem will be clear in some other tutorials ;)
@zsumr11 ай бұрын
thanks man, i started my studies again and this is helping alot
@themedleb3 жыл бұрын
11:06 Wait ... Did you say "I will smell you next time"? lol
@Danjovisagat2 жыл бұрын
Dropping a single rule is what I needed and you delivered. Thank you.
@governingchildren2 жыл бұрын
IPtables has never been more interesting in my life
@tridenda24593 жыл бұрын
I won't ever forget the analogy. lol Thank you so much, everything is clear right now.
@aminjamous26738 жыл бұрын
Hey Bucky, I have seen all your vids in one session. Thanks a lot mate. Great job and effort, easy and smooth. Head up and waiting for your next vids. > liked and shared!
@ealvinoq4 жыл бұрын
Awesome! Friend, nice, funny tutorial, it highlight from the rest. You should be famous now.
@PsyArkron2 жыл бұрын
1:20 Actually there are five chains, not three. But you're looking at the filter table, which only has those three available. Look at the mangle table and you'll see all of them. There are more tables (five) and more chains (also five).
@weedlax69386 жыл бұрын
I never comment on any post , videos or anything but have to say. " You 're a legend" XD
@junolee82319 жыл бұрын
How does Bucky know so much stuff?
@CodeJackk9 жыл бұрын
+Juno Lee He's had a lot of years to learn. Before each video he probably researches it from text tutorials to refresh his mind, because I doubt he can remember everything in all his KZbin videos.
@KarlWakimLeb6 жыл бұрын
His information is not that good.
@Dummour6 жыл бұрын
Man, wtf, these series ended on the best part when multiple networks get into contact.
@medsabkhi71892 жыл бұрын
this was helarioussss, thank you so much man, you've helped me with my network security exam xD
@garys36734 жыл бұрын
Great GF example, really impressive.
@hayderh.9524 жыл бұрын
Brilliant tutorial!
@meghaumesha38495 жыл бұрын
Great Tutorial.
@hawejago5 жыл бұрын
This tutorial are briliant! please make another one about routing :D
@naty6855 жыл бұрын
loved your examples LOL
@GarjiO7 жыл бұрын
Crazy heroin addict girlfriend example was the milestone of the video! You are awesome Bucky!
@edenr19886 жыл бұрын
that was defiantly your best video, "now..she and all of her crazy friends now send me an email.." lmfao
@sashwin926 жыл бұрын
Andrei Neagoie's Hackernoon post got me to this Tutorial !!
@naveennaidu97686 жыл бұрын
Thanks for an awesome video Bucky!! Loved it.
@roberttortaras99527 жыл бұрын
Very well done. This is very similar to Cisco ACL's. Thumbs up.
@premgondode83643 жыл бұрын
i wish i could explain the same scenario in an interview cozit is just superb to remember . thanks bucky
@shamrock66443 жыл бұрын
More in this series/playlist please
@IvanStipic_Stiiv4 жыл бұрын
Always fun to watch!
@m.saifulislamtito78695 жыл бұрын
Nice explanation in the easy way to others understanding. Thank you.
@johnreimers43583 жыл бұрын
This was so helpful man thank you! Sorry about your lady issues.
@summertime59099 жыл бұрын
Bucky rules the world of computers!!
@ngoctintran85836 жыл бұрын
Your tutorial is so great. It helps me a lot. I'm waiting for your next video.
@90hijacked5 жыл бұрын
Why is this the last video in the playlist? Weren't you gonna cover routing/forwarding?
@bigo0255 жыл бұрын
Very very very nice explanation
@djsharpey6 жыл бұрын
Very concise video. Thanks for posting 👏
@ipv4subnet6282 жыл бұрын
Excellent video very helpful!
@TechFreak513 жыл бұрын
Awesome... THANK YOU... To the point an VERY helpful !!!
@FacePalmProduxtnsFPP3 ай бұрын
This specific example only shows blocking IPs within your local network not WAN... JUST to clarify 192.168.x.x is standard for LAN... but the pattern matches... Also for the example with email, this would only apply if you were hosting your own email server and setting filters to the email server itself, typical email has this feature built in to email settings under "filters" "rules" or similar. But the pattern shows network filtering.
@montazfilmpolska4945 Жыл бұрын
this is so funny XDXD it's easier to undarstand because of the humor :)
@Nihillius2 жыл бұрын
yoo...you are damnnn...nice strategy huh ❤i understand from you more easily
@enricocialdini61949 ай бұрын
2:11 When I see Forward do I have to set Forward=1 in sysctl file?
@JV-sl3ks5 жыл бұрын
Man! thanks bunch for the amazing video!
@dhwanisondhi8635 Жыл бұрын
Really good explanation thanks
@rahulsaha28598 жыл бұрын
waiting for more
@FXSTRIDDA8 жыл бұрын
me too, still waiting hahaha
@patrasculucian24037 жыл бұрын
maybe in 2018
@stefanspinu87846 жыл бұрын
still waiting...
@patrasculucian24036 жыл бұрын
Maybe in 2019..
@spinosaurusbot49745 жыл бұрын
still waiting... maybe in 2020?
@RandomShowerThoughts5 жыл бұрын
Thank you so much for the amazing tutorial buddy
@hv33003 жыл бұрын
Awesome .Just a quick question what does -j signify?
@RavenValkyrie6 жыл бұрын
I like this guy, he's funny 🤣
@mdafzalahmed46752 жыл бұрын
Great explained thanks 👍
@marcojansen67443 жыл бұрын
this is really usefull(even in 2021 XD), thanks man!
@jeremygerbert6143 жыл бұрын
blocking port 25 will only allow you to drop packets going out haha. SMTP is for sending mail gotta block IMAP or POP3 LMK if im wrong only been into computers for 2.5 years
@chanakawijerathna80104 жыл бұрын
thank you.superb video set
@ahora10266 жыл бұрын
Dude, why did you stopped your networking tutorial here! we want some more of this. at least cover the FORWARD of iptables. you gave the best understanding of iptables and so for networking. please!
@AmanKumar-vc2hi3 жыл бұрын
Is this series complete? I want to learn networking, can i start with this series?
@OliviD225 жыл бұрын
Nice tutorial, thanks .
@barathsingh81125 жыл бұрын
Where can I get the previous tutorials and next tutorial.
@MrVecheater7 жыл бұрын
Does anyone know what's the point of ufw (in the console, not the graphical interface) when you type almost exactly the same thing in iptables? I recall that it was supposed to be simpler but you type exactly the same rules in both programs
@govamurali23098 жыл бұрын
Bucky, I got one question. Previously in your videos, you mentioned about setting up firewall rules at the linux server level. Here you showed that you are setting up at the PC level. So when you are in a network with a server/pc's how does it work, do you need to set up firewalls seperately at PC level,server level for each and seperate node or just set up the firewall rule at the router level
@o00BlackCat00o8 жыл бұрын
first, its not pc/server, more like client/server. it depends on what you want. for example if the client and the server are on the same network, you have to set the firewall rules in the server because they reach each other directly. if the client traffic comes from other network, you can filter it in the router(gateway) and also in the server too. Usually i filter traffic on host level every time, and if I need it (for security reasons) I also filter it in the gateway too.
@SushilSavaria5 жыл бұрын
Anytime i'm stuck with something related to networking, i find a video from newboston and that's amazing.!!!!
@SomebodyOutTh3re6 жыл бұрын
Thanks a lot for the tutorials , please can you share your knowledge resources ? i mean when did you learn all that ? thanks again :)
@Nana-zk9sz3 жыл бұрын
hey what about blocking all listening services except ssh, HTTP and samba
@dejanduh26454 жыл бұрын
Does this apply only for your network?
@kasie4life1233 жыл бұрын
You nailed it. I am definitely going to remember how to use iptables because of your crazy girlfriend and her friends.
@fadlidipo33247 жыл бұрын
i think port 25 is smtp for outgoing email and for input why not use the pop3/imap ports?
@luckbychance31795 жыл бұрын
How I will know the X person internet router IP address, from which he/she is trying to send a message? Also while blocking someone, should I use their device private IP address or Router public IP address? I am very new in this , so maybe these questions can be sly
@numuboniV9 жыл бұрын
Got some confusion cleared, Thanks & good luck with your new girl friend
@abubakarrkargbo48499 жыл бұрын
Thanks Bucky, after this what next and help me understand the difference between computer networking and CISCO
@フォグマシン2 жыл бұрын
could you block all ip adresses except just one, or forward just one and only one address to some specific destination?
@SB_3.14152 жыл бұрын
yes, keep the allow rule on top of the list and then block everything in the second rule.
@tom4ever834 жыл бұрын
How can you do the same with modsecurity?
@dileepmeena87497 жыл бұрын
i want to block my traffic on port 80 and 443. but these command of iptables can't do it. why.. ?? iptables -A OUTPUT -p tcp --source-port 80 -j DROP iptables -A OUTPUT -p tcp --source-port 443 -j DROP
@ahmedelmenan8955 жыл бұрын
what does REJECT do in the iptables
@rowlandrowland38382 жыл бұрын
Apparently, these are for rules filtering data sent from IP on the same network (Private IPs 192.168.0.X). How do we permit traffic in and out if the source was a public IP? Would I have to know the public IP of the crazy girlfriend first?
@SB_3.14152 жыл бұрын
yes, you need to know where it's comming from to block it.
@amadoucoulibaly64394 жыл бұрын
good explanation
@jatingupta97698 жыл бұрын
please help! Do this scenario only works if you run a mailserver and all the computers(including his ex and her friends trying to mail bucky) are connected in a same network ?
@calebpurvis61958 жыл бұрын
jatin gupta correct.
@SB_3.14152 жыл бұрын
nice analogy
@Ather1783 жыл бұрын
Thank you so much!
@ragnarw.eliansson52995 жыл бұрын
I'm not any great with networking, but is it by any means meaningful to block the gf's IP-address, considering you almost certainly haven't set up your own mail-server at home. You most likely use some commercial like Gmail for instance. I mean you will not get unmasked traffic directly from her, like Messenger/Skype calls and stuff like that, but she can still message you wherever her data doesn't enter your computer directly, but just a datacenter like Google's mail server.
@denniswilliamsjr56465 жыл бұрын
This really helped!
@yahyeabdi49989 жыл бұрын
i really love the way you teach
@Popoyo0237 жыл бұрын
cool example bro
@ComandanteJ7 жыл бұрын
As far as i know, SMTP is outgoing, so blocking it on a client wouldnt matter in this case, specially incoming, would it?
@rabindralamsal7 жыл бұрын
I guess it should have been POP3 or IMAP.
@farhanahmad20227 жыл бұрын
Maybe he has an email server on the local machine...? 😕
@ogginger26 күн бұрын
Thank you!
@barakkabilio77288 жыл бұрын
If I block an ip address in Kali using a virtual machine, does it also block that ip from the host system?
@abdelilah_talks8 жыл бұрын
Nah mate, the two systems are completely separable .
@kevinkkirimii3 жыл бұрын
hahaha - heroine bro !!! Yoh
@bradyhuang56065 жыл бұрын
Great video, I have a question if your girlfreind use DHCP and send email to you, what you only can do is to block the network IP right?
@kmandowrulesps39 жыл бұрын
Bucky would it be possible if you can make videos on logical programming, like how do you think when solving problems. It would be a pleasure.
@techsupport56373 жыл бұрын
I like your explanation and sorry about your girlfriend
@achin41408 жыл бұрын
i beg you please tell about The Network layer Network layer concepts, design issues, static and dynamic routing algorithms, shortest path routing, flooding, distance vector routing, link state routing, distance vector routing, multicast routing, congestion control algorithm, internetworking, Ipv4
@Himeth2 жыл бұрын
that example was too specific tho🤣🤣
@illoominate4 жыл бұрын
When I restart the firewall service, my rules disappear. I tried running iptables-save first, but that didn't help. I'll keep digging. One of these days, as God is my witness, I'll get my machine to accept an inbound UDP packet.