SCALANCE S615 VPN Status PENDING: China NTP Troubleshooting

David Krause12 min read
Industrial NetworkingSiemensTroubleshooting
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

1. Problem Summary

A fielded SCALANCE S615 (MLFB 6GK5615-0AA00-2AA2) configured as a VPN gateway with NTP synchronization against time.windows.com operates correctly during commissioning, then drops connectivity to the central VPN endpoint and reports tunnel STATUS = PENDING in Web Based Management (WBM). Diagnostic pings from the S615 to the public NTP server succeed, but the IPsec/IKE negotiation never advances to ACTIVE. The unit is installed behind a Chinese ISP, and this exact failure mode is reproducible across multiple Chinese provinces.

The two symptoms are tightly coupled:

  • VPN tunnel stuck in PENDING – IKE phase 1 or phase 2 never reaches QM_IDLE / SA_INSTALLED.
  • NTP from time.windows.com may be intermittent or blocked at the GFW layer, causing certificate validity and IKE timestamp failures.
Field warning: STATUS=PENDING is not a hardware fault. In nearly every documented case in mainland China, the root cause is upstream packet filtering, MTU clamping, or NTP/UDP 500/4500 blocking on the Great Firewall. Do not reset the device or reflash firmware until the WAN path has been characterized.

2. SCALANCE S615 Hardware and Firmware Baseline

The SCALANCE S615 is a DIN-rail mounted industrial security appliance combining a 4-port managed switch, stateful firewall, NAT, and IPsec/OpenVPN gateway. The specific variant in this scenario is:

Parameter Value
MLFB / Order Number 6GK5615-0AA00-2AA2
Function Industrial Security / LAN Router / VPN Endpoint
WAN Interface 1 × 10/100/1000 Mbps RJ45 (P1)
LAN Interfaces 3 × 10/100/1000 Mbps RJ45 (P2–P4), switchable to separate security zones
VPN Profiles Up to 20 IPsec tunnels, OpenVPN client
Firewall Stateful packet inspection, 1:N NAT, 1:1 NAT, port forwarding
Time Sync NTP client (unauthenticated), SIMATIC time, manual
Default Firmware (as shipped) ≥ V6.3 (verify in WBM: System > Device Info)
Configuration Interface Web Based Management (HTTPS :443), TIA Portal HSP, PRONETA, SINEC NMS

Verify the exact firmware load before troubleshooting. Navigate to System > Information in WBM and record:

  • Software version (e.g., V6.5.0)
  • Hardware version (e.g., 1)
  • Bootloader version
  • VPN configuration set / profile name

Known firmware-related improvements that affect VPN behavior across the GFW:

Firmware Relevant Change
V6.2.x and earlier Limited IKE retry logic, vulnerable to long WAN RTTs
V6.3.x Improved NTP handling, additional IKE keepalive timers
V6.4.x Enhanced OpenVPN client, fragmented IKE support
V6.5.x and later Recommended for China deployments – improved DPD, configurable MSS clamping

Always reference the official SCALANCE S615 product support page for the current firmware download, release notes, and HSP (Hardware Support Package) for TIA Portal.

3. What "STATUS = PENDING" Actually Means

The S615 VPN state machine reports the tunnel lifecycle as one of four values in Security > VPN > Connections:

State Meaning Indicates
INITIAL Configuration loaded, no IKE activity Normal at boot
PENDING IKE negotiation attempted but no response / expired WAN/peer reachability problem
NEGOTIATING Phase 1 or Phase 2 in progress Peers are exchanging ISAKMP / ESP messages
ACTIVE SA installed, traffic passing Healthy tunnel

PENDING specifically means the S615 sent IKE packets (UDP 500 or 4500) to the configured peer IP, but did not receive a valid reply within the IKE timeout window (default 30 s, retry count typically 5). It is the IKE equivalent of a TCP SYN with no SYN-ACK.

This must be distinguished from:

  • Certificates rejected – tunnel briefly enters NEGOTIATING then drops back; check Log > Security for IKE_AUTH failed.
  • Phase 2 mismatch – Phase 1 completes, Phase 2 fails (proxy-ID, PFS, lifetime mismatch).
  • DPD failures – tunnel was ACTIVE, now drops, often transient.

4. China-Specific Network Constraints

