Update README.md

This commit is contained in:
HHF Technology 2024-12-07 16:04:44 +05:30
parent 2b87f60a58
commit 45de708b49

View file

@ -51,8 +51,8 @@ Before starting, ensure you have:
1. Modify these variables in the script:
```bash
VPS_IP="your.vps.ip.address"
GAME_SUBNET="172.16.0.0/24" # Adjust if your subnet is different
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 [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:
@ -117,6 +117,21 @@ Before starting, ensure you have:
UNRAID_TAILSCALE_IP="your.unraid.tailscale.ip"
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:
```bash