Make you and your friends play games like in a LAN.
Internet
|
ARP,IPv4 | LAN Packets
Switch <-------> Router(lan-play) <-------------> Server
UDP
The packages in this repository implement the switch-lan-play
client on OpenWrt.
To play with your friends, you and your friends should run the switch-lan-play
client connecting to the same server on your PC, and set static IP on your Switch.
To build switch-lan-play for OpenWrt, first add this feed to your feeds.conf
in a fully set-up OpenWrt SDK (read here on how to setup the OpenWrt SDK):
src-git openwrt_switch_lan_play https://github.com/nlroel/openwrt-switch-lan-play.git
$ ./scripts/feeds update -a
$ ./scripts/feeds install -a
Enable building the packages.
make menuconfig
Network -> Lan-play -> switch-lan-play <*>
LuCI -> 3. Applications -> luci-app-switch-lan-play <*>
Build the packages.
make package/luci-app-switch-lan-play/compile
make package/switch-lan-play/compile
Install the packages to your router.
opkg install /tmp/switch-lan-play-*.ipk
opkg install /tmp/luci-app-switch-lan-play-*.ipk
Package luci-app-switch-lan-play (c) @skylovebeauty Package switch-lan-play (c) spacemeowx2 Package openwrt-switch-lan-play (c) @hurrian