shorewall-users January 2012 archive
Main Archive Page > Month Archives  > shorewall-users archives
shorewall-users: Re: [Shorewall-users] Shorewall and sshdfilter

Re: [Shorewall-users] Shorewall and sshdfilter

From: Tom Eastep <teastep_at_nospam>
Date: Tue Jan 31 2012 - 15:50:40 GMT
To: Shorewall Users <shorewall-users@lists.sourceforge.net>

On Tue, 2012-01-31 at 15:03 +0200, Angela Williams wrote:

> At a guess I would start with the actions file to add a rule but adding the
> SSHD table is another whole story!
>
> Any ideas anyone! Crack this one and Shorewall will go back into all my
> customers! My old script is past it's sell by date!

In /etc/shorewall/compile:

        use Shorewall::Chains;

        dont_delete( new_manual_chain('SSHD') );

In /etc/shorewall/rules:

        SSHD net $FW tcp 22

-Tom
-- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d

_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users