Results 1 to 7 of 7

Thread: [SOLVED] Firewall for Ubuntu

  1. #1
    Join Date
    Sep 2008
    Location
    India
    Beans
    61
    Distro
    Ubuntu 9.10 Karmic Koala

    Thumbs up [SOLVED] Firewall for Ubuntu

    I want to use a firewall so as to control my applications connecting to net. I should be able to configure which application should connect to net or deny. In windows I used norton firewall for the same purpose. Is there any firewall of same kind in ubuntu?

  2. #2
    Join Date
    Jun 2008
    Location
    England
    Beans
    2,567
    Distro
    Ubuntu Development Release

    Re: Firewall for Ubuntu

    I use the inbuilt Ubuntu firewall,

    Open a terminal and type ufw for a list of commands,

    https://wiki.ubuntu.com/UbuntuFirewall
    64-Bit User-Group // Twin-View AMD64 X2 6000+|Geforce 9500GT 1024 MB|8GB PC2-6400 DDR2|500GB Seagate SATA // AMD64 X2 4400+|Geforce 8600GTS |4GB PC2-6400 DDR2|360GB Samsung SATA // Ubuntu 9.04 & 9.10 64-Bit

  3. #3
    Join Date
    Aug 2008
    Location
    Lisbon, Portugal
    Beans
    101
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Firewall for Ubuntu

    You have also a graphical interface for ufw, called Gufw: http://gufw.tuxfamily.org

    It's easy to configure. Although just like ufw, it doesn't operate by applications, but by ports.

  4. #4
    Join Date
    Dec 2006
    Location
    Chicago
    Beans
    3,839

    Re: Firewall for Ubuntu

    This is the only tool I know of that filters outgoing traffic based on the application initializing the connection.
    http://tuxguardian.sourceforge.net/
    The "owner" module for iptables should provide this functionality, but I think some options won't work on the default kernel.

    While it would be nice to have this functionality, it isn't necessary in ubuntu as it is in windows because you should be aware of what applications do before you install them, and there shouldn't be any unwanted traffic if you install software from the repos.

  5. #5
    Join Date
    Sep 2008
    Location
    India
    Beans
    61
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Firewall for Ubuntu

    Thanks for all your help. TuxGuardian is the kind of firewall I was looking for. I first tried firestarter and then shorewall. But wasn't able to get the desired functionality.

  6. #6
    Join Date
    Jun 2006
    Location
    Switzerland
    Beans
    Hidden!
    Distro
    Kubuntu Jaunty Jackalope (testing)

    Re: Firewall for Ubuntu

    I don't think you need to alter the default configuration of iptables for what you want to do.

  7. #7
    Join Date
    Dec 2006
    Location
    Chicago
    Beans
    3,839

    Re: Firewall for Ubuntu

    Quote Originally Posted by abhishek.malhotra35 View Post
    Thanks for all your help. TuxGuardian is the kind of firewall I was looking for. I first tried firestarter and then shorewall. But wasn't able to get the desired functionality.
    Good luck getting it to work. I tried and failed
    Code:
    [23849.526567] tuxg: Unknown symbol register_security
    [23849.526638] tuxg: Unknown symbol cap_ptrace
    [23849.526704] tuxg: Unknown symbol cap_capget
    [23849.526772] tuxg: Unknown symbol cap_task_reparent_to_init
    [23849.526832] tuxg: Unknown symbol cap_task_post_setuid
    [23849.526879] tuxg: Unknown symbol cap_bprm_set_security
    [23849.526926] tuxg: Unknown symbol cap_capset_check
    [23849.526972] tuxg: Unknown symbol cap_bprm_apply_creds
    [23849.527019] tuxg: Unknown symbol cap_capable
    [23849.527098] tuxg: Unknown symbol cap_capset_set
    [23849.527159] tuxg: Unknown symbol mod_reg_security
    I think it's just old and deprecated. It hasn't been updated since April 2006. I guess there isn't enough demand to keep a project like that going since it is so unnecessary.

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
  •