Private server hosted through VPN
What is this? Forge is essentially a mod manager. This set of instructions will have you set up through an app called CurseForge, but you can install forge directly if you prefer. We will be using Minecraft 1.20.1
Download the CurseForge app for your operating system here.
Or download directly from the links below.
Once downloaded run the installer and login or continue as guest
Download the latest .zip release from this repository.
In CurseForge's home menu and select "Minecraft Java Edition". Then you will want to add a profile by clicking IMPORT. Select the zip file you downloaded.
At this point you can run the game by clicking "play". CurseForge also allows you to create a shortcut to the profile.
You can also add any mods, resource packs, and shaders to the profile. Only add CLIENT mods to the profile, adding SERVER mods will not allow you to connect to the server.
Why is this necessary? Hosting servers requires that your machine is able to connect to the other device through LAN or WAN. Normal servers pay for certificates and security that allow them to open ports and expose their IP address to the world wide web. While this is possible for our use-case, it is not practical. So this leaves us with LAN. The issue with a LAN is you must be on the SAME local network as the server. To get around this we use something called a Virtual Private Network (VPN). VPNs tunnel encrypted traffic from one device to another. This allows us to create a virtual LAN that can be accessed from anywhere in the world without worrying about more complex security.
Our VPN of choice: Tailscale (free)
-
Go to the Tailscale website and create an account (use personal emails)
-
Download the installer from the Tailscale website.
-
Follow the instructions given to you by Tailscale to add your device.
-
When you go to http://100.100.100.100 you should see your computer and it should say "connected"
-
If this is not the case you have done something wrong.
-
-
Click the share link in discord
- What this does: Adds my server to your "Tailnet", putting it on the virtual LAN.
To do this both Forge Setup and VPN Setup must be complete.
-
Launch Minecraft from the CurseForge profile
-
Go to Multiplayer and click "Direct Connect" or "Add Server"
-
Use this IP address: 100.104.200.67
If you experience difficulties here are some things you can try:
- Server not found
- Check your admin console. If both your device and the server say ONLINE then its something else
- If your device is offline you need to connect it to tailscale
- If 'mc-server' is offline contact Luke
- Try using IP address instead of hostname (Make sure you're not specifying any ports)
- Try disabling any other VPN you might be using
- Check your admin console. If both your device and the server say ONLINE then its something else
- Incompatible Mods
- If you added any mods you may have added a server side mod. You can request it be added but no guarantees.
- Download and use the most recent .zip release from the repo listed in Forge Setup