F5F Stay Refreshed Power Users Networks Set up a Minecraft server using a VPN.

Set up a Minecraft server using a VPN.

Set up a Minecraft server using a VPN.

Pages (3): Previous 1 2 3
B
BlueStar_LH
Posting Freak
842
05-24-2023, 01:59 PM
#21
I have my Pritunl server in a Client-to-Site arrangement. It seems the server can reach devices through the VPN, which suggests the VPS should be able to connect to the MC server. You’ll need a way to route your requests from the VPS’s public IP to the MC VPN address. Right now I’m unsure how to set that up. Essentially, you’d want the VPS to act like a router so anyone not on the VPN can still access the MC server over the network.
B
BlueStar_LH
05-24-2023, 01:59 PM #21

I have my Pritunl server in a Client-to-Site arrangement. It seems the server can reach devices through the VPN, which suggests the VPS should be able to connect to the MC server. You’ll need a way to route your requests from the VPS’s public IP to the MC VPN address. Right now I’m unsure how to set that up. Essentially, you’d want the VPS to act like a router so anyone not on the VPN can still access the MC server over the network.

T
TheKroksBG
Member
209
05-24-2023, 10:15 PM
#22
Thank you for your support—I’ll manage to finish this before it gets too late.
T
TheKroksBG
05-24-2023, 10:15 PM #22

Thank you for your support—I’ll manage to finish this before it gets too late.

M
Milkcow289
Member
62
05-24-2023, 11:46 PM
#23
You likely don’t require a VPN if you’re following the steps correctly. On the VPS you should be able to forward ports from its public IP to your home network. Anyone trying to connect will only see the VPS’s IP address. I’m not entirely confident this is completely secure, but it’s similar to how a VPN works. Either way, enabling port forwarding on the VPS or using NAT to mask packets should resolve the issue.
M
Milkcow289
05-24-2023, 11:46 PM #23

You likely don’t require a VPN if you’re following the steps correctly. On the VPS you should be able to forward ports from its public IP to your home network. Anyone trying to connect will only see the VPS’s IP address. I’m not entirely confident this is completely secure, but it’s similar to how a VPN works. Either way, enabling port forwarding on the VPS or using NAT to mask packets should resolve the issue.

T
TheTrueGeek
Member
217
05-31-2023, 07:24 PM
#24
Sure, I can help with that. Just let me know what you need the documentation for, and I’ll get it ready!
T
TheTrueGeek
05-31-2023, 07:24 PM #24

Sure, I can help with that. Just let me know what you need the documentation for, and I’ll get it ready!

B
Blazer1053
Junior Member
19
05-31-2023, 10:13 PM
#25
For a Linux-based VPS setup, the configuration typically looks like this: adjust net.ipv4.ip_forward to allow traffic, set up forwarding rules with iptables to redirect incoming and outgoing connections through the server. Ensure your router forwards ports 25565 and 25564 accordingly. If you had a Minecraft server, you’d verify it works locally before testing online. The main challenge remains making the destination accessible from outside your network.
B
Blazer1053
05-31-2023, 10:13 PM #25

For a Linux-based VPS setup, the configuration typically looks like this: adjust net.ipv4.ip_forward to allow traffic, set up forwarding rules with iptables to redirect incoming and outgoing connections through the server. Ensure your router forwards ports 25565 and 25564 accordingly. If you had a Minecraft server, you’d verify it works locally before testing online. The main challenge remains making the destination accessible from outside your network.

Pages (3): Previous 1 2 3