• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 162 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.
  • G
    Gamienator 0
    last edited by Nov 20, 2024, 9:35 AM

    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 Nov 20, 2024, 3:32 PM Reply Quote 0
    • S
      SteveITS Galactic Empire @Gamienator 0
      last edited by Nov 20, 2024, 3:32 PM

      @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.

      Pre-2.7.2/23.09: 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 restart, or more depending on packages and device speed.
      Upvote 👍 helpful posts!

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