diff options
| author | yyamashita <yyamashita@hetzner.yyamashita.com> | 2026-07-01 13:24:22 +0900 |
|---|---|---|
| committer | yyamashita <yyamashita@hetzner.yyamashita.com> | 2026-07-01 13:24:22 +0900 |
| commit | 5a7b068b67bfe623f6bc1a62dcddfca2535c3a46 (patch) | |
| tree | 44bb575dcd87556fe957a1bb2a34f487497997da /vpn/swanctl.conf.tpl | |
| parent | 75686581d208ba4b4263420db169f56083dda52b (diff) | |
Fix IKE fragmentation: use fragmentation=no instead of fragment_size=0
fragment_size=0 was interpreted as minimum fragment size (resulting in
4 tiny fragments), not disabled. fragmentation=no in swanctl.conf is
the correct per-connection setting to disable IKE fragmentation entirely.
The server now sends a single large UDP packet; the OS kernel handles
IP fragmentation instead of the IKE layer.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'vpn/swanctl.conf.tpl')
| -rw-r--r-- | vpn/swanctl.conf.tpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vpn/swanctl.conf.tpl b/vpn/swanctl.conf.tpl index da988e0..1fc84df 100644 --- a/vpn/swanctl.conf.tpl +++ b/vpn/swanctl.conf.tpl @@ -1,6 +1,7 @@ connections { ikev2-eap { version = 2 + fragmentation = no # iOS/macOS/Android 互換の暗号スイート proposals = aes256gcm16-prfsha256-ecp256,aes256-sha256-ecp256,aes256gcm16-prfsha384-ecp384,aes256-sha256-modp2048,aes256-sha1-modp2048 |
