summaryrefslogtreecommitdiff
path: root/vpn/docker-compose.yml
diff options
context:
space:
mode:
authoryyamashita <yyamashita@hetzner.yyamashita.com>2026-07-02 00:21:40 +0900
committeryyamashita <yyamashita@hetzner.yyamashita.com>2026-07-02 00:21:40 +0900
commit86bc044356ae37aa24ff352858d71641c00740fc (patch)
tree0b71adee53ed2ad106021a95236bd369df441674 /vpn/docker-compose.yml
parenta86a5b9d1f68f292e33dfc0ed04b87c5ca785382 (diff)
Restore intermediate cert + reduce IKE fragment size to 512 bytes
iOS/Android VPN stacks don't follow AIA to download intermediate certs, so YE1 must be sent by the server for cert chain validation. The original 1236-byte IKE fragment was being dropped mid-path. Setting fragment_size=512 splits the 1776-byte IKE_AUTH into ~4 fragments of ≤560 bytes each, which should traverse any NAT/router. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'vpn/docker-compose.yml')
-rw-r--r--vpn/docker-compose.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/vpn/docker-compose.yml b/vpn/docker-compose.yml
index 83ff270..1961a99 100644
--- a/vpn/docker-compose.yml
+++ b/vpn/docker-compose.yml
@@ -8,6 +8,7 @@ services:
- SYS_MODULE
volumes:
- ./certs/server.crt:/etc/swanctl/x509/server.crt:ro
+ - ./certs/server-chain.crt:/etc/swanctl/x509ca/server-chain.crt:ro
- ./certs/server.key:/etc/swanctl/private/server.key:ro
- ./users.conf:/etc/strongswan/users.conf:ro
environment: