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

How to create a url alias?

Scheduled Pinned Locked Moved Firewalling
15 Posts 4 Posters 22.5k 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.
  • M
    mudfish
    last edited by Jan 14, 2012, 6:01 AM

    no. url alias only. entering http://www.anywebsite.com or just www.anywebsite.com results in that error.  ???

    1 Reply Last reply Reply Quote 0
    • M
      mudfish
      last edited by Jan 14, 2012, 6:11 AM

      i found this thread

      http://forum.pfsense.org/index.php?topic=38720.0

      and i'm wondering if url alias is fixed?? on the latest pfsense version. ???

      1 Reply Last reply Reply Quote 0
      • M
        marcelloc
        last edited by Jan 14, 2012, 10:56 AM Jan 14, 2012, 10:54 AM

        There is no problem with that.

        the alias type is host, not url.  ;)

        alias.png
        alias.png_thumb

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • M
          mudfish
          last edited by Jan 15, 2012, 3:27 AM

          @marcelloc:

          There is no problem with that.

          the alias type is host, not url.  ;)

          there is an alias type url. :)

          1 Reply Last reply Reply Quote 0
          • M
            marcelloc
            last edited by Jan 15, 2012, 3:42 AM

            The alias type url downloads alias list from a url

            Sample:

            Http://192.168.1.1/mylist.php

            Mylist.php returns

            Www.facebook.com
            apps.facebook.com

            Treinamentos de Elite: http://sys-squad.com

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • M
              mudfish
              last edited by Jan 15, 2012, 9:34 AM

              i will try alias by host type tomorrow as i am not on my server at the moment. i did not try that because as you can see from your screenshot that host entries by this type should be entered by their ip address not by its web address or fqdn name??? please correct me if i am wrong with that. thanks for the help  :)

              1 Reply Last reply Reply Quote 0
              • M
                marcelloc
                last edited by Jan 15, 2012, 10:10 AM

                Use alias=host and ip=fqdn.

                Treinamentos de Elite: http://sys-squad.com

                Help a community developer! ;D

                1 Reply Last reply Reply Quote 0
                • C
                  Cino
                  last edited by Jan 15, 2012, 4:18 PM

                  just food for thought… if you create a host or url alias(having it point to a list with domain names in it) doesn't pfsense just grab the first IP address it resolves and puts in in a table?

                  1 Reply Last reply Reply Quote 0
                  • M
                    marcelloc
                    last edited by Jan 15, 2012, 5:46 PM

                    Yes, it will. Every apply or rules reload.

                    If dns changes you do not need to find old alias ip to replace.

                    But it will not work on sites from akamai.net for example.

                    Treinamentos de Elite: http://sys-squad.com

                    Help a community developer! ;D

                    1 Reply Last reply Reply Quote 0
                    • J
                      jimp Rebel Alliance Developer Netgate
                      last edited by Jan 16, 2012, 6:27 PM

                      It does take every IP that comes back though, so if you feed it www.facebook.com it only returns one IP, such as 69.171.228.14 - so that table would only have a single IP.

                      But if you give it something like www.google.com which returns 6 IPs at once, then all 6 would be in the table.

                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • M
                        mudfish
                        last edited by Jan 17, 2012, 1:59 AM Jan 17, 2012, 1:53 AM

                        alias by host type is really what i need and it works. thanks marcelloc  :)

                        1 Reply Last reply Reply Quote 0
                        15 out of 15
                        • First post
                          15/15
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                          This community forum collects and processes your personal information.
                          consent.not_received