Mainland China operates extensive deep-packet-inspection infrastructure colloquially known as the Great Firewall (GFW). Three behaviors directly impact IPsec and NTP from an S615 deployed behind a Chinese ISP:

4.1 UDP 500 and UDP 4500 Throttling

IKEv1 and IKEv2 use UDP 500 for ISAKMP and UDP 4500 for NAT-Traversal. GFW nodes frequently apply:

  • Session rate limiting on outbound UDP 500 above ~1 packet/sec.
  • Bidirectional reset injection (RST) when payload patterns match ESP/ISAKMP fingerprints.
  • Asymmetric filtering – outbound UDP 500 is allowed, inbound UDP 500 from a non-China peer is silently dropped after a few attempts.

4.2 ESP Protocol (IP 50) Blocking

Native IPsec ESP (protocol number 50) is often blocked at the ISP edge. The S615 must be configured to force NAT-Traversal encapsulation (UDP 4500) rather than relying on ESP, or the tunnel will never establish regardless of IKE success.

4.3 NTP and DNS Interference

time.windows.com is hosted on a CDN with China-edge nodes, but UDP 123 NTP traffic has been intermittently throttled since 2014. More importantly, DNS resolution of time.windows.com can be poisoned, returning IP addresses that are either unreachable or routed through GFW inspection points. The S615 NTP client uses the system DNS resolver configured under System > DNS.

4.4 ICMP and TLS DPI

ICMP echo (used by the WBM ping tool) is normally allowed but is often deprioritized. TLS 1.2/1.3 to commercial CDNs (used by OpenVPN control channels and Siemens SINEMA RC) is generally permitted, but traffic patterns matching corporate VPN signatures can be flagged.

5. Root Cause Decision Tree

Walk the following diagnostic tree before changing any configuration. Each step is observable from WBM or from a PC in the same network segment as the S615.

Step Test Pass Criterion Failure Indicates
1 WBM System > Ping to 8.8.8.8 Reply received, RTT < 500 ms ISP blocking or no upstream route
2 WBM System > Ping to public DNS 223.5.5.5 (AliDNS) Reply received Domestic routing works; problem is GFW outbound to foreign IP
3 WBM System > Ping to VPN peer public IP Reply received Peer is reachable from ICMP perspective
4 WBM System > NTP status with time.windows.com Synchronized, offset < 5 s NTP blocked; certificate validation will fail on time mismatch
5 WBM Security > VPN > Connections ACTIVE If PENDING with steps 1-4 OK, suspect IKE filtering
6 External PC running Wireshark on S615 LAN, filter udp.port == 500 || udp.port == 4500 Bidirectional IKE packets observed Outbound only = IKE responses dropped; bidirectional with errors = policy mismatch
7 WBM Log > Security – filter IKE Phase 1 complete entries Look for NO_PROPOSAL_CHOSEN, AUTHENTICATION_FAILED, INVALID_KE_PAYLOAD

6. Diagnostic Procedure on the S615

  1. Connect to WBM. Point a browser at https://<S615 LAN IP>. Default is 192.168.214.1 on P2/P3/P4 zone.
  2. Verify time. Navigate to System > Information and check the device clock. If it is drifting or stuck at 2010, NTP is failing.
  3. Verify NTP configuration. System > Time > NTP – confirm server is time.windows.com (or replace) and that the NTP server is reachable from the WAN side. The S615 sends NTP from the WAN interface IP, not the LAN.
  4. Check VPN state. Security > VPN > Connections – note state, last error, last transition timestamp.
  5. Review the security log. Log > Security > Browse – filter for IKE events around the time the tunnel last went PENDING.
  6. Trigger a manual reconnect. Some firmware versions require a Reboot of the S615 to clear stale IKE SAs. Do not full-reset.
  7. Capture packets. Plug a mirror tap on P1 (WAN) and run a packet capture for 60 seconds. Filter for isakmp and esp.

7. Solution: Configuration Changes

Apply the following changes in the order given. Each is reversible.

7.1 Force NAT-Traversal (UDP 4500) and Disable Native ESP

In Security > VPN > Connections > Edit > Phase 1:

  • Mode: Aggressive or Main – both work, Aggressive is more tolerant of dropped packets.
  • NAT-Traversal: Force (not "Detect"). This encapsulates ESP in UDP 4500, bypassing ESP blocking.
  • DPD (Dead Peer Detection): Enable with delay 30 s, timeout 120 s.

