IPFire seems to be blocking some MS services

At times, we can’t sign into MS store, MS Family will say it can’t connect to their servers, and on ALL computers, when trying to add a new MS account to the computer, it’ll bomb out saying “You need internet for this” on all PC’s. These features both work when connected through a VPN or a secondary firewall that I use for an IOT network, but fail when going directly through IPFire.

I’ve stopped using my web proxy altogether, and tried turning off the DNS firewall, location blocking, IP Address blocklist, and Intrusion Protection, none of these seem to be the cause.

I’ve removed all DNS servers, including the ISP ones, and see it running DNS in Recursor Mode. Still doesn’t work.

I tried logging into SSH and running tail -f /var/log/messages and see nothing popping up that traces to the IP address of the computer I’m using. Other messages pop up with other traffic that seem to be unrelated and don’t seem to synchronize at all with when I’m pressing the “Retry” button at that error message saying that I don’t have internet.

I’m at a loss as to what is causing this issue, it also caused a problem getting someone signed into the MS Store, but seems to resolve once I log in once through a VPN… so it only seems to be initial logins that have problems.

Which version of IPFire are you using?
If you change the DNS settings with CU203, it’s recommended to restart and clear the DNS cache:

kresctl cache clear
/etc/init.d/knot-resolver restart

When you modify the proxy configuration, it’s also necessary to clear the Windows caches (WinHTTP, DNS) or restart your client.

Tried all that, no change.

Using CU203.

Camera picture of the exact error when trying to sign a new MS account into a computer for the first time since apparently Windows won’t let me screenshot it.

Verify your connection and DNS

On ipfire console, verify
kdig www.msftconnecttest.com

On Windows terminal (shift F10) verify
nslookup www.msftconnecttest.com

 kdig www.msftconnecttest.com
;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id: 36968
;; Flags: qr rd ra; QUERY: 1; ANSWER: 4; AUTHORITY: 0; ADDITIONAL: 1

;; EDNS PSEUDOSECTION:
;; Version: 0; flags: ; UDP size: 1232 B; ext-rcode: NOERROR

;; QUESTION SECTION:
;; www.msftconnecttest.com.             IN      A

;; ANSWER SECTION:
www.msftconnecttest.com.        3516    IN      CNAME   www.msftconnecttest.com.edgesuite.net.
www.msftconnecttest.com.edgesuite.net. 8260     IN      CNAME   a39.d.akamai.net.
a39.d.akamai.net.       20      IN      A       23.59.169.143
a39.d.akamai.net.       20      IN      A       23.59.169.132

;; Received 162 B
;; Time 2026-10-13 11:33:07 CDT
;; From 127.0.0.1@53(UDP) in 14.9 ms

Server:  ipfire.redel
Address:  192.168.1.1

Non-authoritative answer:
Name:    www.msftconnectest.com
Address:  199.191.50.184

You should have also tried pinging from your Windows machine:
ping www.msftconnectest.com

But if you have neither a proxy nor any blocking rules, I don’t see what could be blocking you with IPFire.

Edit : Try from windows
curl http://www.msftconnecttest.com/connecttest.txt

Pinging www.msftconnectest.com [199.191.50.184] with 32 bytes of data:
Reply from 199.191.50.184: bytes=32 time=55ms TTL=236
Reply from 199.191.50.184: bytes=32 time=54ms TTL=236
Reply from 199.191.50.184: bytes=32 time=52ms TTL=236
Reply from 199.191.50.184: bytes=32 time=49ms TTL=236

Ping statistics for 199.191.50.184:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 49ms, Maximum = 55ms, Average = 52ms
curl http://www.msftconnectest.com/connectest.txt
<!DOCTYPE html>
<html lang="en">
<head>
</head>
<body>
<div align=center>
  <h3>Error. Page cannot be displayed. Please contact your service provider for more details.</h3>
</div>
</body>
</html>

Not sure if the page cannot be displayed message is correct. I’d assume it is, since it is a response formatted in HTML

.But if you have neither a proxy nor any blocking rules, I don’t see what could be blocking you with IPFire.

And that is exactly why it’s been a huge headache.

