[GH-ISSUE #229] Verify vpn users via docker logs #211

Closed
opened 2026-03-02 07:44:47 +03:00 by kerem · 1 comment
Owner

Originally created by @rongliu1029 on GitHub (Feb 22, 2021).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/229

Not sure if I missed something. But i cannot find if the login user info is logged.
I want to know if there is any way to check the vpn username in the docker log after the connection is established.
Kindly help when available.
Much appreciate.

Originally created by @rongliu1029 on GitHub (Feb 22, 2021). Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/229 Not sure if I missed something. But i cannot find if the login user info is logged. I want to know if there is any way to check the vpn username in the docker log after the connection is established. Kindly help when available. Much appreciate.
kerem closed this issue 2026-03-02 07:44:47 +03:00
Author
Owner

@hwdsl2 commented on GitHub (Feb 22, 2021):

@rongliu1029 Hello! Libreswan logs are not enabled by default. To enable, see:
https://github.com/hwdsl2/docker-ipsec-vpn-server#enable-libreswan-logs

After enabling you'll see usernames for IPsec/XAuth ("Cisco IPsec") mode in the logs. For IPsec/L2TP, it is not possible to see usernames in Libreswan logs. You can enable debug option for xl2tpd, see: https://github.com/hwdsl2/setup-ipsec-vpn/issues/803

<!-- gh-comment-id:783447014 --> @hwdsl2 commented on GitHub (Feb 22, 2021): @rongliu1029 Hello! Libreswan logs are not enabled by default. To enable, see: https://github.com/hwdsl2/docker-ipsec-vpn-server#enable-libreswan-logs After enabling you'll see usernames for IPsec/XAuth ("Cisco IPsec") mode in the logs. For IPsec/L2TP, it is not possible to see usernames in Libreswan logs. You can enable debug option for xl2tpd, see: https://github.com/hwdsl2/setup-ipsec-vpn/issues/803
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/docker-ipsec-vpn-server#211
No description provided.