7.2 Replace time.windows.com with a China-Reachable NTP Source

Do not rely on foreign NTP servers in mainland China. Use one of:

Source Address Protocol Notes
AliNTP (Alibaba) ntp.aliyun.com / 203.107.6.88 NTP UDP 123 Reliable inside China
China Mobile NTP 221.183.13.130 NTP Operated by China Mobile
Tencent NTP time1.cloud.tencent.com NTP Reliable in southern China
Pool project (China zone) cn.pool.ntp.org NTP Community pool, generally available
Local GPS / DCF77 receiver Via S615 serial or LAN NTP relay Best for sites with no public NTP

Configure under System > Time > NTP with poll interval 64 s and at least two servers for redundancy.

Critical: If your S615 uses X.509 certificates for IPsec authentication, an NTP drift of more than 5 minutes can cause CERTIFICATE_NOT_VALID_YET or CERTIFICATE_HAS_EXPIRED errors that look identical to PENDING. Fix NTP before debugging VPN.

7.3 Switch to OpenVPN over TCP 443

When UDP-based IPsec cannot be made to work, the S615 OpenVPN client (firmware ≥ V6.0) supports TCP transport. Configure the profile under Security > VPN > OpenVPN:

  • Transport: TCP
  • Port: 443 (matches HTTPS, almost never blocked)
  • TLS auth: Enabled (default)
  • MTU: 1300 (avoid fragmentation across GFW nodes)

The central endpoint can be a commercial OpenVPN Access Server, a pfSense/OPNsense box, or a Siemens SINEMA Remote Connect server.

7.4 Adjust MSS and MTU

GFW middleboxes occasionally drop or fragment large UDP packets. In Interfaces > WAN > MTU set:

  • Interface MTU: 1400
  • TCP MSS clamping: 1360 (under Security > Firewall > Advanced)

7.5 Use SINEMA Remote Connect as Managed Broker

Siemens SINEMA Remote Connect (MLFB 6GK1720-1AH01-0BV0 server, with S615 as SINEMA RC client) is the recommended architecture for plants in restrictive jurisdictions. The S615 establishes an outbound TLS 443 connection to the SINEMA RC server, which then brokers the connection to engineers. Because all traffic is HTTPS over TCP 443, it is largely indistinguishable from web traffic at the GFW layer.

Configuration steps:

  1. On SINEMA RC server, create a remote-partner entry for the S615 and download the auto-config package.
  2. On S615, Security > VPN > SINEMA RC – import the package; the S615 will pull its VPN config from the broker.
  3. Verify tunnel state in SINEMA RC console.

8. Architectural Fix: Bridging IPC427E for PCU/PLC Reachability

The field report raises a secondary problem: the S615 WAN is connected through an IPC427E acting as a routing/boundary node, and the customer PCU/PLC sit on a different subnet (192.168.214.0/24) that needs to be reachable through the S615 once the VPN is up.

On the IPC427E, enable routing between its X2 (toward S615) and X3 (toward PCU) interfaces. Two methods:

8.1 Network Bridge (Windows)

New-NetBridge -Name "BrS615ToPCU" -InterfaceAlias "X2","X3"
# Or via ncpa.cpl: select both adapters, right-click, Bridge Connections

8.2 netsh Routing

netsh interface ipv4 set interface "X2" forwarding=enabled
netsh interface ipv4 set interface "X3" forwarding=enabled
netsh routing ip add persistentroute 192.168.214.0 255.255.255.0 "X2"

Then on the S615 add a static route for the PCU subnet pointing to the IPC427E X2 address as the next hop.

Note: Bridging at L2 will collapse the S615 firewall zones. If you need firewall isolation, use routed mode (1:1 NAT) and configure 192.168.214.241 as a virtual IP on the S615's LAN zone.

