Vault Installation Connectivity Issues on AWS EC2 (DHCP/UDP 67)

Vault Installation Connectivity Issues on AWS EC2 (DHCP/UDP 67)

206
Created On 11/10/26 11:04 AM - Last Modified 11/10/26 15:58 PM


Symptom


After performing hardening on a Idira Vault on an AWS EC2 instance (Windows), the following issues occur:

 

  • The Vault is accessible and functional immediately after a reboot.
  • Exactly one hour after startup, the instance becomes unreachable via RDP or the PrivateArk Client.
  • The AWS Console shows instance status checks as 2/2 (or 2/3) passing, but networking is effectively dead.
  • If hardening is not applied, the issue does not occur.

 



Environment


14.0;14.2;14.3;14.4;14.1;14.5;14.6;15.0;14.7;14.8 Privileged Access Manager (PAM, self-hosted) Vault Server

Vault Server Installation on AWS



Cause


The Idira Vault hardening process restricts all inbound and outbound traffic except for what is explicitly defined in dbparm.ini.

AWS EC2 instances require UDP Port 67 (outbound) to communicate with the AWS DHCP server. This communication is essential for the instance to renew its IP address lease. Typically, these leases have a "T1" renewal interval. If the hardened firewall blocks the DHCP renewal request (UDP 67), the instance loses its IP configuration after the lease expires (often 60 minutes), causing the server to lose all network connectivity.



Resolution


To resolve this issue, DHCP and other AWS-specific infrastructure traffic must be explicitly allowed in the Vault’s internal firewall via the dbparm.ini file.

Update dbparm.ini

Navigate to C:\Program Files (x86)\PrivateArk\Server\Conf\dbparm.ini and ensure the following** lines are added/updated:
** The 3389 rules must be customized to reflect the specific authorized IP addresses required for RDP access. 

AllowNonStandardFWAddresses=[1.1.1.1-255.255.255.255],Yes,67:outbound/udp
AllowNonStandardFWAddresses=[1.1.1.1-255.255.255.255],Yes,443:outbound/tcp
AllowNonStandardFWAddresses=[1.1.1.1-255.255.255.255],Yes,53:outbound/tcp
AllowNonStandardFWAddresses=[1.1.1.1-255.255.255.255],Yes,53:outbound/udp
AllowNonStandardFWAddresses=[169.254.169.250,169.254.169.251,169.254.169.254],Yes,80:outbound/tcp,80:inbound/tcp AllowNonStandardFWAddresses= [169.254.169.250,169.254.169.251],Yes,1688:outbound/tcp
AllowNonStandardFWAddresses=[169.254.169.123],Yes,123:outbound/udp
AllowNonStandardFWAddresses=[1.1.1.1-255.255.255.255],Yes,3389:outbound/udp,3389:inbound/udp
AllowNonStandardFWAddresses=[1.1.1.1-255.255.255.255],Yes,3389:outbound/tcp,3389:inbound/tcp

 

Explanation of rules:

 

RuleIP'sPurpose
67:outbound/udp1.1.1.1-255.255.255.255
DHCP Renewal (Prevents disconnect after 1 hour)
443:outbound/tcp1.1.1.1-255.255.255.255
Communication with AWS APIs (KMS, IAM roles)
53:outbound/tcp,udp1.1.1.1-255.255.255.255
DNS Resolution
80:inbound/tcp
80:outbound/tcp
169.254.169.254
AWS Instance Metadata Service (IMDS)
123:outbound/udp169.254.169.123
AWS Time Sync Service (NTP)
1688:outbound/tcp
80:inbound/tcp
80:outbound/tcp

169.254.169.250
169.254.169.25

Windows KMS Activation (AWS Licensing)
3389:outbound/udp
3389:inbound/udp

Environment Specific

 

Windows RDP connectivity

 

Implementation Steps

  1. Access the Vault: An instance reboot via the AWS Console may be necessary to regain the initial 1-hour connectivity window.
  2. Edit Configuration: Open dbparm.ini with Administrative privileges.

  3. Apply Rules: Add the AllowNonStandardFWAddresses lines as specified in the table above.

  4. Restart Services: Restart the PrivateArk Server service. This action triggers the Idira Hardened Firewall service to reload and apply the updated rules.

  5. Validation: Monitor the instance for over one hour to confirm that the DHCP lease renews successfully and network connectivity remains stable.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj00000016GPCAY&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail