mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-26 01:55:53 +03:00
[GH-ISSUE #191] l2tp without IPSec #175
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ilya-demidovich on GitHub (May 11, 2020).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/191
Hello!
First of all, thank you for this image:-)
Could you please add an option to use your image without IPSec?
Or maybe can you suggest how to modify it? In my case I need only pure l2tp with login/pass auth.
Best,
Ilya
@hwdsl2 commented on GitHub (May 12, 2020):
@krotish Hello! Using L2TP without IPsec is not supported, because network traffic is not encrypted at all in this mode, which defeats the purpose of using a VPN.
@pilot7747 commented on GitHub (Jun 13, 2022):
@hwdsl2 Hello! I've found multiple issues mentioning that users want to setup L2TP without IPsec and it perfectly makes sense:
So, it would be great if you could suggest how to modify the image.
@hwdsl2 commented on GitHub (Jun 14, 2022):
@pilot7747 Thanks for your suggestion. However, I don't have plans to enable L2TP without IPsec in this project, because traffic in this mode is unencrypted and it is NOT designed for use as a VPN. Some routers support this mode, but usually this is only intended for connecting to certain ISPs.
With that said, it is relatively straightforward to modify this project to enable L2TP without IPsec (this is NOT recommended as I said) if you build from source code [1]. More specifically:
run.shto allow this in the IPTables firewall:github.com/hwdsl2/docker-ipsec-vpn-server@ea3fa1950a/run.sh (L547)github.com/hwdsl2/docker-ipsec-vpn-server@ea3fa1950a/run.sh (L552)Dockerfile:github.com/hwdsl2/docker-ipsec-vpn-server@ea3fa1950a/Dockerfile (L45)Docker runcommand to the same port on the Docker host:https://github.com/hwdsl2/docker-ipsec-vpn-server#quick-start
[1] https://github.com/hwdsl2/docker-ipsec-vpn-server/blob/master/docs/advanced-usage.md#build-from-source-code
@SysAdmln commented on GitHub (Dec 20, 2022):
https://hub.docker.com/repository/docker/sysadmln/l2tp_without_ipsec
@techriffic commented on GitHub (Mar 24, 2024):
hi would it be possible to update it to work with arm linux also?
i have built an image myself but i might have missed something or did something wrong.
l2tpd[1]: Connection established to xxxxx, 29332. Local: 62131, Remote: 17452 (ref=0/0). LNS session is 'default'
xl2tpd[1]: check_control: Received out of order control packet on tunnel 17452 (got 3, expected 2)
xl2tpd[1]: handle_control: bad control packet!
xl2tpd[1]: Can not find tunnel 33317 (refhim=0)
xl2tpd[1]: network_thread: unable to find call or tunnel to handle packet. call = 51737, tunnel = 33317 Dumping.
@degritsenko commented on GitHub (Aug 31, 2024):
https://hub.docker.com/r/gritsenko/l2tp_without_ipsec/tags