My thing is that this is only on the initial login situations. If I try to troubleshoot the connection or use any other windows / MS function to determine if my internet is working, it passes. Once I bypass IP Fire to log in and then connect indirectly (VPN, double firewall, etc), it lets me sign back in and use the services like normal directly afterwards.

So it’s something specific to first time logins in the MS Store, Windows itself, and, perhaps, MS Family that is the problem.

The correct address is
http://www.msftconnecttest.com/connecttest.txt

Regards

Sorry, it was my mistake.
ping www.msftconnecttest.com
and
curl http://www.msftconnecttest.com/connecttest.txt
Response must be
Microsoft Connect Test

Did it again with the correct URLs:

curl http://www.msftconnecttest.com/connecttest.txt
Microsoft Connect Test

ping www.msftconnecttest.com

Pinging a39.d.akamai.net [23.59.169.132] with 32 bytes of data:
Reply from 23.59.169.132: bytes=32 time=14ms TTL=54
Reply from 23.59.169.132: bytes=32 time=13ms TTL=54
Reply from 23.59.169.132: bytes=32 time=14ms TTL=54
Reply from 23.59.169.132: bytes=32 time=13ms TTL=54

Ping statistics for 23.59.169.132:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 13ms, Maximum = 14ms, Average = 13ms

nslookup www.msftconnecttest.com
Server: ipfire.redel
Address: 192.168.1.1

Non-authoritative answer:
Name: a39.d.akamai.net
Addresses: 23.59.169.143
23.59.169.132
Aliases: www.msftconnecttest.com
www.msftconnecttest.com.edgesuite.net

Windows hosts tend to remember proxy settings in a variety of places. Some actions (like logging in to various local and remote services) retain stale proxy settings long after “normal” connection activities forget them. Check your Windows network connections and ensure proxies are disabled/not-present.

Here’s what Gemini has to say about it:

Windows often retains legacy proxy parameters across multiple registry hives, WinINet caches, and background connection profiles even after you remove an auto-configuration script (PAC/WPAD). Because system apps and Microsoft Account sign-ins rely on WinINet/WinHTTP layers rather than just standard browser settings, stale hooks will cause authentication loops.

Here is the step-by-step cleanup procedure to remove all lingering proxy hooks.

  1. Reset WinINet Proxy Settings via Command Prompt:

Open Command Prompt as an administrator (cmd, right-click → Run as administrator) and run the following command to clear the core system proxy cache:

netsh winhttp reset proxy

Verification: The console should output “Direct Access (no proxy).” confirming WinHTTP has dropped all routing rules.

  1. Clear WinINET and Connection Registry Keys:

  2. Press Win + R, type regedit, and hit Enter.

  3. Navigate to the following registry path:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings

  4. Look for and delete (or export as backup first) the following keys if they still reference your old proxy:

    • ProxyServer
    • ProxyOverride
    • AutoConfigUrl
    • AutoDetect (you can set this to 0)

Verification: Refresh the registry view (F5) to ensure the leftover string values are completely removed.

  1. Reset Network Stack and Winsock:

Flush system-wide network caches and connection states to ensure no transparent routing hooks remain active in the background. Run these commands in an administrator Command Prompt:

ipconfig /flushdns
netsh int ip reset
netsh winsock reset

Verification: Restart your computer when prompted to allow the network stack to reinitialize cleanly.

I checked all the things Paul Medynski just recommended and no dice… then I saw CU204 came out and that it apparently changed some things with the knot resolver.

Upgraded to CU204 and the problem seems to have disappeared. Yay!

Spoke too soon. After temporarily working, it seems to have broken again.

If you are using a proxy (cache or WPAD)
Add these domains

Network → Web Proxy

Cache management
Do not cache these domains (one per line):

microsoft.com
msedge.net
msftconnecttest.com
login.live.com
login.windows.net
account.live.com
clientconfig.passport.net
windowsphone.com
wns.windows.com
s-microsoft.com
g.live.com

Web Proxy Auto-Discovery Protocol (WPAD) / Proxy Auto-Config (PAC)
Excluded URL s (one per line):

*.microsoft.com*
*.msedge.net*
*.msftconnecttest.com*

