1 Star 1 Fork 1

Naoke / UsbEAm-LAN-Party-Server

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 1.71 KB
一键复制 编辑 原始数据 按行查看 历史
Nao_ke 提交于 2023-09-28 15:45 . Update README.md

UsbEAm-LAN-Party-Server

UsbEAm LAN Party 服务端

介绍/客户端下载:https://www.dogfight360.com/blog/1590/

默认用户名 username1 密码 password1 ,可在 psw-file 文件里修改

Windows

  1. 下载发行版(Releases)里最新的 windows.zip

  2. 运行 OpenVPN-2.6.6-I001-amd64.msi,安装 openvpn

  3. 运行 启动UDP服务.bat

Windows 默认只能同时运行一个服务,推荐只运行UDP服务。

如果需要同时开启UDP服务与TCP服务,需要开启路由转发并添加额外的虚拟网卡。

Linux

Docker Hub

方式一:直接启动

  1. 安装 openvpn 与 git,Ubuntu系统可以使用下面的命令安装
sudo apt update && sudo apt install -y openvpn git
  1. 克隆项目
git clone https://gitee.com/nouko61/UsbEAm-LAN-Party-Server.git
  1. 启动(后台运行)
cd UsbEAm-LAN-Party-Server/linux
sudo -b sh run.sh

方式二:使用Docker启动

  1. 安装Docker,Ubuntu系统可以使用下面的命令安装
sudo apt update && sudo apt install -y docker.io
  1. 启动容器
sudo docker run -d --restart=always \
--cap-add=NET_ADMIN \
-v ./lan-party:/lan-party/data \
-p 3075:3075/tcp -p 3074:3074/udp \
--name=lan-party \
nouko61/usbeam-lan-party

方式三:使用Docker Compose

  1. 安装Docker Compose,Ubuntu系统可以使用下面的命令安装
sudo apt update && sudo apt install -y docker-compose wget
  1. 获取compose文件
wget https://gitee.com/nouko61/UsbEAm-LAN-Party-Server/raw/master/docker-compose.yml
  1. 启动
sudo docker-compose up -d
Shell
1
https://gitee.com/nouko61/UsbEAm-LAN-Party-Server.git
git@gitee.com:nouko61/UsbEAm-LAN-Party-Server.git
nouko61
UsbEAm-LAN-Party-Server
UsbEAm-LAN-Party-Server
master

搜索帮助