Yadda ake saita katangar bango a Ubuntu

Kamar kowane Linux distros, Ubuntu ya riga ya zo tare da bangon wuta (bango) wanda aka girka. Wannan katangar, a zahiri, tazo cikin ɗakuna. A cikin Ubuntu, an maye gurbin keɓaɓɓen layin umarni ta ɗan sauƙin amfani da rubutun. Koyaya, ufw (FireWall mara rikitarwa) shima yana da maɓallin zane wanda yake da sauƙin amfani. A wannan post ɗin, zamu gabatar da ƙaramin jagora zuwa mataki-mataki akan yadda ake amfani da gufw, wanda aka zaba na ufw, don daidaita katangar mu.


Kafin girka gufw, ba mummunan ra'ayi bane duba matsayin ufw. Don yin wannan, na buɗe tashar kuma na rubuta:

sudo ufw hali

Sakamakon ya kamata a faɗi wani abu kamar: "Matsayi: rashin aiki". Wancan shine yanayin tsoho na Firewall a cikin Ubuntu: an girka shi amma an kashe shi.

Don shigar da gufw, sai na buɗe Cibiyar Software ta Ubuntu na neme shi daga can.

Hakanan zaka iya shigar dashi daga tashar ta hanyar bugawa:

sudo dace-samun shigar gufw

Kafa gufw

Da zarar an girka, zaka iya samun damar zuwa daga Tsarin> Gudanarwa> Saitunan Firewall.

Kamar yadda kake gani a cikin sikirin, ufw yana aiki ta tsokaci yana karɓar duk haɗin da yake fita da kuma ƙin yarda da duk haɗin da yake shigowa (banda waɗanda suke da alaƙa da masu fita). Wannan yana nufin cewa duk wani application da kake amfani da shi zai iya haduwa da shi a waje (walau yanar gizo ko kuma wani bangare na Intranet dinka) ba tare da matsala ba, amma idan wani daga wata naura yana son shiga naka, ba zasu iya ba.

Duk manufofin haɗi ana adana su a cikin fayil ɗin  / sauransu / tsoho / ufw. Baƙon abu, ufw yana toshe hanyoyin IPv6 ta hanyar tsoho. Don kunna ta, shirya fayil ɗin / sauransu / tsoho / ufw kuma canza IPV6 = a'a de IPV6 = haka ne.

Creatirƙirar dokokin al'ada

Danna maɓallin Addara a cikin babban taga gufw. Akwai shafuka uku don ƙirƙirar ƙa'idodi na al'ada: Tsararren tsari, Mai sauƙi, da Ci gaba.

Daga Tsararren tsari zaka iya ƙirƙirar jerin dokoki don takamaiman adadin sabis da aikace-aikace. Ayyukan da ake dasu sune: FTP, HTTP, IMAP, NFS, POP3, Samba, SMTP, ssh, VNC da Zeroconf. Aikace-aikacen da ake da su sune: Amule, Ruwa, KTorrent, Nicotine, qBittorrent, da Transmission.

Daga Mai Sauƙi, zaku iya ƙirƙirar dokoki don tashar tashar jirgin ruwa. Wannan yana ba ku damar ƙirƙirar dokoki don ayyuka da aikace-aikace waɗanda babu su a cikin Tsararren Tsara. Don saita kewayon tashar jiragen ruwa, zaku iya saita su ta amfani da haɗin ginin mai zuwa: PORT1: PORT2.

Daga Na ci gaba, zaka iya ƙirƙirar ƙarin takamaiman dokoki ta amfani da tushe da adireshin adireshin IP da tashar jiragen ruwa. Akwai zaɓuɓɓuka guda huɗu da ake da su don ayyana doka: ba da izini, ƙaryatãwa, ƙaryatãwa, kuma iyakance. Tasirin kyalewa da karyatawa shine bayanin kai. Jectin yarda zai dawo da “ICMP: makoma mara saurin zuwa” ga mai nema. Iyakan yana ba ka damar iyakance adadin yunƙurin haɗi mara nasara. Wannan yana kare ku daga hare-haren ƙarfi.

Da zarar an ƙara doka, zai bayyana a cikin babban taga gufw.
Da zarar an ƙirƙiri ƙa'ida, za a nuna shi a babban taga na Gufw. Hakanan zaka iya duba ƙa'idar daga tashar harsashi ta hanyar buga sudo ufw status.


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

16 comments, bar naka

Bar tsokaci

Your email address ba za a buga. Bukata filayen suna alama da *

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.

  1.   tawadar Allah m

    Kwarewar karatun al'ada, kyautatuwa ga abu mai kyau

    1.    jm m

      Ba zan zagi ku ba, kamar yadda kuke kiran kanku ba na al'ada ba, don kuskure a rubuce, amma dole ne in gaya muku cewa "kuna ganin bambaro a cikin idon wani, kuma ba ku ga katako a cikinku ba."
      A cikin rubutaccen layi guda, kun yi kuskure da rashi yawa; mafi mahimmanci, watakila, shine maye gurbin ƙarancin halin yanzu tare da mahimmanci.

  2.   Adrian m

    Ni ba gwani bane, amma kamar yadda na karanta, don hana kayan aiki amsa buƙatun amsa kuwwa (mafi ƙarancin yanayin rashin ganiyar kayan aikinmu da wuce na'urar daukar hoto ta tashar jiragen ruwa da kyau) ya zama dole a bi waɗannan matakan:

    $ sudo ufw kunna

    $ sudo nano /etc/ufw/before.rules
    Inda layin da yake cewa:
    -A ufw-kafin-shigar -p icmp –icmp-type echo-request -j ACCEPT
    don haka ya zama kamar wannan:
    # -A ufw-kafin-shigar -p icmp –icmp-type echo-request -j ACCEPT

    Adana zuwa nano tare da sarrafawa + O. Fita tare da sarrafawa + X.

    Sannan:
    $ sudo ufw a kashe
    $ sudo ufw kunna

    Na yi haka a kan Kwamfuta Wani ya gyara min idan baiyi daidai ba.

  3.   Chelo m

    Barka dai, gaskiya ne cewa a cikin sigar 64-bit GUI daban. Ina tsammanin ba shi da hankali kamar GuardDog, amma na gwada shi kuma ya ba ni kyakkyawan sakamako tare da wasu tashar jiragen ruwa da ke rikitar da ni, don haka gufw ya riga ya fara aiki. Don haka wannan rubutun ya dace da ni. Godiya Bari muyi amfani da ...

  4.   Bari muyi amfani da Linux m

    Kamar yadda na tuna, ya kamata ya yi aiki koda kuwa kun sake yi.
    Wannan shirin shine kawai keɓaɓɓe don bango wanda ya zo ta hanyar tsoho a cikin Ubuntu.
    Murna! Bulus.

  5.   Oscar laforgue m

    Da zarar an saita Firewall, shin yana aiki har yanzu idan kun sake yi ko kuwa dole ne a fara shi a kowane shiga? Godiya a gaba don amsa.

  6.   Guadix 54 m

    Godiya ga post.
    Ni sabon shiga ne kuma ban tabbata ba idan abinda nakeyi daidai ne don kariya mai amfani. Abinda kawai na zazzage daga intanet shine Ubuntu iso da sauran distros, don haka ina so a rufe duk tashar jiragen ruwa kuma ufw na kunna shi kamar haka a cikin na'urar wasan bidiyo.
    »Sudo ufw enable», wannan ya dawo da sakon cewa an kunna katangar, a wani mataki na kara gyara nan ta hanyar shigar da umarni mai zuwa a cikin na'urar wasan.
    "Sudo gedit /etc/ufw/before.rules"
    A kan allo na gaba da ya bayyana sai na gyara layin inda "aka yi" tare da alamar zanta a farkon layin daga ƙarshen hagu.
    Yanzu tambayar da nake son nayi muku: shin wannan daidai ne don kariyar kwamfutata?
    Godiya a gaba don amsawa da gaisuwa mafi kyau.

  7.   Bari muyi amfani da Linux m

    Ee hakane. Idan kuna son ƙirƙirar dokoki, ina ba da shawarar amfani da gufw. 🙂
    Murna! Bulus.

  8.   Guadix 54 m

    Na gode sosai da gaisuwa daga Spain

  9.   Miquel Mayol da Tur m

    Na sanya sigar na 10.10.1 akan Ubuntu 10.10 AMD64 daban, a kalla a cikin GUI daga wacce kuka bayyana.

    Abinda na dade ina nema kenan, na gode.

  10.   Bari muyi amfani da Linux m

    Kyakkyawan cello! Ina murna!
    Murna! Bulus.

  11.   yandri m

    yandri ni sabuwa ce ga Linux, tambayata ita ce mai sauƙi don saita bangon wuta a duk rarrabawa?

  12.   me tawul m

    ana cewa koya ...

  13.   LinuxUser m

    Ba zan iya ƙara LibreOffice Impress ga keɓaɓɓu ba. Ina bukatan shi don samun damar amfani da ramut (Remote Remote) tare da wi fi. Ya zuwa yanzu mafita ita ce ta dakatar da wutar

  14.   Iskandari ... m

    Barka dai…
    Labari mai kyau. Yana da amfani sosai
    Muchas gracias

  15.   Danny m

    Barka dai aboki Ina amfani da ubuntu 14.10, Na bi matakan da kuka ambata don yin tsokaci game da dokar

    # -A ufw-kafin-shigar -p icmp –icmp-type echo-request -j ACCEPT

    Amma lokacin da na sake yin binciken tashar jiragen ruwa, dole ne a sake buɗe buƙatun Ping (ICMP Echo), Ina amfani da na'urar daukar hoto ta GRC ShieldsUp https://www.grc.com/x/ne.dll?bh0bkyd2 , wani mafita ??

    gracias