mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-26 01:55:53 +03:00
[GH-ISSUE #355] [Question] How i can forward port from client to server? #329
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 @andreypfau on GitHub (Mar 8, 2023).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/355
For example i has VPN server for example ip (33.33.33.33) running using this image, and i have client connected with this VPN.
I wanna forward port (for example 25565) from my client to VPN server (33.33.33.33) for connection 33.33.33.33:25565 redirecting to my client port 25565
@hwdsl2 commented on GitHub (Mar 9, 2023):
@andreypfau Hello! If you set up the VPN server directly without using Docker, refer to Port forwarding to VPN clients.
On the other hand, if you are using this Docker image, in the default configuration, the only ports exposed are UDP ports 500 and 4500, so the Docker daemon won't forward other ports to the container. Therefore it can be difficult to forward ports. For this use case, you may want to set up the VPN server directly as mentioned above.