diff options
| author | yyamashita <yyamashita@hetzner.yyamashita.com> | 2026-07-01 17:35:43 +0900 |
|---|---|---|
| committer | yyamashita <yyamashita@hetzner.yyamashita.com> | 2026-07-01 17:35:43 +0900 |
| commit | 06da418ded2b88e8d83fd02cb0f9bb7bd3c826bc (patch) | |
| tree | 16200c6dc6d1259d82bae11a65d20b9705fc677e /vpn/strongswan.conf | |
| parent | 0116cbb2c58871a4032c9cdb2044033751f12a95 (diff) | |
Add file logging to VPN container for diagnostics
Logs to /home/yyamashita/vpn-logs/charon.log (readable without root)
to diagnose iPhone IKEv2 connection failures.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'vpn/strongswan.conf')
| -rw-r--r-- | vpn/strongswan.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vpn/strongswan.conf b/vpn/strongswan.conf index eeed46c..d207c49 100644 --- a/vpn/strongswan.conf +++ b/vpn/strongswan.conf @@ -10,6 +10,14 @@ charon { cfg = 3 knl = 2 } + /var/log/strongswan/charon.log { + default = 1 + ike = 4 + cfg = 3 + knl = 2 + append = yes + flush_line = yes + } } send_vendor_id = no } |
