Basic Rule Creation Help

Discussion in 'LnS English Forum' started by b.burl, Apr 18, 2007.

Thread Status:
Not open for further replies.
  1. b.burl

    b.burl Registered Member

    Joined:
    Jun 7, 2006
    Posts:
    2
    Hi, I am a LnS noob and I'm having a little trouble with creating a rule. I want to allow a program access but only to certain ports. It's thunderbird and I need to give it access to ports 587,110,995, & 25; but look and stop only lets me input two ports using the "Equal Or" option.
    Here is the error I get:

    http://suprfile.com/src/1/6u5z8tq/rule_help.png


    Do I need to create two rules with two ports in each, or am I just doing it all wrong?

    Thanks for your time.
     
  2. Climenole

    Climenole Look 'n' Stop Expert

    Joined:
    Jun 3, 2005
    Posts:
    1,640
    Hi b.burl :)

    In the field for remote ports with "Equal or" you have to enter, for example, 25 and 110. Not a list of ports: there's no such feature in LNS...


    So for Thunderbird you have to create specific rules like this:

    Protocol: TCP
    packets : in and out
    Address: From My @IP
    ports(local): in range 1024 to 5000
    ports(remote): Equal or 25, 110
    applications... : Thunderbird <<== it's important to add the program here.

    Protocol: TCP
    packets : in and out
    Address: From My @IP
    ports(local): in range 1024 to 5000
    ports(remote): Equal or 587, 995
    applications... : Thunderbird <<== it's important to add the program here.


    Put these rules just before the general rule "Allow most common internet programs"...

    You have to know that these specific rules are optionnal since the general rule "Allow most common internet programs" manage all TCP connections of allowed programs (in the application filter)...

    Normally a specific rule is needed if:
    1- the program is a server
    2- the program used the UDP protocol or TCP and UDP protocols
    3- the program used a non-"standard" local port

    Hope this help. Let us know.

    :)
     
  3. b.burl

    b.burl Registered Member

    Joined:
    Jun 7, 2006
    Posts:
    2
    Thanks for helping to clear that up. So I don't actually need a rule for thunderbird, only for programs like utorrent.

    cheers.
     
  4. RyanM

    RyanM Registered Member

    Joined:
    Jun 8, 2006
    Posts:
    23
    If the program acts as a server (like uTorrent and most other peer to peer programs do) and/or the program needs UDP ports to be forwarded, then you would need to make the appropriate rule in LnS and make sure to add the program in question to the applications list (by pressing the Applications button and choosing the appropriate .exe file).

    For common Internet programs that use the TCP ports (like e-mail clients, Internet browsers, etc), the 'Enhanced Rule Set' from LnS already has a rule that allows these programs access so you don't have to make a rule.

    RyanM
     
Thread Status:
Not open for further replies.