How to open and close Ports in Centos7 | RHEL7

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.พ. 2017
  • In this video i demonstrate how to make sure firewalld.service is up and running as well as how to open ports and find out what ports are open as well as closing ports on Centos 7 and RHEL 7

ความคิดเห็น • 30

  • @walim852
    @walim852 2 ปีที่แล้ว

    Thank you so much.. it's very helpful

  • @smokeywahw8035
    @smokeywahw8035 5 ปีที่แล้ว

    ur video helped a lot. thx sir

    • @war11s
      @war11s  3 ปีที่แล้ว

      Awesome glad to hear it! thank you for your input.

    • @simongage6752
      @simongage6752 2 ปีที่แล้ว

      instablaster.

  • @meenakarzai9236
    @meenakarzai9236 7 ปีที่แล้ว +1

    I hope you have a good day too

  • @HAMZAMOE
    @HAMZAMOE 7 ปีที่แล้ว

    Hi, I want to ask you, can I block connections through a particular program when I connect to the server?

    • @war11s
      @war11s  7 ปีที่แล้ว

      Hello,
      If your asking me how to black a particular IP address, you could use this following command to do so.
      firewall-cmd --permanent --add-rich-rule="rule family='ipv4' source address='IP ADRESS/PREFIX' reject"

  • @sravanbala3785
    @sravanbala3785 6 ปีที่แล้ว

    thank you!

    • @war11s
      @war11s  3 ปีที่แล้ว

      You are welcome :)

  • @maxtoscano
    @maxtoscano 6 ปีที่แล้ว

    this opening doors, does it work for every situation where i need a client server connection between my linux machine and another ? -autoreverse ? from client to server and server to client ?

    • @war11s
      @war11s  3 ปีที่แล้ว

      "open doors" is an expression i use to essentially say a port maybe listening or not. So in theory, yes you could.

  • @RizonChik_YT
    @RizonChik_YT 2 ปีที่แล้ว

    thanks!

  • @fbsoul1
    @fbsoul1 11 หลายเดือนก่อน

    thanks

  • @maxtoscano
    @maxtoscano 6 ปีที่แล้ว

    becouse if i do netstat -an | grep LISTEN on my linux , ans is just in listen , but i have a firewalld running, i have to open the door as you have showed here , is it true ? if not the client server connection doesnt work.. thanx in advance , i ask for confirm.

    • @war11s
      @war11s  3 ปีที่แล้ว

      So this is a way to open and close ports. You might have firewalld running and that is fine but you may have most ports closed. This is a method to open certain ports or services.

  • @mcvideos2162
    @mcvideos2162 3 ปีที่แล้ว +1

    YOU ARE A GOD MY FRIEND, YOU SAVE MY LIFE

  • @bhupenderrohilla1994
    @bhupenderrohilla1994 6 ปีที่แล้ว +1

    firewall-cmd is new in linux, please describe the same through iptables.

    • @BirdFinder100
      @BirdFinder100 4 ปีที่แล้ว

      Yes! Please! It is just a matter of going into the iptables file and making changes there, but there's syntax you can input obviously to quicken the process.

    • @war11s
      @war11s  3 ปีที่แล้ว

      @@BirdFinder100 I will look into making this video :)

  • @danbrown2874
    @danbrown2874 6 ปีที่แล้ว

    Please change the fire alarm battery

    • @war11s
      @war11s  3 ปีที่แล้ว

      haha it has since been changed.

  • @ethanbroussard
    @ethanbroussard 2 ปีที่แล้ว

    I tried enabling a port but it doesn't work even though it says success after typing the command

  • @berjaoui92
    @berjaoui92 2 ปีที่แล้ว

    ONLY 28 605 viewers in the world for this vid' ???

  • @sylvesterolise3267
    @sylvesterolise3267 2 ปีที่แล้ว

    thanks