Linux Firewall Tutorial | How to Configure Firewall Rules with UFW

Поділитися
Вставка
  • Опубліковано 6 січ 2025

КОМЕНТАРІ • 60

  • @jeshocarmel
    @jeshocarmel 3 роки тому +7

    crisp and clear. Thanks Jay LaCroix

  • @upyours2707
    @upyours2707 3 роки тому +12

    thank you so much for these videos. very practical, very informative.

  • @stacylite
    @stacylite 3 роки тому +7

    Thank you so much, hopefully you make an updated 2021 compilation video for hardened security settings in linux

  • @flufsor
    @flufsor 3 роки тому +4

    Just a heads up you still leaked your public ip in the video, i am kinda late seeing this video but still.

  • @pepsililleman
    @pepsililleman Рік тому

    I am a beginner, this was valuable information.

  • @AbdulMajid-kd4xg
    @AbdulMajid-kd4xg 8 місяців тому

    Clearly explain. Thanks for the great explanation and sharing. Have a nice day ahead!

  • @DL-xf3ur
    @DL-xf3ur 2 роки тому

    Thanks as always Jay! Awesome video.

  • @CyberAbyss007
    @CyberAbyss007 3 роки тому

    Thank you! Linode customer for about 2 years now.

  • @xbeast7585
    @xbeast7585 11 місяців тому

    Thank You So Much You Made It So Easy And Clear 💓

  • @RaphaelPereiradosSantos-l2k

    when you allow ssh from your dynamic public ip, how can you prevent not being locked out from your own server?

  • @lands1459
    @lands1459 Рік тому

    i tried setting up ufw on my laptop but even with ssh allowed i can't connect to ssh. ssh only works with ufw disabled. why? on arch
    edit: seems kde's settings was allowing from 22 to anywhere instead of from anywhere to 22, manually setting it up fixed it

  • @Sunline7
    @Sunline7 5 місяців тому

    lost at the start how do you create linodes for UFW ?

  • @tubeDude48
    @tubeDude48 2 роки тому

    Configuring is VERY important, otherwise your could get locked out to the Internet! Also need ssh Enabled.
    You would have to go to the Servers Terminal to correct this!

  • @mickpr
    @mickpr Рік тому

    Nice and clear. grettings :)

  • @All3me1
    @All3me1 2 роки тому

    How can I configure ufw for just one specific interface?

  • @djamolmukhtarov3328
    @djamolmukhtarov3328 Рік тому

    Hi Jay,
    Out of scope of this video, just wondering if could post series dedicated to DNS?

  • @joaowilli2657
    @joaowilli2657 3 роки тому

    Hi there. The problem I'm getting is (I'm running Kali Linux in a Virtual Machine): Once I configure the UFW and I run the command "ufw status" it says "port xx deny" but if I use the NMAP it says "port open". Do you know what could be? Thnak you!

    • @AkamaiDeveloper
      @AkamaiDeveloper  3 роки тому +2

      If you're checking with Nmap locally then it may be using the loopback interface which has separate rules in UFW. You can change how UFW handles loopback connections in the /etc/ufw/before.rules file.
      If you're testing from another server, then you may want to try setting up UFW again to make sure everything's configured as you expect.
      If you're scanning over IPv6, make sure that IPV6=yes is included in /etc/default/ufw so that it handles IPv6 traffic as well.

  • @NADEEMKHAN-sj5hn
    @NADEEMKHAN-sj5hn 11 місяців тому

    Is portmaster is the better firewall than firewalld and ufw/gufw

  • @EhsanUlBarr
    @EhsanUlBarr 2 роки тому

    is it possible for you to make a tutorial about port forwarding with ufw ?

  • @jonathandwyer549
    @jonathandwyer549 3 місяці тому

    Thank you!

  • @guilherme5094
    @guilherme5094 3 роки тому

    Thanks , it was very useful.

  • @ahiamatagabriel5696
    @ahiamatagabriel5696 2 роки тому

    masterpiece

  • @jeremy7433
    @jeremy7433 2 роки тому

    All of this information is really nice but I'm having a real interesting problem no granite I'm just trying to figure out Lennox button when I open terminal and put something in and push enter it says enter password but it will not let me enter Anything push button to keys and nothing what the hell am I doing wrong

  • @k.chriscaldwell4141
    @k.chriscaldwell4141 3 місяці тому

    Thank you.

  • @cems_
    @cems_ 3 роки тому +3

    Hi, thank you for all the videos you make !
    I do have an issue though, I have a contact form that sends messages to the gmail smtp server, but it doesn't work (but works on development and on PythonAnywhere). I would like to know how I could achieve the same thing on my Linode. I think this is related with the UFW, but I can't be 100% sure.
    Anyway, thank you for your help!

    • @AkamaiDeveloper
      @AkamaiDeveloper  3 роки тому +4

      We block outbound SMTP ports by default for accounts created after November 5, 2019. If your account was created after that date, that may be why you're unable to send emails. You can reach out to our Support team to request removal of these filters.
      cloud.linode.com/support/tickets?type=closed&drawerOpen=true

    • @cems_
      @cems_ 3 роки тому +3

      @@AkamaiDeveloper Thank you for your answer, it now works !

  • @mosoleimaniyun9601
    @mosoleimaniyun9601 3 роки тому +1

    Hi . very useful. thanks

  • @13thravenpurple94
    @13thravenpurple94 2 роки тому

    gREAT work Thank you

  • @skywalkdesign2023
    @skywalkdesign2023 6 місяців тому +2

    Why everybody think that if you are using a firewall in Linux then you must be using it in your server and not in your desktop??!! Not everybody running a server at home or using a VPS or they have a linode server!!! Why people can't think that there are a lot of SIMPLE people like me who use Linux as their daily drive??!!

    • @ofchaot
      @ofchaot 3 місяці тому

      Why do you care? Dont care what other people think

    • @skywalkdesign2023
      @skywalkdesign2023 3 місяці тому +1

      @@ofchaot Because they post videos where they assume that Linux and firewall means you are running a server. You might know that a Server environment is a lot different than a Desktop environment and those who are new to Linux and use it in desktops cannot relate. If you are making a video tutorial then you should name it in a way that the viewer can understand for whom the video is made so that their time would not be a waste. I think you would understand by now. 🙂

  • @alexhnd552
    @alexhnd552 3 роки тому

    have you checked iodéOS firewall?

  • @hx4791
    @hx4791 Місяць тому

    need a geo blocking video!...id like to block some countries

  • @Lunolux
    @Lunolux Рік тому

    thx

  • @PigouDarlene-t6j
    @PigouDarlene-t6j 3 місяці тому

    Hegmann Expressway

  • @dav1dw
    @dav1dw 6 місяців тому

    too bad we can't use dns instead of ip to white list our ssh. that would make things better

  • @HoyleBerton-x2h
    @HoyleBerton-x2h 3 місяці тому

    Chadrick Ramp

  • @KittyRock-c1d
    @KittyRock-c1d 3 місяці тому

    Alvena Forge

  • @ElsieLewis-f9y
    @ElsieLewis-f9y 3 місяці тому

    Charley Skyway

  • @BrianWalker-e2q
    @BrianWalker-e2q 3 місяці тому

    King Parkways

  • @PaulJohnson-o4o
    @PaulJohnson-o4o 3 місяці тому

    Haley Mission

  • @KatiPienta-n6r
    @KatiPienta-n6r 3 місяці тому

    Vella Stream

  • @ShaynaLancz-f9i
    @ShaynaLancz-f9i 3 місяці тому

    Noe Knoll

  • @ServiceHermosa
    @ServiceHermosa 3 місяці тому

    0046 Haag Route

  • @SpenderMalcolm-r6q
    @SpenderMalcolm-r6q 3 місяці тому

    Jana Oval

  • @JessicaRoberts-d6e
    @JessicaRoberts-d6e 3 місяці тому

    Loma Cove

  • @AndyDrost-n6r
    @AndyDrost-n6r 3 місяці тому

    Grimes Manor

  • @TwilaSmalls-q5g
    @TwilaSmalls-q5g 3 місяці тому

    Itzel Hills

  • @EdwardTyler-p4c
    @EdwardTyler-p4c 3 місяці тому

    Koss Shoals

  • @ElishaWild-x3j
    @ElishaWild-x3j 3 місяці тому

    Mann Knolls

  • @SalihaDuygu-l6m
    @SalihaDuygu-l6m 3 місяці тому

    Kiley Inlet

  • @LaurieBaron-l4i
    @LaurieBaron-l4i 2 місяці тому

    289 Schuppe Dale

  • @ArmageddonAfterparty
    @ArmageddonAfterparty 2 роки тому

    Typical Linux, each and every tutorial always starts out with something crazy simple that does not work when you reproduce it, each and every time. " Connection refused".

  • @saleemahmad9782
    @saleemahmad9782 3 роки тому

    Ow

  • @DonaldPinto-g6c
    @DonaldPinto-g6c 3 місяці тому

    Brain Shore

  • @OccamLennon
    @OccamLennon 3 місяці тому

    15889 Nader Spring

  • @michalroesler
    @michalroesler 2 роки тому

    thank you so much for these videos. very practical, very informative.