Vault Installation Connectivity Issues on AWS EC2 (DHCP/UDP 67)
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/udpAllowNonStandardFWAddresses=[1.1.1.1-255.255.255.255],Yes,443:outbound/tcpAllowNonStandardFWAddresses=[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/tcpAllowNonStandardFWAddresses=[169.254.169.123],Yes,123:outbound/udpAllowNonStandardFWAddresses=[1.1.1.1-255.255.255.255],Yes,3389:outbound/udp,3389:inbound/udpAllowNonStandardFWAddresses=[1.1.1.1-255.255.255.255],Yes,3389:outbound/tcp,3389:inbound/tcp
Explanation of rules:
| Rule | IP's | Purpose |
| 67:outbound/udp | 1.1.1.1-255.255.255.255 | DHCP Renewal (Prevents disconnect after 1 hour) |
| 443:outbound/tcp | 1.1.1.1-255.255.255.255 | Communication with AWS APIs (KMS, IAM roles) |
| 53:outbound/tcp,udp | 1.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/udp | 169.254.169.123 | AWS Time Sync Service (NTP) |
| 1688:outbound/tcp 80:inbound/tcp 80:outbound/tcp | 169.254.169.250 | Windows KMS Activation (AWS Licensing) |
3389:outbound/udp | Environment Specific |
Windows RDP connectivity |
Implementation Steps
- Access the Vault: An instance reboot via the AWS Console may be necessary to regain the initial 1-hour connectivity window.
-
Edit Configuration: Open
dbparm.iniwith Administrative privileges. -
Apply Rules: Add the
AllowNonStandardFWAddresseslines as specified in the table above. -
Restart Services: Restart the PrivateArk Server service. This action triggers the Idira Hardened Firewall service to reload and apply the updated rules.
-
Validation: Monitor the instance for over one hour to confirm that the DHCP lease renews successfully and network connectivity remains stable.