The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    UFW settings help

    Discussion in 'Linux Compatibility and Software' started by Evil Claw, Aug 1, 2011.

  1. Evil Claw

    Evil Claw Notebook Evangelist

    Reputations:
    7
    Messages:
    386
    Likes Received:
    0
    Trophy Points:
    30
    I figured I'd get a jump on this and install as, being a windows user, I am petrified of being attacked. Although with Linux no anti virus, etc.. is needed, the firewall still is a necessity. I have one on my router, and all my windows laptops run Kaspersky 2011 internet suite with firewall.
    Now after looking at the UFW and settings, I am stumped. :confused: I have never actually had to add/subtract programs/services in detail like the UFW requires. Sad to say I don't know the best way yo set this UFW up. I don't know have of what the items are the I could allow or deny. Is there a basic setup somewhere I could follow till I read up on this stuff? Thanks in advance.
     
  2. linuxwanabe

    linuxwanabe Notebook Evangelist

    Reputations:
    145
    Messages:
    643
    Likes Received:
    0
    Trophy Points:
    0
    Try a graphical user interface for UFW:

    http://gufw.tuxfamily.org

    You can download GUFW in the Ubuntu Software Center or by:

    sudo apt-get install gufw
     
  3. Evil Claw

    Evil Claw Notebook Evangelist

    Reputations:
    7
    Messages:
    386
    Likes Received:
    0
    Trophy Points:
    30
    Thanks Linuxwannabe, but this is the one I already have.
     
  4. hf2046

    hf2046 Notebook Guru

    Reputations:
    18
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    15
    I suggest looking over the documentation for iptables - as this is what ufw uses to implement the firewall. There's also a number of ways to generate a suitable file with rules that you need.

    Easy Firewall Generator for IPTables
    https://help.ubuntu.com/community/IptablesHowTo

    I'm not too familiar with Ubuntu (I use Slackware myself), but generally to start / stop services or daemons, you need to modify your init scripts. This link might be useful:

    upstart - What's the recommend way to enable / disable services? - Ask Ubuntu - Stack Exchange

    Hope this helps!