Skip to content

Commit

Permalink
Merge pull request #60 from robinbraemer/patch-1
Browse files Browse the repository at this point in the history
Update Minekube Connect in tunnels.mdx
  • Loading branch information
ukdaaan authored Mar 24, 2024
2 parents 0e69841 + 1578a93 commit 7085486
Showing 1 changed file with 20 additions and 11 deletions.
31 changes: 20 additions & 11 deletions src/content/docs/tools/tunnels.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ This page aims to look at a variety of software used to open tunnels, their pros
### Ngrok

A single-binary application that exposes local TCP ports to the internet through secure tunnelling: to set up ngrok on your server...

<ul class="pl-5 list-disc">
<li>Create an ngrok.com account</li>
<li>Download the ngrok binary for your system</li>
Expand All @@ -28,7 +29,8 @@ A single-binary application that exposes local TCP ports to the internet through
/path/to/ngrok config set-authtoken <token>

...
```

````
<ul class="pl-5 list-disc">
<li>Run the ngrok agent to expose a port</li>
</ul>
Expand All @@ -38,9 +40,10 @@ A single-binary application that exposes local TCP ports to the internet through
/path/to/ngrok tcp 25565 # or the port you want to expose
...
```
````
#### Pros
<ul class="pl-5 list-disc">
<li>Relatively quick to set up (single binary)</li>
<li>Open-source integrations</li>
Expand All @@ -49,6 +52,7 @@ A single-binary application that exposes local TCP ports to the internet through
#### Cons
The free version of Ngrok is very limited:
<ul class="pl-5 list-disc">
<li>Server address changes every time the ngrok agent is restarted (static URLs are only available for HTTP sites)</li>
<li>Extremely limited bandwidth (1GB/month)</li>
Expand All @@ -70,6 +74,7 @@ Ngrok is best suited to development servers that should be able to be accessed f
### Playit
A global proxy that exposes your game server to the Internet, securely tunneled through Playit's servers. To set up Playit on your Minecraft server... (assuming you use Bukkit or a fork)
<ul class="pl-5 list-disc">
<li>Create an account on [playit.gg](https://playit.gg) and verify your email address</li>
<li>Download the Playit agent plugin from [here](https://playit.gg/download/plugins) to your server's plugins folder</li>
Expand All @@ -80,6 +85,7 @@ A global proxy that exposes your game server to the Internet, securely tunneled
Your tunnel should then be active! Share the address given by Playit with your players and you should be good to go!
#### Pros
<ul class="pl-5 list-disc">
<li>Generous free plan (4 TCP and 4 UDP ports, 6 firewall rules to block IPs and ranges etc.)</li>
<li>Premium plan only $3 per month, offers good upgrades such as extra ports and firewall rules, up to 6 external domains and even 3 dedicated IPv6 addresses (provided your network uses IPv6)</li>
Expand Down Expand Up @@ -107,15 +113,17 @@ Playit is the most common and recommended option when it comes to Minecraft serv
Minekube's Connect is a plugin that links Minecraft servers to a global network in a similar practice to [Minehut](https://minehut.com)
#### Pros
<ul class="pl-5 list-disc">
<li>Plug and play: just drop the plugin into your server's plugins directory and copy the generated address</li>
<li>Subdomain can be changed in the configuration</li>
<li>Brandable with free custom domains / sub-domains</li>
<li>Passive advertising on the Connect network allows for extra player traffic</li>
</ul>
#### Cons
<ul class="pl-5 list-disc">
<li>Custom domains not yet supported</li>
<li>Passive advertising not best suited for private servers</li>
<li>A paid plan is required to provide an ad-free experience</li>
</ul>
#### Bottom Line
Expand All @@ -126,7 +134,7 @@ This option is best suited for public server owners who want simple setup with o
:::caution
Players joining your server through the Connect network will not be able to join if secure chat is enforced. To disable this:
- On your backend server(s), make sure `enforce-secure-profile` is set to `false` in `server.properties`
- On your backend server(s), make sure `enforce-secure-profile` is set to `false` in `server.properties`
- If using BungeeCord, set `enforce_secure_profile` to `false` in `config.yml`
- If using Velocity, set `force-key-authentication` to `false` in `velocity.toml`
Expand All @@ -145,18 +153,19 @@ This can be a downside for those who want [signed chat](/t/signed-chat) to be en
Cloudflared is a server-side daemon that allows the tunnelling of network traffic through Cloudflare's secure network
Here are some resources on how to run and tunnel Minecraft servers using cloudflared:
<CardGrid>
<LinkCard title="Cloudflare Community" href="https://community.cloudflare.com/t/would-i-be-able-to-use-cloudflare-tunnel-to-host-a-minecraft-server/383942" />
<LinkCard title="Cyb3r Jak3" href="https://blog.cyberjake.xyz/post/2022-03-26-cloudflared-minecraft/" />
<CardGrid>
<LinkCard title="Cloudflare Community" href="https://community.cloudflare.com/t/would-i-be-able-to-use-cloudflare-tunnel-to-host-a-minecraft-server/383942" />
<LinkCard title="Cyb3r Jak3" href="https://blog.cyberjake.xyz/post/2022-03-26-cloudflared-minecraft/" />
</CardGrid>

#### Pros
<ul class="pl-5 list-disc">
<li>Traffic is proxied through Cloudflare's network, renowned for its terabit-capacity DDoS mitigation.</li>
</ul>
#### Cons
<ul class="pl-5 list-disc">
<li>Setup is very complicated</li>
<li>Individual tunnels must be created using cloudflared for each port that you wish to be open</li>
Expand All @@ -170,4 +179,4 @@ This option is best for server owners and players who are willing to take on the
<LinkCard
title="Developer Docs"
href="https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/downloads/"
/>
/>

0 comments on commit 7085486

Please sign in to comment.