You are only browsing one thread in the discussion! All comments are available on the post page.

Return

mikyopii ,
@mikyopii@programming.dev avatar

You have WireGuard installed on your Minecraft server? On every computer? That isn’t correct.

Once you are successfully connected to the VPN everything should behave like you are physically within your network even if you aren’t. You should connect to your Minecraft server like normal.

The WireGuard iOS/Android app has a part where you can see when your last handshake was. If that isn’t happening then you aren’t connected.

Nimrod OP ,

Okay, I thought something seemed a bit odd about what I was doing. So for my use case, I only need to access my home network with my phone, or my laptop. So all I need is a wireguard server on my home network (currently the case, running wg-easy), and the wireguard client on my phone and laptop.

I have that happening right now. And strangely when I am connected to my home wifi I am seeing the “last handshake” information in the wireguard app. But as soon as I turn off wifi and attempt to use my cell network, that line disappears from the app.

Although the frontend webpage for wg-easy still shows my phone connected.

Lets pretend it is connected. You’re saying I could simply type “192.168.3.69/login” into my phone’s browser, and I would see the mineos login page as if I was on my home’s wifi?? Because that would literally be perfect.

mikyopii ,
@mikyopii@programming.dev avatar

If everything is correct… yeah it would. If you are using hostnames to connect home then you will probably need to use the FQDN for it to work.

I was in vacation in Brazil and I would work on my server in the United States during my downtime.

Nimrod OP ,

Damn. That sounds perfect. That’s exactly how I was hoping it would work. But for some reason my phone won’t connect… I wonder how to troubleshoot it.

AtariDump ,

What happens if you try from another WiFi network? Like Starbucks or the local library?

Nimrod OP , (edited )

EDIT: Tried from an external wifi network, same issue. I think it’s my port forwarding is broken/wrong. I can’t see the port being open from outside. Need to do some troubleshooting on that end. Any advice would be welcome.

I will try that today.

AtariDump ,

Need to forward the external port to the internal port

Nimrod OP ,

Yeah… I’m not sure there’s anything more I can do. I’ve added the port forwarding rule to my router. As far as I know, there’s not much else to do.

AtariDump ,

Can you confirm that port is open from www.yougetsignal.com/tools/open-ports/ ?

Nimrod OP ,

This comment has been haunting me a bit. I have been struggling with my port forwarding in the rest of this thread, so I decided I need to investigate alternatives. I’ve heard good things about Tailscale, so I started googling. The following quote is directly from the Tailscale web-page: (emphasis mine):

“WireGuard is typically configured using the wg-quick tool. To connect two devices, you install WireGuard on each device, generate keys for each device, and then write a text configuration for each device. The configuration includes information about the device (port to listen on, private IP address, private key) and information about the peer device (public key, endpoint where the peer device can be reached, private IPs associated with the peer device). It’s straightforward, particularly for a VPN. Every pair of devices requires a configuration entry, so the total number of configuration entries grows quadratically in the number of devices if they are fully connected to each other.

I find it odd that they would say this, if the Wireguard VPN works as you stated. Any tutorial or article regarding wireguard fails to make this discussion obvious, so I am now even a bit more confused. (still won’t solve my port forwarding issue. So I guess I’m stuck with Tailscale anyway…

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • [email protected]
  • All magazines