Skip to content

feat: add ping keepalive support for OpenVPN#2859

Merged
wwqgtxx merged 5 commits into
MetaCubeX:Alphafrom
puppywang:openvpn-ping-restart
Jun 2, 2026
Merged

feat: add ping keepalive support for OpenVPN#2859
wwqgtxx merged 5 commits into
MetaCubeX:Alphafrom
puppywang:openvpn-ping-restart

Conversation

@puppywang

Copy link
Copy Markdown

Summary

  • add OpenVPN outbound options for ping and ping-restart
  • send OpenVPN data-channel ping packets after idle send intervals
  • restart the OpenVPN session when no packets are received before ping-restart
  • skip received OpenVPN ping packets before IP packet handling

Tests

  • go test ./transport/openvpn ./adapter/outbound

@wwqgtxx wwqgtxx changed the title openvpn: add ping keepalive support feat: add ping keepalive support for OpenVPN Jun 2, 2026
@wwqgtxx wwqgtxx merged commit 90b1066 into MetaCubeX:Alpha Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants