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

    Block alias in rule

    Firewalling
    2
    14
    4.0k
    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.
    • L
      lfph
      last edited by

      Hello,
      can someone explain how to block an Alias in firewall rules?
      thanx.

      1 Reply Last reply Reply Quote 0
      • M
        Metu69salemi
        last edited by

        create blocking rule with that alias.

        Seriously talking: what kind of alias you have?

        1 Reply Last reply Reply Quote 0
        • L
          lfph
          last edited by

          HI, i kind of figure it out i think but it doesnt do the job!!
          trying to block the https from facebook and i did like on the pix attached but it doesnt work. any idea?
          thx.

          alias_facebook.jpg
          alias_facebook.jpg_thumb
          lan_reject_facebook.jpg
          lan_reject_facebook.jpg_thumb

          1 Reply Last reply Reply Quote 0
          • M
            Metu69salemi
            last edited by

            couple things:
            your rule is blocking anything between 80-443
            in what interface this rule is added

            1 Reply Last reply Reply Quote 0
            • L
              lfph
              last edited by

              i'm using pfsense to filter some of the computers of the school where i'm working at. This rule is added in "school proxy filter" (that i created) as i want only certain computers to be filtered.

              1 Reply Last reply Reply Quote 0
              • M
                Metu69salemi
                last edited by

                yes but in what interface this rule is applied?

                1 Reply Last reply Reply Quote 0
                • L
                  lfph
                  last edited by

                  here's a screenshot. does it help?

                  ![Screen shot 2011-09-08 at 4.55.49 PM.png](/public/imported_attachments/1/Screen shot 2011-09-08 at 4.55.49 PM.png)
                  ![Screen shot 2011-09-08 at 4.55.49 PM.png_thumb](/public/imported_attachments/1/Screen shot 2011-09-08 at 4.55.49 PM.png_thumb)

                  1 Reply Last reply Reply Quote 0
                  • M
                    Metu69salemi
                    last edited by

                    If the proxyinterface itself is the same as lan subnet, then it should work

                    1 Reply Last reply Reply Quote 0
                    • L
                      lfph
                      last edited by

                      well, it doesnt. here's my interface setup scrennshot.

                      ![Billede 1.png_thumb](/public/imported_attachments/1/Billede 1.png_thumb)
                      ![Billede 1.png](/public/imported_attachments/1/Billede 1.png)

                      1 Reply Last reply Reply Quote 0
                      • M
                        Metu69salemi
                        last edited by

                        rules work on ingress

                        So the rules must be implemented to that interface where you want it to work and must have same subnet as source

                        1 Reply Last reply Reply Quote 0
                        • L
                          lfph
                          last edited by

                          I think I'm starting to get it. I (think) made the proper changes. cannot try it now, i'll be at work first tomorrow afternoon. check the pix, what do you think?
                          thx a lot.

                          ![Screen shot 2011-09-08 at 9.49.07 PM.png](/public/imported_attachments/1/Screen shot 2011-09-08 at 9.49.07 PM.png)
                          ![Screen shot 2011-09-08 at 9.49.07 PM.png_thumb](/public/imported_attachments/1/Screen shot 2011-09-08 at 9.49.07 PM.png_thumb)

                          1 Reply Last reply Reply Quote 0
                          • M
                            Metu69salemi
                            last edited by

                            Looks ok, but you're still blocking everything between 80 and 443

                            1 Reply Last reply Reply Quote 0
                            • L
                              lfph
                              last edited by

                              that's right, made the change, let see if it works. thx again.

                              1 Reply Last reply Reply Quote 0
                              • L
                                lfph
                                last edited by

                                it does work now, thank you very much, i really appreciate.
                                s.

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