IP Tables

Discussion in 'all things UNIX' started by curious george, Jun 15, 2012.

Thread Status:
Not open for further replies.
  1. curious george

    curious george Registered Member

    Joined:
    Jun 24, 2007
    Posts:
    218
    I've been running crux linux for quite some time now...amazing little distro. Its like a blend between arch and gentoo, but, simplier and (from my point of view) faster.

    Anyway, since crux has been on my desktop, and never really needed a firewall for security because I've been behind a router, I've come to realize I have no knowledge in iptables.

    The reason why I'm worried now, is because I will be running linux on a laptop, and, since I will be connecting to the schools wifi and other random places, I'd like the security of knowing I have some form of protection.

    So, what recommended readings or settings would you recommend. Please bare in mind, I haven't played with IP Tables before...
     
  2. Gentoo64

    Gentoo64 Registered Member

    Joined:
    Jun 10, 2012
    Posts:
    12
    Location:
    UK
    Put UFW on if you want default deny / easy configuration.

    For iptables heres a very basic guide to set up default deny which a lot of people use then just open any needed ports up: http://en.gentoo-wiki.com/wiki/Iptables
     
  3. curious george

    curious george Registered Member

    Joined:
    Jun 24, 2007
    Posts:
    218
  4. Gentoo64

    Gentoo64 Registered Member

    Joined:
    Jun 10, 2012
    Posts:
    12
    Location:
    UK
    There's lots of IPTables rule generators, but if you just want a plain secure and simple setup follow the guide I linked to.

    If you don't know what you're doing and don't want to manually configure things I would really suggest UFW it's a very good simple firewall, and the easiest firewall that I've come across.

    It has a gui option, but it's pretty pointless as the cli is so easy ie.

    ufw status (verbose / numbered etc) will show the status

    ufw allow port

    ufw limit

    ufw delete (rule number)

    Very easy and foolproof, perfect for your scenario.
     
  5. BrandiCandi

    BrandiCandi Guest

    I agree with Gentoo64. UFW is actually built on top of iptables. The whole point of UFW is to simplify iptables, so it's probably the way to go if you're not familiar with how general TCP/IP traffic works.

    edit: did you see vasa1's thread about gufw? gufw is a gui interface for ufw which is built on iptables. https://www.wilderssecurity.com/showthread.php?t=326241

    However, if you want to learn how to use iptables, then you'll have to learn how network traffic works.

    This first link teaches you the very basics:
    http://www.trainsignal.com/blog/free-computer-training-videos/free-networking-training-videos/page/2

    Then there's this tutorial series that's really comprehensive. You probably wouldn't have to go through it all before you got a handle on basic traffic

    http://www.professormesser.com/free...omptia-network-certification-training-course/
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.