online-mode=false
$ java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
或
$ bash minecraft start
// 內網架 Server
# echo "1" > /proc/sys/net/ipv4/ip_forward
# iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport 25565 -j DNAT --to-destination 192.168.1.2:25565
Reference :
Minecraft
Tutorials/Setting up a server - Minecraft Wiki
沒有留言:
張貼留言