9. Verification Procedure

  1. NTP verification: In WBM System > Time confirm "Synchronized" and offset < 1 s. Issue show ntp in CLI.
  2. VPN verification: In WBM Security > VPN > Connections confirm state = ACTIVE, uptime counting up, bytes in/out increasing.
  3. End-to-end ping: From engineering PC at central site, ping 192.168.214.241 (PCU). Expect < 500 ms RTT.
  4. TIA Portal reachability: Online > Accessible nodes should show the PLC S7-1500 / ET200SP CPU.
  5. Sustained test: Leave tunnel up 24 h; verify no DPD-triggered reconnects in log.
  6. Failover test: Disconnect WAN, reconnect after 60 s; confirm tunnel re-establishes within 30 s.

10. Field-Validated Workarounds

Symptom Workaround Permanent Fix
STATUS=PENDING, no IKE reply Force NAT-T (UDP 4500), switch peer to TCP 443 OpenVPN Migrate to SINEMA RC brokered architecture
NTP fails, time drifts Set clock manually, replace time.windows.com with ntp.aliyun.com Deploy local GPS-disciplined NTP server on LAN
ICMP works, IKE fails Try OpenVPN TCP 443 path Negotiate with ISP for static IP and IPsec allowance (rare)
Tunnel up, PLC not reachable Add route to 192.168.214.0/24 on S615, configure IPC427E bridge Re-architect: place S615 as direct router, eliminate IPC427E L2 bridge
DNS poisoned for VPN peer Hardcode peer IP in S615 VPN config Use local DNS resolver, DNSSEC if supported

11. Security and Compliance Notes

Operating an IPsec VPN endpoint in mainland China carries regulatory implications. Industrial customers should:

  • Confirm with the plant IT/OT authority that VPN traffic to the corporate endpoint is sanctioned.
  • Document the public IP, peer IP, and ports in use – the S615 Information > Diagnostics > SNMP can export this for audit.
  • Rotate the IPsec PSK or reissue certificates on a defined schedule (annually is typical for industrial deployments).
  • Use the S615 audit log (Log > Security > Audit) as evidence of access patterns for compliance.

12. When to Escalate

Escalate to Siemens Technical Support (SR – Support Request) when:

  • The S615 cannot reach 8.8.8.8 AND 223.5.5.5 from WBM ping (carrier issue, not security appliance).
  • Firmware is below V6.0 and cannot be updated remotely due to a PENDING VPN.
  • Log shows CERTIFICATE_HAS_EXPIRED with valid NTP and valid local clock – CA chain issue.
  • WBM itself becomes inaccessible – requires direct console (serial RJ45 to USB adapter, 115200 8N1) recovery.

Always reference the official SCALANCE S615 product page for the latest manual, release notes, and HSP package when opening a support request.

13. FAQ

Why does my SCALANCE S615 show VPN STATUS=PENDING only in China?

STATUS=PENDING means the S615 sent IKE (UDP 500) packets to the configured peer but received no valid reply. In mainland China, ISP and GFW nodes commonly throttle or block UDP 500/4500 and ESP (protocol 50), preventing IKE phase 1 from completing. Switch to NAT-T forced (UDP 4500) or OpenVPN over TCP 443 to bypass the filter.

Is time.windows.com blocked in China for NTP on the S615?

time.windows.com is not consistently blocked, but UDP 123 NTP traffic is intermittently throttled, and DNS resolution can be poisoned. Replace it with a domestic NTP source such as ntp.aliyun.com (203.107.6.88) or cn.pool.ntp.org, configured under System > Time > NTP in WBM.

Can I use OpenVPN on the SCALANCE S615 instead of IPsec?

Yes. Firmware V6.0 and later supports an OpenVPN client with TCP/UDP transport and TCP 443. This is the most reliable configuration for restrictive networks because TCP 443 over TLS is rarely deep-packet-inspected. Configure under Security > VPN > OpenVPN in WBM.

What firmware version should I run on the S615 in China?

Use the latest available firmware on the SCALANCE S615 product support page – V6.5.x or later is recommended for improved DPD, fragmented IKE, and configurable MSS clamping. Avoid V6.2.x and earlier for new deployments.

How do I reach the PCU/PLC at 192.168.214.241 once the S615 VPN is up?

Add a static route on the S615 for 192.168.214.0/24 pointing to the IPC427E interface as next hop, and on the IPC427E bridge or route between its X2 (toward S615) and X3 (toward PCU) interfaces. Alternatively, place the S615 directly on the PCU subnet as the default gateway to avoid the L2 bridge.

Back to blog