Computer Networking Tutorial - 40 - iptables Firewall Rules

  Рет қаралды 176,102

thenewboston

thenewboston

Күн бұрын

Пікірлер: 191
@SourceCodeDeleted
@SourceCodeDeleted 9 жыл бұрын
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
@Israel777888
@Israel777888 3 жыл бұрын
Gracias por la lista! Sabes si estos comandos de iptables funcionan en cualquier distro de Linux, como Ubuntu?
@CocaColaCan33
@CocaColaCan33 2 жыл бұрын
what does -j do?
@SourceCodeDeleted
@SourceCodeDeleted 2 жыл бұрын
@@CocaColaCan33 chances are -j is for jump to policy chain.
@Pzdrs
@Pzdrs 3 жыл бұрын
tf this is literally more useful than a 45min class
@techsupport5637
@techsupport5637 3 жыл бұрын
Yes
@N0Xa880iUL
@N0Xa880iUL 9 ай бұрын
Most classes usually cater to the lowest common denominator. Most peeps from the class don't understand nor grasp this quickly. That's why.
@J2897Tutorials
@J2897Tutorials 8 жыл бұрын
Sorry to hear about your girlfriend.
@J2897Tutorials
@J2897Tutorials 8 жыл бұрын
Nice to hear about the swift replacement.
@BurgerKingNationalist
@BurgerKingNationalist 5 жыл бұрын
me too
@YourModulesMayVary
@YourModulesMayVary 4 жыл бұрын
the best analogy for iptables ever! genius :-)
@CowboyPilot79
@CowboyPilot79 2 жыл бұрын
Hate to tell you this but she's in the house with you
@robpalomo
@robpalomo 5 жыл бұрын
The GF part was oddly specific.
@THATWASDOPE
@THATWASDOPE 3 жыл бұрын
I hope he continues working on this serie he's helpful and funny af xD
@dudemann7947
@dudemann7947 9 жыл бұрын
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 :]
@keineahnungnet
@keineahnungnet 9 жыл бұрын
he has 988k subs :P
@Robin-on6vo
@Robin-on6vo 9 ай бұрын
@@keineahnungnetHe has 2 millions now !
@eliasforamitti
@eliasforamitti 8 жыл бұрын
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)
@fabianvilela9527
@fabianvilela9527 5 жыл бұрын
I always love your backstories with everything lol. Keep it up.
@thedoctor3018
@thedoctor3018 5 жыл бұрын
This is the coolest tutorial I've ever seen so far O_O . Thank you fam !!!
@pgaikwad06
@pgaikwad06 6 ай бұрын
I cant imagine Bucky, the girlfriend example you took to explain the concept got into my head straight. Thanks mate
@PoeLemic
@PoeLemic 4 жыл бұрын
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.
@mariopereztexas
@mariopereztexas 6 жыл бұрын
Thanks Bucky, this is the best iptables tutorial I have had; it was both funny and informational. Good luck with the ladies brother
@oussamaml4161
@oussamaml4161 6 жыл бұрын
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
@oussamaml4161
@oussamaml4161 6 жыл бұрын
i'm back again , i need this for another exam thanx again
@r7yz
@r7yz 9 жыл бұрын
Started from video 1 and now I'm here! Really enjoyed your series Bucky and hope you continue it!
@golamrabbani6211
@golamrabbani6211 9 жыл бұрын
+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 ;)
@zsumr
@zsumr 11 ай бұрын
thanks man, i started my studies again and this is helping alot
@themedleb
@themedleb 3 жыл бұрын
11:06 Wait ... Did you say "I will smell you next time"? lol
@Danjovisagat
@Danjovisagat 2 жыл бұрын
Dropping a single rule is what I needed and you delivered. Thank you.
@governingchildren
@governingchildren 2 жыл бұрын
IPtables has never been more interesting in my life
@tridenda2459
@tridenda2459 3 жыл бұрын
I won't ever forget the analogy. lol Thank you so much, everything is clear right now.
@aminjamous2673
@aminjamous2673 8 жыл бұрын
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!
@ealvinoq
@ealvinoq 4 жыл бұрын
Awesome! Friend, nice, funny tutorial, it highlight from the rest. You should be famous now.
@PsyArkron
@PsyArkron 2 жыл бұрын
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).
@weedlax6938
@weedlax6938 6 жыл бұрын
I never comment on any post , videos or anything but have to say. " You 're a legend" XD
@junolee8231
@junolee8231 9 жыл бұрын
How does Bucky know so much stuff?
@CodeJackk
@CodeJackk 9 жыл бұрын
+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.
@KarlWakimLeb
@KarlWakimLeb 6 жыл бұрын
His information is not that good.
@Dummour
@Dummour 6 жыл бұрын
Man, wtf, these series ended on the best part when multiple networks get into contact.
@medsabkhi7189
@medsabkhi7189 2 жыл бұрын
this was helarioussss, thank you so much man, you've helped me with my network security exam xD
@garys3673
@garys3673 4 жыл бұрын
Great GF example, really impressive.
@hayderh.952
@hayderh.952 4 жыл бұрын
Brilliant tutorial!
@meghaumesha3849
@meghaumesha3849 5 жыл бұрын
Great Tutorial.
@hawejago
@hawejago 5 жыл бұрын
This tutorial are briliant! please make another one about routing :D
@naty685
@naty685 5 жыл бұрын
loved your examples LOL
@GarjiO
@GarjiO 7 жыл бұрын
Crazy heroin addict girlfriend example was the milestone of the video! You are awesome Bucky!
@edenr1988
@edenr1988 6 жыл бұрын
that was defiantly your best video, "now..she and all of her crazy friends now send me an email.." lmfao
@sashwin92
@sashwin92 6 жыл бұрын
Andrei Neagoie's Hackernoon post got me to this Tutorial !!
@naveennaidu9768
@naveennaidu9768 6 жыл бұрын
Thanks for an awesome video Bucky!! Loved it.
@roberttortaras9952
@roberttortaras9952 7 жыл бұрын
Very well done. This is very similar to Cisco ACL's. Thumbs up.
@premgondode8364
@premgondode8364 3 жыл бұрын
i wish i could explain the same scenario in an interview cozit is just superb to remember . thanks bucky
@shamrock6644
@shamrock6644 3 жыл бұрын
More in this series/playlist please
@IvanStipic_Stiiv
@IvanStipic_Stiiv 4 жыл бұрын
Always fun to watch!
@m.saifulislamtito7869
@m.saifulislamtito7869 5 жыл бұрын
Nice explanation in the easy way to others understanding. Thank you.
@johnreimers4358
@johnreimers4358 3 жыл бұрын
This was so helpful man thank you! Sorry about your lady issues.
@summertime5909
@summertime5909 9 жыл бұрын
Bucky rules the world of computers!!
@ngoctintran8583
@ngoctintran8583 6 жыл бұрын
Your tutorial is so great. It helps me a lot. I'm waiting for your next video.
@90hijacked
@90hijacked 5 жыл бұрын
Why is this the last video in the playlist? Weren't you gonna cover routing/forwarding?
@bigo025
@bigo025 5 жыл бұрын
Very very very nice explanation
@djsharpey
@djsharpey 6 жыл бұрын
Very concise video. Thanks for posting 👏
@ipv4subnet628
@ipv4subnet628 2 жыл бұрын
Excellent video very helpful!
@TechFreak51
@TechFreak51 3 жыл бұрын
Awesome... THANK YOU... To the point an VERY helpful !!!
@FacePalmProduxtnsFPP
@FacePalmProduxtnsFPP 3 ай бұрын
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
@montazfilmpolska4945 Жыл бұрын
this is so funny XDXD it's easier to undarstand because of the humor :)
@Nihillius
@Nihillius 2 жыл бұрын
yoo...you are damnnn...nice strategy huh ❤i understand from you more easily
@enricocialdini6194
@enricocialdini6194 9 ай бұрын
2:11 When I see Forward do I have to set Forward=1 in sysctl file?
@JV-sl3ks
@JV-sl3ks 5 жыл бұрын
Man! thanks bunch for the amazing video!
@dhwanisondhi8635
@dhwanisondhi8635 Жыл бұрын
Really good explanation thanks
@rahulsaha2859
@rahulsaha2859 8 жыл бұрын
waiting for more
@FXSTRIDDA
@FXSTRIDDA 8 жыл бұрын
me too, still waiting hahaha
@patrasculucian2403
@patrasculucian2403 7 жыл бұрын
maybe in 2018
@stefanspinu8784
@stefanspinu8784 6 жыл бұрын
still waiting...
@patrasculucian2403
@patrasculucian2403 6 жыл бұрын
Maybe in 2019..
@spinosaurusbot4974
@spinosaurusbot4974 5 жыл бұрын
still waiting... maybe in 2020?
@RandomShowerThoughts
@RandomShowerThoughts 5 жыл бұрын
Thank you so much for the amazing tutorial buddy
@hv3300
@hv3300 3 жыл бұрын
Awesome .Just a quick question what does -j signify?
@RavenValkyrie
@RavenValkyrie 6 жыл бұрын
I like this guy, he's funny 🤣
@mdafzalahmed4675
@mdafzalahmed4675 2 жыл бұрын
Great explained thanks 👍
@marcojansen6744
@marcojansen6744 3 жыл бұрын
this is really usefull(even in 2021 XD), thanks man!
@jeremygerbert614
@jeremygerbert614 3 жыл бұрын
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
@chanakawijerathna8010
@chanakawijerathna8010 4 жыл бұрын
thank you.superb video set
@ahora1026
@ahora1026 6 жыл бұрын
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-vc2hi
@AmanKumar-vc2hi 3 жыл бұрын
Is this series complete? I want to learn networking, can i start with this series?
@OliviD22
@OliviD22 5 жыл бұрын
Nice tutorial, thanks .
@barathsingh8112
@barathsingh8112 5 жыл бұрын
Where can I get the previous tutorials and next tutorial.
@MrVecheater
@MrVecheater 7 жыл бұрын
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
@govamurali2309
@govamurali2309 8 жыл бұрын
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
@o00BlackCat00o
@o00BlackCat00o 8 жыл бұрын
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.
@SushilSavaria
@SushilSavaria 5 жыл бұрын
Anytime i'm stuck with something related to networking, i find a video from newboston and that's amazing.!!!!
@SomebodyOutTh3re
@SomebodyOutTh3re 6 жыл бұрын
Thanks a lot for the tutorials , please can you share your knowledge resources ? i mean when did you learn all that ? thanks again :)
@Nana-zk9sz
@Nana-zk9sz 3 жыл бұрын
hey what about blocking all listening services except ssh, HTTP and samba
@dejanduh2645
@dejanduh2645 4 жыл бұрын
Does this apply only for your network?
@kasie4life123
@kasie4life123 3 жыл бұрын
You nailed it. I am definitely going to remember how to use iptables because of your crazy girlfriend and her friends.
@fadlidipo3324
@fadlidipo3324 7 жыл бұрын
i think port 25 is smtp for outgoing email and for input why not use the pop3/imap ports?
@luckbychance3179
@luckbychance3179 5 жыл бұрын
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
@numuboniV
@numuboniV 9 жыл бұрын
Got some confusion cleared, Thanks & good luck with your new girl friend
@abubakarrkargbo4849
@abubakarrkargbo4849 9 жыл бұрын
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.1415
@SB_3.1415 2 жыл бұрын
yes, keep the allow rule on top of the list and then block everything in the second rule.
@tom4ever83
@tom4ever83 4 жыл бұрын
How can you do the same with modsecurity?
@dileepmeena8749
@dileepmeena8749 7 жыл бұрын
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
@ahmedelmenan895
@ahmedelmenan895 5 жыл бұрын
what does REJECT do in the iptables
@rowlandrowland3838
@rowlandrowland3838 2 жыл бұрын
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.1415
@SB_3.1415 2 жыл бұрын
yes, you need to know where it's comming from to block it.
@amadoucoulibaly6439
@amadoucoulibaly6439 4 жыл бұрын
good explanation
@jatingupta9769
@jatingupta9769 8 жыл бұрын
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 ?
@calebpurvis6195
@calebpurvis6195 8 жыл бұрын
jatin gupta correct.
@SB_3.1415
@SB_3.1415 2 жыл бұрын
nice analogy
@Ather178
@Ather178 3 жыл бұрын
Thank you so much!
@ragnarw.eliansson5299
@ragnarw.eliansson5299 5 жыл бұрын
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.
@denniswilliamsjr5646
@denniswilliamsjr5646 5 жыл бұрын
This really helped!
@yahyeabdi4998
@yahyeabdi4998 9 жыл бұрын
i really love the way you teach
@Popoyo023
@Popoyo023 7 жыл бұрын
cool example bro
@ComandanteJ
@ComandanteJ 7 жыл бұрын
As far as i know, SMTP is outgoing, so blocking it on a client wouldnt matter in this case, specially incoming, would it?
@rabindralamsal
@rabindralamsal 7 жыл бұрын
I guess it should have been POP3 or IMAP.
@farhanahmad2022
@farhanahmad2022 7 жыл бұрын
Maybe he has an email server on the local machine...? 😕
@ogginger
@ogginger 26 күн бұрын
Thank you!
@barakkabilio7728
@barakkabilio7728 8 жыл бұрын
If I block an ip address in Kali using a virtual machine, does it also block that ip from the host system?
@abdelilah_talks
@abdelilah_talks 8 жыл бұрын
Nah mate, the two systems are completely separable .
@kevinkkirimii
@kevinkkirimii 3 жыл бұрын
hahaha - heroine bro !!! Yoh
@bradyhuang5606
@bradyhuang5606 5 жыл бұрын
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?
@kmandowrulesps3
@kmandowrulesps3 9 жыл бұрын
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.
@techsupport5637
@techsupport5637 3 жыл бұрын
I like your explanation and sorry about your girlfriend
@achin4140
@achin4140 8 жыл бұрын
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
@Himeth
@Himeth 2 жыл бұрын
that example was too specific tho🤣🤣
@illoominate
@illoominate 4 жыл бұрын
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.
iptables Complete Guide | HackerSploit Linux Security
31:02
Akamai Developer
Рет қаралды 128 М.
IPTABLES [PART-1] :  "UNDERSTANDING THE CONCEPT"
7:53
XPSTECH
Рет қаралды 139 М.
УДИВИЛ ВСЕХ СВОИМ УХОДОМ!😳 #shorts
00:49
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 116 МЛН
Network Security Tools to stop hackers
9:24
The PC Security Channel
Рет қаралды 168 М.
Network Ports Explained
10:33
PowerCert Animated Videos
Рет қаралды 1,8 МЛН
Защита SSH-сервера - порты, ключи, port knocking, iptables
28:50
Диджитализируй!
Рет қаралды 71 М.
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 4,2 МЛН
Computer Networking Tutorial - 26 - Network IP Address
11:25
thenewboston
Рет қаралды 134 М.
TCP/IP for Programmers
3:03:31
Eli the Computer Guy
Рет қаралды 236 М.
IPTables Tips and Tricks: More Than Just ACCEPT or DROP
50:40
Introduction to IPTables
42:55
Computer and Network Security
Рет қаралды 109 М.
Subnet Mask - Explained
17:55
PowerCert Animated Videos
Рет қаралды 3 МЛН