Find the answer to your Linux question:
Results 1 to 5 of 5
I am newbie to linux and last night i installed APF firewall in my server. Actually i dont know whether it is working or not. how to find out generally ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2006
    Posts
    8

    Exclamation How to find out firewall working or not?


    I am newbie to linux and last night i installed APF firewall in my server. Actually i dont know whether it is working or not. how to find out generally firewall is working or not?

    Thanks

  2. #2
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    Well this is one of the oldest Questions in the book.
    First portscan it.
    Then you can test it with hping.

    Portscan will show what is open and what closed.
    And with hping you can check more advanced stuff like only SYN packages are allowed or not.

    Hope that helped.
    Cheers,
    Robin
    New Users, please read this..
    Google first, then ask..

  3. #3
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,672
    You could also look at them with this:

    Code:
    iptables -L -v -n | less -SCi

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  4. #4
    Just Joined! NomiUnger's Avatar
    Join Date
    Aug 2012
    Location
    Israel
    Posts
    4

    RE: How to find out firewall working or not?

    Hey @olddocks,

    Since you are a newbie (and we all know what thatís like ) and managing Linux firwall/iptables can be daunting, so maybe you might want to opt for an easier way to manage your Linux iptables, at least for now.
    There are several front-ends for Linux iptables that you can use. For example, thereís GUFW (look up in Ubuntu community), which is a simple front-end, and you also have dome9.com/security-challenges/ubuntu-firewall-management, which is a cloud-based ubuntu firewall solution that manages the firewall for you transparently. Check out those options and see what suits you best.
    I would also suggest reading up on iptables, just to get a better understanding of how they work. It might also help in choosing a solution

    Good luck! Nomi

  5. #5
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Guys, this thread is nearing 5 years old so I'm going to go ahead and close it, but do feel free to start fresh threads with the details if any of you are still having problems with Linux.

    Thank you.
    oz

Posting Permissions

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