mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-28 11:05:49 +03:00
[GH-ISSUE #473] VPN server based on the alpine image doesn't respond (probably because of iptables) #441
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 @belegnar on GitHub (Apr 11, 2025).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/473
Checklist
Describe the issue
MacOS client couldn't connect to the ipsec/xauth server
Local vpn log is
During startup of the server the following messages could be found in the log
There're 5 of them in response to create this rule and following
Also there's no
ppp+interfaceTo Reproduce
Steps to reproduce the behavior:
Nothing special, just started docker image following the docs
Expected behavior
Connection established
Logs
On
ipsecrestart. No other logs appears on a connection attemptServer (please complete the following information)
Client (please complete the following information)
Additional context
Add any other context about the problem here.
@hwdsl2 commented on GitHub (Apr 11, 2025):
@belegnar Hello! Thanks for including the details in this issue. You Docker host OS, Ubuntu 16.04, is no longer officially supported by Canonical. The IPTables error you mentioned, which says rules could not be inserted into the FORWARD chain, may be because Ubuntu 16.04 does not fully support nftables rules in the kernel (see similar issue).
But normally, there should be new logs that appear after you try to connect a VPN client. If there is no new logs, check that the VPN connection request can reach the Docker container.
For your use case, I would suggest that you try this Docker image on another Docker host with newer and supported OS, such as Ubuntu 24.04 LTS.
@belegnar commented on GitHub (Apr 11, 2025):
Yes, looks like the issue is somewhere within the macos vpn client. I can see incoming packets when
But there's no incoming packets at all when I start vpn connection. Do you have any idea how to troubleshoot this?
@belegnar commented on GitHub (Apr 11, 2025):