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

    IPSEC Mobile Clients on MacOS/iOS are unable to resolve DNS after updating from 22.02 TO 22.05

    Scheduled Pinned Locked Moved IPsec
    2 Posts 1 Posters 511 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.
    • M Offline
      mringl
      last edited by

      Hello,
      We use Split-DNS configuration for Mobile IPSec clients on our Firewall.
      After updating the firewall to 22.05 all MacOS /iOS Clients never ask the VPN configured DNS Server.
      I'm able to ping but nslookup or dig doesn't work without specifying an internal DNS Server (Active Directory DNS Servers).

      I've tried the VPN Profile Provided by the PFsense Ipsec Export: Apple Profile package, but I also created one by my own.

      As mentioned: Everything worked before updating to 22.05.

      1b32591f-5c4e-4adf-936e-555fbbc7492a-image.png

      CR Markus

      1 Reply Last reply Reply Quote 0
      • M Offline
        mringl
        last edited by

        I also found out that in /etc/inc/ipsec.inc the search domain attribute property key was changed from 28674 to 27674.

        In this commit:
        https://github.com/pfsense/pfsense/commit/3a0f6f3609dcb50e3ba927a743fb9f1990a48181

        new

        	if (!empty($a_client['dns_domain'])) {
        		$ssconf['charon']['plugins']['attr'][] = "# Search domain and default domain";
        		$ssconf['charon']['plugins']['attr']['27674'] = "\"{$a_client['dns_domain']}\"";
        		if (empty($a_client['dns_split'])) {
        			$ssconf['charon']['plugins']['attr']['27675'] = "\"{$a_client['dns_domain']}\"";
        		}
        	}
        

        old

        if (!empty($a_client['dns_domain'])) {
        	$pool_common[] = "# Search domain and default domain";
        	$pool_common['28674'] = "\"{$a_client['dns_domain']}\"";
        	if (empty($a_client['dns_split'])) {
        		$pool_common['28675'] = "\"{$a_client['dns_domain']}\"";
        	}
        }
        

        I think this is also wrong, i've tried to change it but without any effect.

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