Re: kerio: (1) Former freeness, & (2) Filter rules precedence
From: sponge (yosponge_at_yahoo.com)
Date: 06/01/03
- Next message: Chris: "Re: Problem with 3 NICs"
- Previous message: Peter Gordon: "SonicWALL --- *** HELP ***"
- In reply to: Fred Ma: "kerio: (1) Former freeness, & (2) Filter rules precedence"
- Next in thread: Fred Ma: "Re: kerio: (1) Former freeness, & (2) Filter rules precedence"
- Reply: Fred Ma: "Re: kerio: (1) Former freeness, & (2) Filter rules precedence"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 1 Jun 2003 01:00:32 -0700
On 1 Jun 2003 03:40:37 GMT, Fred Ma <fma@doe.carleton.ca> wrote:
>Alastair Smeaton wrote:
>>
>> Kerio came about when developers from Tiny split from the parent
>> company.
>>
>> Kerio is free from www.kerio.com
>>
>> Tiny is now payware
>> --
>> Alastair Smeaton
>
>Thanks for clarifying, Alastair. Kerio is in fact
>what I have. And I did find it at their website
>after a 2nd look (it's not one of the 4 product
>photos shown at the top, but it is under the
>products menu, which seems to show up a little
>jumbled on my PC due to use of Large Font).
Ok, I take it you are using v2.1.5, as opposed to the beta like 3.5
and 4. If you're using a beta, I'd drop it as 2.1.5 is the latest
stable release.
That said, Kerio is a rules-based firewall, so the precendence is in
the orders the rule are listed top-to-bottom in the Advanced menu. If
you seem to be getting conflicting precedence, odds are your rules are
not configured correctly -- and probably not tight enough.
You don't say explicitly if you are using SSH as a client or a host or
both, but I get the feeling you use it on a server.
Generally, a rule for SSH for a client should look something like
this:
Rule Name: Allow SSH from Subnet #1
Direction: INCOMING
Protocol: TCP & UDP
Local Port: 22
Application: C:\Program Files\Cygwin\CYGWIN.EXE
Remote Endpoint: Address/Mask (enter base address in first line,
subnet mask in second line)
Remote Port: ANY
Action: PERMIT
Rule Name: Allow SSH from Subnet #2
Direction: INCOMING
Protocol: TCP & UDP
Local Port: 22
Application: C:\Program Files\Cygwin\CYGWIN.EXE
Remote Endpoint: Address/Mask (enter base address in first line,
subnet mask in second line)
Remote Port: ANY
Action: PERMIT
Rule Name:Block SSH from all other Networks
Direction: OUTGOING
Protocol: TCP & UDP
Local Port: 22
Application: C:\Program Files\Cygwin\CYGWIN.EXE
Remote Endpoint: Address/Mask (enter base address in first line,
subnet mask in second line)
Remote Port: ANY
Action: DENY
The latter rule blocks everything not specifically allowed in the
previous two (or however many) rules. If you have a "Block All" rule
at the very end of your firewall rules list, you really don't need to
bother with the latter rule because a "Block All" rule blocks
everything not permitted by previous rules.
If you're running SSH on a client, you'd flip directions and also flip
the Local Port and Remote Port entries. If your SSH is tied to a
specific local port, then, obviously, you'd want to put that port in
place of "ANY".
I'm not sure what port ranges are allowable for OpenSSH. When in
doubt, you can always create a "relaxed rule" and observe a the
behavior of an application and the protocols it uses, and tighen your
rules based on that. For example, create a single rule like so:
Rule Name: Allow SSH and Observe it
Direction: BOTH
Protocol: TCP & UDP
Local Port: ANY
Application: C:\Program Files\Cygwin\CYGWIN.EXE
Remote Endpoint: ANY
Remote Port: ANY
Action: PERMIT
Log: YES
Alert Me When this Rule Matches: YES
This is an easy way to figure out how to configure Kerio (or any
rules-based firewall) for anything. You can then tighten things up by
specifying the needed local ports, remote ports, remote addresses, and
so on as you see fit.
Sponge
Sponge's Anti-Spyware Source
www.geocities.com/yosponge
- Next message: Chris: "Re: Problem with 3 NICs"
- Previous message: Peter Gordon: "SonicWALL --- *** HELP ***"
- In reply to: Fred Ma: "kerio: (1) Former freeness, & (2) Filter rules precedence"
- Next in thread: Fred Ma: "Re: kerio: (1) Former freeness, & (2) Filter rules precedence"
- Reply: Fred Ma: "Re: kerio: (1) Former freeness, & (2) Filter rules precedence"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|