How to use Netstat in Linux

preview_player
Показать описание
Tutorial on using Netstat to Check for Open TCP / UDP Ports in Linux.
Netstat tends to come pre-installed in Linux, you can use it for setting up firewall rules and fault finding on Linux Clients and Servers.
A similar command exists in Windows, but uses different arguments.

# netstat -natup
(Numeric, All, TCP, UDP, Show PID)
Рекомендации по теме
Комментарии
Автор

Enjoying these "networking howtos". Please keep them coming! Great channel, Quids!

rodoherty
Автор

Keep up the good work, Quids. You rock.

flarone
Автор

I really enjoy your networking​ videos. Keep up the good work!

AmartyaDattaGupta
Автор

Thank you for this video it was really helpful

Brzezinski
Автор

Great video Quids. More like this is welcome.

Clobercow
Автор

netstat -natup << never forget the cmd again

biehdc
Автор

next time you should use a light color as foreground rather than a dark one on dark background as it is very difficult to read especially on smaller devices.

ReichsPropagandaMinister
Автор

You should mess around and do some attack simulation videos, you could even use @6:07 the webserver example and show what it looks like to get flooded and the opposite something like a SlowLoris . I guess overall monitoring traffic but more about the security measures like setting up a basic IDS, waf, fail2ban , , things like that.. If it seems interesting enough to you

DDBAA
Автор

sorry struggled to read anything on screen with my pants monitor, could i request yellow rather than blue for text colour please? otherwise cool vid, thanks.

throbberikk
Автор

Cool vid.
UDP (User Datagram Protocol), not (Universal Datagram Protocol).
Why not use 'ss' and 'ip'. 'netstat' is kind of depricated.

Example (display all established ssh connections): ss -o state established '( dport = :ssh or sport = :ssh )'
To display continuosly every 2 seconds: watch -n 2 "ss -o state connected '( dport = :ssh or sport = :ssh )'"

g.
Автор

his IP is 127.0.0.1 must hack it guys ;)

lightarmanov
Автор

If only all man pages had a video like this. Like a version of Wheatly (portal)... only with RP, a lot more intelligence, and a lot less insanity... dear god... imagine if someone actually used Stephen Merchant's voice in a voice assistant product lol.

Crux
Автор

Is there any program on linux that can tell me how much data I've used for the month and on what device and services? It would be great to have because I use linux as a router on one of my laptops.

JudasMugensson
Автор

can you tell what this is that came up on my ubuntu network
enp0s25

airlane
Автор

now people can ping / ddos attack you :P

KDGNOR