Results 1 to 3 of 3

Thread: how to set gufw/ufw firewall rules ?

  1. #1
    Join Date
    Jun 2015
    Beans
    58

    how to set gufw/ufw firewall rules ?

    I want to set up through gufw or through ufw directly from the terminal, the next settings from the first print screen


    The second print screen is the one from gufw, if in that gufw window, I must set up these rules.
    Attached Images Attached Images

  2. #2
    Join Date
    Jun 2015
    Beans
    58

    Re: how to set gufw/ufw firewall rules ?

    ​It is a must to add these rules in order for an app to work properly.
    It seems that for the first rules the command is:
    Code:
    sudo ufw allow from 141.0.145.180/32 to any port 64297 proto tcp
    Unfortunately, for the second rule, it should be something like that, but it doesn't work:


    Code:
    sudo ufw allow 0:64000/tc
    ERROR: Bad Port.
    Any ideas, please?
    Thank you.

  3. #3
    Join Date
    Mar 2010
    Location
    Been there, meh.
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: how to set gufw/ufw firewall rules ?

    If you are going to allow everything in and out, just disable ufw. If you did that in my company, you'd be fired.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •