Access Minecraft Server Docker image from external network

Currently reading
Access Minecraft Server Docker image from external network

6
3
NAS
DS220+
Operating system
  1. Linux
  2. Windows
Mobile operating system
  1. Android
Hi,

I have the itzg-Minecraft-docker image running on my DS220+. I can access the MC server from my local network, but not from an external network. This is caused by the fact that my DS220+ is connected to a VPN server (from Nord VPN). When I disconnect from Nord VPN, access to the Minecraft server from an external network works fine.

I don't understand why it doesn't work, because I forwarded port 25565 to the DS220+, so all incoming traffic on my external IP is sent to the DS220+'s internal ip, which has nothing to do with the VPN connection. Or does it?

So do I need to change some configuration somewhere? Or is it just not possible bevause of the VPN connection.
 
Last edited:
If you connect to your VPN provider the external IP-address of your NAS changes.

You can easily test this from the command line:
Code:
curl https://wtfismyip.com/text

So if you connect the NAS to the VPN server and obtain an IP-address from the VPN provider, you can no longer reach it using DDNS that points to the external IP-address that is assigned without the VPN connection.

Not sure if this can be solved. Maybe with some web server configuration?

Edit:
See also DiskStation Manager - Knowledge Base | Synology Inc..

If you only need a VPN connection for certain Docker containers, you can also create a new OpenVPN client Docker container and let the Docker containers that need a VPN connection use the network stack from the OpenVPN client Docker container (using the --network option).
 
Upvote 0
So do I need to change some configuration somewhere?
You could try and see if Multiple Gateways option will pass the traffic in while your VPN is alive.

control panel > network > advanced settings > multiple gwt (checkbox)
 
Upvote 0

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

  • Question
It sounds that the main focus is a LAN reconfiguration of DHCP and DNS services so that dynamically...
Replies
1
Views
572
Had simelar issue last Thursday. Router and 1 NAS worked, 2 NAS’s didn’t! This occurred as I was adding...
Replies
5
Views
858
  • Question
I guess "my Firewall" is the firewall on the Synology? a step by step tutorial can be found online like...
Replies
1
Views
847
OK at last, worked it out, you have to install Synology app on PC first then add name amd password then...
Replies
12
Views
1,351
There are three MASQUERADE rules* but I cannot see how they relate to the don't NAT name, or anything else...
Replies
45
Views
4,231
  • Question
Good point. I assumed it was 24 due to lack of details, but again, good point.
Replies
3
Views
1,287

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending threads

Back
Top