> Source: [sk181381](https://support.checkpoint.com/results/sk/sk181381)

# sk181381 - Site-to-Site tunnel fails intermittently between a Security Gateway and another device defined as a DAIP gateway behind Hide NAT

| Property | Value |
|----------|-------|
| Solution ID | sk181381 |
| Date Created | 2023-08-14 |
| Last Modified | 2026-01-27 |
| Technical Level | Advanced |
| Products | Security Gateway |
| Versions | R81.20, R81.10 (EOS) |
| OS | Gaia |

## Symptoms

- * The SMB (or other DAIP) gateways are DAIP behind a NAT device.

* Traffic from the center shows tunnel initiation on port 500 and then switches to 4500 (NAT-T) instead of initiating with port 4500.

* IKE error on the SMB side shows "*INVALID-CERTIFICATE*."

* The issue persists even after deleting the tunnel completely on the center side.

## Cause

A new mechanism was added to allow the gateway to properly detect DAIP device behind Hide-NAT.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
