[GH-ISSUE #185] Not working on Ubuntu 20.04 #170

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

Originally created by @vlasick on GitHub (May 2, 2020).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/185

Doker logs with running:

ipsec-vpn-server_1  | xl2tpd[1]: Not looking for kernel SAref support.
ipsec-vpn-server_1  | xl2tpd[1]: L2TP kernel support not detected (try modprobing l2tp_ppp and pppol2tp

Doker logs with trying to connect from client:

ipsec-vpn-server_1  | /usr/sbin/pppd: Please load the ppp_generic kernel module.
ipsec-vpn-server_1  |
ipsec-vpn-server_1  | xl2tpd[1]: child_handler : pppd exited for call 2657 with code 4
ipsec-vpn-server_1  | xl2tpd[1]: call_close: Call 25735 to XXX.XXX.XXX.XXX disconnected
ipsec-vpn-server_1  | xl2tpd[1]: result_code_avp: result code endianness fix for buggy Apple client. network=768, le=3
ipsec-vpn-server_1  | xl2tpd[1]: control_finish: Connection closed to XXX.XXX.XXX.XXX, serial 1 ()
ipsec-vpn-server_1  | xl2tpd[1]: Terminating pppd: sending TERM signal to pid 297
ipsec-vpn-server_1  | xl2tpd[1]: result_code_avp: result code endianness fix for buggy Apple client. network=256, le=1

Trying to modprobe l2tp_ppp:

$ sudo modprobe l2tp_ppp
modprobe: FATAL: Module l2tp_ppp not found in directory /lib/modules/5.4.0-1009-kvm
Originally created by @vlasick on GitHub (May 2, 2020). Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/185 Doker logs with running: ``` ipsec-vpn-server_1 | xl2tpd[1]: Not looking for kernel SAref support. ipsec-vpn-server_1 | xl2tpd[1]: L2TP kernel support not detected (try modprobing l2tp_ppp and pppol2tp ``` Doker logs with trying to connect from client: ``` ipsec-vpn-server_1 | /usr/sbin/pppd: Please load the ppp_generic kernel module. ipsec-vpn-server_1 | ipsec-vpn-server_1 | xl2tpd[1]: child_handler : pppd exited for call 2657 with code 4 ipsec-vpn-server_1 | xl2tpd[1]: call_close: Call 25735 to XXX.XXX.XXX.XXX disconnected ipsec-vpn-server_1 | xl2tpd[1]: result_code_avp: result code endianness fix for buggy Apple client. network=768, le=3 ipsec-vpn-server_1 | xl2tpd[1]: control_finish: Connection closed to XXX.XXX.XXX.XXX, serial 1 () ipsec-vpn-server_1 | xl2tpd[1]: Terminating pppd: sending TERM signal to pid 297 ipsec-vpn-server_1 | xl2tpd[1]: result_code_avp: result code endianness fix for buggy Apple client. network=256, le=1 ``` Trying to modprobe l2tp_ppp: ``` $ sudo modprobe l2tp_ppp modprobe: FATAL: Module l2tp_ppp not found in directory /lib/modules/5.4.0-1009-kvm ```
kerem closed this issue 2026-03-02 07:44:26 +03:00
Author
Owner

@hwdsl2 commented on GitHub (May 2, 2020):

@vlasick Hello! This Docker image has been tested on Ubuntu 20.04 and works fine. It is likely that your server lacks PPP kernel support. Try modprobe ppp_generic from your Docker host. Then re-create the Docker container. If that does not work and /dev/ppp does not exist on your Docker host, then it is likely an issue with your host server's Linux kernel.

<!-- gh-comment-id:623020000 --> @hwdsl2 commented on GitHub (May 2, 2020): @vlasick Hello! This Docker image has been tested on Ubuntu 20.04 and works fine. It is likely that your server lacks PPP kernel support. Try `modprobe ppp_generic` from your Docker host. Then re-create the Docker container. If that does not work and `/dev/ppp` does not exist on your Docker host, then it is likely an issue with your host server's Linux kernel.
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#170
No description provided.