Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    PortRanges for Single Aliase

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 2 Posters 1.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      keasley
      last edited by

      I am currently using 1.2.3RC3 dated 08Sep2009.

      I created an Aliase for a single port range 6881:6999 to apply to my firewall rules to block on LAN Subnet.  But I am getting this error:

      There were error(s) loading the rules: no IP address found for 6881:6999 /tmp/rules.debug:139: could not parse host specification pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [6999 /tmp/rules.debug]:

      I searched the forum and found this http://forum.pfsense.org/index.php/topic,4575.0.html stating solved.  Is this another bug or am I doing something wrong.  I have other aliases applied to my fw rules, but they are single port(s) on each line.  Thanks for the assist.

      Mini ITX
      Intel(R) Core(TM)2 Duo CPU T9550 @ 2.66GHz
      2 CPUs: 1 package(s) x 2 core(s)
      2Gigs of RAM
      4 intel 10/100/1000
      300GB WD Raptor
      Full Version 2.1.3-RELEASE (i386)

      1 Reply Last reply Reply Quote 0
      • K Offline
        keasley
        last edited by

        Okay,

        Since it is a single range, I just used a single fw rule blocking that range for the LAN subnet.  I hope I did it right.

        Prot          Source    Port            Dest    Port  Gateway    Schedule    Description
        TCP/UDP    LAN net  6881-6999  *          *      *                                block bittorrent

        If I am incorrect pls clue me in.  Thanks

        Mini ITX
        Intel(R) Core(TM)2 Duo CPU T9550 @ 2.66GHz
        2 CPUs: 1 package(s) x 2 core(s)
        2Gigs of RAM
        4 intel 10/100/1000
        300GB WD Raptor
        Full Version 2.1.3-RELEASE (i386)

        1 Reply Last reply Reply Quote 0
        • E Offline
          Eugene
          last edited by

          if you tell us what you are trying to achieve then we will probably be able to help you.
          Why do you specify source port range? Does it work without alias?

          http://ru.doc.pfsense.org

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.