Clear cache → Save and Restart
Restart windows

Interesting development:

After thinking back to how the CU204 update seemed to fix it temporarily, I went and tried leaving all my options ON with all my blocking services and firewall rules enabled, then rebooted IP Fire. On a fresh reboot, the problem doesn’t exist. I’m not sure how long IP Fire needs to be up before it breaks, but it works fine for a while after rebooting.

I stopped using the proxy a bit ago since the DNS Firewall doesn’t break things as much. I only use it to keep our internet (mostly) kid safe, so this works fine. I tried adding all those entries to the DNS Firewall whitelist anyway and it didn’t change anything

I do regularly use DNS Firewall, Intrusion Protection, Location Blocking of a handful of countries (not US), IP Blocklists (DSHIELD, EMERGING_COMPROMISED, FEODO_RECOMMENDED), and have a firewall rule that redirects all DNS requests to IPFire. I’ve tried disabling ALL of those and the problem persists… however leaving them all enabled and rebooting IP Fire works, at least temporarily.

After a few hours, it was still working fine, but after leaving IP Fire up overnight, the problem returned.

I wasn’t expecting the small update to make a difference, but this issue still persists on CU205.

You should provide more details about your IPFire configuration DNS, Proxy ( notably cache management)

About proxy:

How did you set up this blocking ?

Have you tried disabling WPAD on Windows :
Settings → Network & Internet → Proxy
Automatic proxy setup - Automatically detect settings: Off

You should provide more details about your IPFire configuration DNS, Proxy ( notably cache management)

Cache is disabled and the proxy is disabled and showing as STOPPED. I currently have DNS in TLS mode with Cloudflare and Quad9 as servers and safe search turned on, but I’ve put it in Recursive Resolver mode before to troubleshoot and had the same issue, even after ipconfig /flushdns and reboot on the windows machine. I used my ISP’s DNS servers as well, no help.

I used the instructions here to redirect all DNS queries to IP Fire’s DNS server, but I made that change after the problem showed up as a means to try to fix it and disabling those firewall rules retroactively doesn’t fix it.

How did you set up this blocking ?

Have you tried disabling WPAD on Windows :
Settings → Network & Internet → Proxy
Automatic proxy setup - Automatically detect settings: Off

Several months ago, I turned off all proxy options in IP Fire and removed WPAD from the DHCP configuration. The Additional DHCP options section is now completely blank and under Services the Web Proxy is showing as STOPPED. I’ve tried changing windows proxy setting from automatic to off as well, wondering the same thing.

I used to use Squid for the URL Filter, but stopped using it when IP Fire started offering the DNS Firewall with their own DBL. Squid had caused a number of issues with other services and software and had been a headache for me for years, so I was glad to get rid of it.

I have also been using Intrusion Protection, Location Blocking (a handful of high hacking activity countries), and IP Address Blocklists (DSHIELD, EMERGING_COMPROMISED and FEODO_RECOMMENDED), for years without issue.

As I stated before, I’ve tried disabling the DNS Firewall, Intrusion Protection, Location Blocking, and IP Address Blocklist services (DSHIELD, EMERGING_COMPROMISED and FEODO_RECOMMENDED). Even with all these features turned off, the issue persists.

On a fresh reboot, everything works fine even with all those services enabled until the following morning. I’m beginning to wonder if a cron job might be causing the issue, but I’m not sure what it might be.

fcron.daily (where I’d think the problem is) - openvpn-crl-updater and trim, nothing else
fcron.weekly - urlfilter and updatedb
fcron.cyclic - wg-dynamic
fcron.hourly - empty
fcron.minutely - empty
fcron.monthly - smart-drivedb

None of those stand out and I don’t believe I’ve modified any of them.

Sorry to bring this up again, but just to add one thing — this may be a false lead:

If you enabled WPAD via DNS in IPFire, stopping the proxy and disabling the DHCP option may not remove the WPAD file served by IPFire’s Apache server.

From a Windows browser, check http://wpad/wpad.dat or http://wpad.<yourlocaldomain>/wpad.dat.

Other than that, I can’t think of anything else.