Navigation

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

    How except IP from block

    General pfSense Questions
    3
    5
    507
    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.
    • A
      ahmadhassan last edited by

      Hello all,
      This a first time use of sense
      I install latest version of offense 2.3.2 and use openings to block.
      Create Alias and create rule destination to DNS
      Now I need exepect some IP from this block "open anything"

      1 Reply Last reply Reply Quote 0
      • Derelict
        Derelict LAYER 8 Netgate last edited by

        Reject source 192.168.1.100/32
        Pass source 192.168.1.0/24

        Chattanooga, Tennessee, USA
        The pfSense Book is free of charge!
        DO NOT set a source port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • A
          ahmadhassan last edited by

          @Derelict:

          Reject source 192.168.1.100/32
          Pass source 192.168.1.0/24

          Thanks Derelict for reply
          I don't understand mean "Reject and Pass source"
          Also in the diagram use VPN, I need quick step
          This first time use of pfsense  :)

          1 Reply Last reply Reply Quote 0
          • B
            blackj last edited by

            you have to do it in 2 steps, create a rule to block what you want to block as the top rule, and create another rule to allow what you want to allow as second rule. The rules are executed in order top down.

            1 Reply Last reply Reply Quote 0
            • A
              ahmadhassan last edited by

              @blackj:

              you have to do it in 2 steps, create a rule to block what you want to block as the top rule, and create another rule to allow what you want to allow as second rule. The rules are executed in order top down.

              Thanks blackj

              I attached snapshot from RULE–>LAN, NAT and Aliases






              1 Reply Last reply Reply Quote 0
              • First post
                Last post