Update README.md
This commit is contained in:
parent
2b87f60a58
commit
45de708b49
1 changed files with 17 additions and 2 deletions
19
README.md
19
README.md
|
@ -51,8 +51,8 @@ Before starting, ensure you have:
|
||||||
|
|
||||||
1. Modify these variables in the script:
|
1. Modify these variables in the script:
|
||||||
```bash
|
```bash
|
||||||
VPS_IP="your.vps.ip.address"
|
VPS_IP="your.vps.ip.address" Use the public IP address of your VPS (not the Tailscale IP)
|
||||||
GAME_SUBNET="172.16.0.0/24" # Adjust if your subnet is different
|
GAME_SUBNET="172.16.0.0/24" # Adjust if your subnet is different [Use the subnet where your game server containers are running in Unraid (typically your Docker network subnet, which you can find in Unraid's Docker settings)]
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Make the script executable:
|
2. Make the script executable:
|
||||||
|
@ -117,6 +117,21 @@ Before starting, ensure you have:
|
||||||
UNRAID_TAILSCALE_IP="your.unraid.tailscale.ip"
|
UNRAID_TAILSCALE_IP="your.unraid.tailscale.ip"
|
||||||
WAN_INTERFACE="eth0" # Change if your interface is different
|
WAN_INTERFACE="eth0" # Change if your interface is different
|
||||||
```
|
```
|
||||||
|
For these variables:
|
||||||
|
|
||||||
|
`UNRAID_TAILSCALE_IP` = Use your Unraid's Tailscale IP (get it by running `tailscale ip -4` on Unraid)
|
||||||
|
`WAN_INTERFACE` = This is your VPS's main network interface, usually `eth0` (verify with `ip a` on VPS)
|
||||||
|
|
||||||
|
Example:
|
||||||
|
```bash
|
||||||
|
UNRAID_TAILSCALE_IP="100.x.y.z" # Your Unraid's Tailscale IP
|
||||||
|
WAN_INTERFACE="eth0" # Usually eth0 on most VPS providers
|
||||||
|
```
|
||||||
|
|
||||||
|
To quickly get your Unraid's Tailscale IP, SSH into Unraid and run:
|
||||||
|
```bash
|
||||||
|
tailscale ip -4
|
||||||
|
```
|
||||||
|
|
||||||
2. Make the script executable:
|
2. Make the script executable:
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Reference in a new issue