The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

HOW-TO: Shoreline Firewall (Shorewall) 2.0.2f

Discussion in 'cPanel Developers' started by projectandrew, Jun 19, 2004.

  1. projectandrew

    projectandrew Well-Known Member

    Joined:
    Aug 27, 2003
    Messages:
    185
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    HOW-TO: Shoreline Firewall (Shorewall) 2.0.6

    The Shoreline Firewall, more commonly known as "Shorewall", is a high-level tool for configuring Netfilter. You describe your firewall/gateway requirements using entries in a set of configuration files. Shorewall reads those configuration files and with the help of the iptables utility, Shorewall configures Netfilter to match your requirements. Shorewall can be used on a dedicated firewall system, a multi-function gateway/router/server or on a standalone GNU/Linux system. Shorewall does not use Netfilter's ipchains compatibility mode and can thus take advantage of Netfilter's connection state tracking capabilities.

    Shorewall is not a daemon. Once Shorewall has configured Netfilter, it's job is complete. After that, there is no Shorewall code running although the /sbin/shorewall program can be used at any time to monitor the Netfilter firewall.

    At the time of writing, the latest version of Shorewall is 2.0.6. For more information on the Shoreline Firewall, visit http://www.shorewall.net/.

    http://unofficial-support.com/node/view/46
     
    #1 projectandrew, Jun 19, 2004
    Last edited: Jul 19, 2004
  2. projectandrew

    projectandrew Well-Known Member

    Joined:
    Aug 27, 2003
    Messages:
    185
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    Shorewall 2.0.6 has recently been released, so I've updated above.
     
  3. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    2.4.4 is out , works perfectly
     
  4. b0072k1

    b0072k1 Well-Known Member

    Joined:
    Dec 30, 2004
    Messages:
    133
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Glasgow
    could u run this along side apf or what?>
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    No, you would have to use one or the other as they're both iptables configuration scripts and they would clash/nullify each other.
     
  6. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    I add that the how to on "http://unofficial-support.com/node/view/46"
    is outdated since now shorewall supports zones. However it gives a good idea on how to install it on cpanel . Especially the how to regarding the rules is not complete . Reading the documentation you should not have problems to write good rules .For security reasons I prefer to don't post here my rules and zones.

    Bye
     

Share This Page