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

    Trouble with allowing outside connection with domain name

    Scheduled Pinned Locked Moved Firewalling
    2 Posts 2 Posters 251 Views 2 Watching
    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.
    • Gamienator 0G Offline
      Gamienator 0
      last edited by

      Hey everyone,

      in our setup we are not allowed to have an ANY Rule outgoing to the internet. A lot of providers, like Microsoft provied a list of IP Adresses which I'm able to allow. Now services like Proxmox doesn't provide a list, therefore I'm forced to set a alias with the domainname download.proxmox.com. For that case I need to access the Proxmox Repository. Now it happens time to time that my server can't reach the repository and I see a blocking firewall event. Which means to me the DNS Result on the firewall is a different of my client. Suprises me, then the DNS Server for my network is my pfsense.

      Is there a better way to allow outgoing connections based on domainnames?

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        SteveITS Rebel Alliance @Gamienator 0
        last edited by

        @Gamienator-0 High traffic web sites or content delivery networks will often rotate IP addresses sometimes every minute. That one has a very short TTL:

        download.proxmox.com. 61 IN CNAME download.cdn.proxmox.com.
        download.cdn.proxmox.com. 12 IN CNAME us.na.cdn.proxmox.com.
        us.na.cdn.proxmox.com. 12 IN CNAME na.cdn.proxmox.com.
        na.cdn.proxmox.com. 59 IN A 66.70.154.82

        pfSense looks up the IP every 5 minutes by default. There will always be a chance the DNS lookup is not the same IP every time you check it, even if it is a few seconds later.

        The pfBlocker package can create aliases from ASNs which are basically IP blocks you can look up by company name.

        Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to reboot, or more depending on packages, and device or disk speed.
        Upvote 👍 helpful posts!

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