# UsbEAm-LAN-Party-Server **Repository Path**: nouko61/UsbEAm-LAN-Party-Server ## Basic Information - **Project Name**: UsbEAm-LAN-Party-Server - **Description**: UsbEAm LAN Party 服务端 - **Primary Language**: Shell - **License**: MIT - **Default Branch**: master - **Homepage**: https://www.dogfight360.com/blog/1590/ - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2023-09-28 - **Last Updated**: 2024-04-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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](https://hub.docker.com/r/nouko61/usbeam-lan-party) ### 方式一:直接启动 1. 安装 openvpn 与 git,Ubuntu系统可以使用下面的命令安装 ``` sudo apt update && sudo apt install -y openvpn git ``` 2. 克隆项目 ``` git clone https://gitee.com/nouko61/UsbEAm-LAN-Party-Server.git ``` 3. 启动(后台运行) ``` cd UsbEAm-LAN-Party-Server/linux sudo -b sh run.sh ``` ### 方式二:使用Docker启动 1. 安装Docker,Ubuntu系统可以使用下面的命令安装 ``` sudo apt update && sudo apt install -y docker.io ``` 2. 启动容器 ``` 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 ``` 2. 获取compose文件 ``` wget https://gitee.com/nouko61/UsbEAm-LAN-Party-Server/raw/master/docker-compose.yml ``` 3. 启动 ``` sudo docker-compose up -d ```