Skip to content

Instantly share code, notes, and snippets.

@Nachlor
Last active October 12, 2025 10:20
Show Gist options
  • Select an option

  • Save Nachlor/fdf2a5f9de1c14aecfc4c8617401a2f3 to your computer and use it in GitHub Desktop.

Select an option

Save Nachlor/fdf2a5f9de1c14aecfc4c8617401a2f3 to your computer and use it in GitHub Desktop.

Revisions

  1. Nachlor revised this gist Oct 12, 2025. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions Lanemu_P2P_VPN_LAN_Gaming.md
    Original file line number Diff line number Diff line change
    @@ -260,8 +260,8 @@
    - Option 2 : Click the Information icon at the bottom and select Connections tab
    - If you are using hyper-nat
    - Enter 127.0.0.1:Port (e.g., 127.0.0.1:6666) next to the Connect To button and click it
    - If you are not using hyper-nat
    - Enter other user's PublicIP:Port or TunnelIP:Port next to the Connect To button and click it
    - If you are using other connection method
    - Enter a peer PublicIP:Port or TunnelIP:Port next to the Connect To button and click it
    - Linux : Open another Terminal to add Broadcast and Multicast routes
    - `sudo ip route append 255.255.255.255/32 via 0.0.0.0 metric 0 dev tap0`
    - `sudo ip route append 224.0.0.0/4 via 0.0.0.0 metric 0 dev tap0`
  2. Nachlor revised this gist Oct 11, 2025. 1 changed file with 14 additions and 11 deletions.
    25 changes: 14 additions & 11 deletions Lanemu_P2P_VPN_LAN_Gaming.md
    Original file line number Diff line number Diff line change
    @@ -9,18 +9,18 @@
    - [Usage](#usage)

    # Preparations (Linux)
    - Install net-tools
    - https://command-not-found.com/ifconfig
    - Install Wine
    - https://gitlab.winehq.org/wine/wine/-/wikis/Download
    - Install Winetricks
    - https://gitlab.winehq.org/wine/wine/-/wikis/Winetricks
    - Install DirectPlay
    - Install net-tools, libnotify and libayatana-appindicator
    - https://pkgs.org/search/?q=net-tools
    - https://pkgs.org/search/?q=libnotify
    - https://pkgs.org/search/?q=libayatana-appindicator
    - Install wine or wine-staging
    - https://pkgs.org/search/?q=wine
    - https://pkgs.org/search/?q=wine-staging
    - Install winetricks
    - https://pkgs.org/search/?q=winetricks
    - Enable DirectPlay
    - https://gitlab.winehq.org/wine/wine/-/wikis/DirectPlay-Games
    - Optional recommendations
    - Install libnotify and libayatana-appindicator
    - https://pkgs.org/search/?q=libnotify
    - https://pkgs.org/search/?q=libayatana-appindicator
    - Visit PCGamingWiki for game patches / fixes
    - https://www.pcgamingwiki.com/wiki/Home

    @@ -128,10 +128,13 @@
    - Extract forwarder.zip to Lanemu -> build folder
    - Linux
    - Install npm
    - https://command-not-found.com/npm
    - https://pkgs.org/search/?q=npm
    - Download the latest Source code (tar.gz) under Assets
    - https://github.com/AnEntrypoint/hyper-nat/releases/latest
    - Extract hyper-nat.tar.gz to Lanemu -> build folder
    - If hyper-nat fails to connect, all users can route Tailscale or other similar VPN through Lanemu
    - Lanemu allows Layer 3 VPNs to work in games that require Broadcast / Multicast
    - Replace all instances of PublicIP:Port with Tailscale or other VPN IP (e.g., 100.111.88.108:6666)
    - Alternatively, one user (Host PC) can create a tunnel (e.g., playit.gg)
    - Lanemu supports TCP+UDP or TCP-only tunnels
    - https://github.com/anderspitman/awesome-tunneling
  3. Nachlor revised this gist Oct 4, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Lanemu_P2P_VPN_LAN_Gaming.md
    Original file line number Diff line number Diff line change
    @@ -81,7 +81,7 @@

    # Usage
    - Get the latest Lanemu release by clicking Download under Packages
    - https://gitlab.com/Monsterovich/lanemu/-/releases
    - https://gitlab.com/Monsterovich/lanemu/-/releases/permalink/latest#release
    - Extract the downloaded Lanemu archive to a new folder called Lanemu
    - Navigate to the OpenJDK page by clicking "Ready for use" JDK version
    - https://jdk.java.net/
  4. Nachlor revised this gist Oct 4, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Lanemu_P2P_VPN_LAN_Gaming.md
    Original file line number Diff line number Diff line change
    @@ -193,7 +193,7 @@
    - If you are using hyper-nat
    - Specify these network settings
    - Known Hosts: 127.0.0.1:6666
    - BitTorrent Tracker: Empty
    - BitTorrent Trackers: Empty
    - Enable DHT search for peers: No
    - Click OK
    - Windows : Allow OpenJDK through Windows Firewall
  5. Nachlor revised this gist Oct 3, 2025. 1 changed file with 6 additions and 6 deletions.
    12 changes: 6 additions & 6 deletions Lanemu_P2P_VPN_LAN_Gaming.md
    Original file line number Diff line number Diff line change
    @@ -253,12 +253,12 @@
    - Click Allow access
    - Wait for connection
    - If connection did not occur automatically
    - Click the network information icon in the bottom right corner
    - Select Connections tab
    - If you are using hyper-nat
    - Enter 127.0.0.1:Port (e.g., 127.0.0.1:6666) next to the Connect To button and click it
    - If you are not using hyper-nat
    - Enter other user's PublicIP:Port or TunnelIP:Port next to the Connect To button and click it
    - Option 1 : Click the Connect to Known IPs icon at the bottom
    - Option 2 : Click the Information icon at the bottom and select Connections tab
    - If you are using hyper-nat
    - Enter 127.0.0.1:Port (e.g., 127.0.0.1:6666) next to the Connect To button and click it
    - If you are not using hyper-nat
    - Enter other user's PublicIP:Port or TunnelIP:Port next to the Connect To button and click it
    - Linux : Open another Terminal to add Broadcast and Multicast routes
    - `sudo ip route append 255.255.255.255/32 via 0.0.0.0 metric 0 dev tap0`
    - `sudo ip route append 224.0.0.0/4 via 0.0.0.0 metric 0 dev tap0`
  6. Nachlor revised this gist Sep 23, 2025. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions Lanemu_P2P_VPN_LAN_Gaming.md
    Original file line number Diff line number Diff line change
    @@ -69,12 +69,12 @@
    - Optional recommendations
    - Visit PCGamingWiki for game patches / fixes
    - https://www.pcgamingwiki.com/wiki/Home
    - Use DXVK or DXVK-GPLAsync for DirectX 8/9 games
    - Use DXVK or DXVK-Sarek for DirectX 8/9 games
    - https://github.com/doitsujin/dxvk
    - https://gitlab.com/Ph42oN/dxvk-gplasync
    - Use dgVoodoo or WineD3D for older DirectX / DirectDraw games
    - http://dege.freeweb.hu/dgVoodoo2/dgVoodoo2/
    - https://fdossena.com/?p=wined3d/index.frag
    - https://github.com/pythonlover02/DXVK-Sarek
    - Use dgVoodoo or DxWrapper for older DirectX / DirectDraw games
    - https://dege.freeweb.hu/dgVoodoo2/dgVoodoo2/
    - https://github.com/elishacloud/dxwrapper
    - Use Special K or RTSS frame limiters to improve frame pacing and reduce inpug lag (check out Special K for even more features: Latent Sync, HDR retrofit, etc.)
    - https://special-k.info/
    - https://www.guru3d.com/download/rtss-rivatuner-statistics-server-download/
  7. Nachlor revised this gist Sep 23, 2025. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions Lanemu_P2P_VPN_LAN_Gaming.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,6 @@
    # Mirror
    - https://sites.google.com/view/lanemu-p2p-vpn-gaming
    # Lanemu P2P VPN LAN Gaming
    - Mirror of Google Sites
    - https://sites.google.com/view/lanemu-p2p-vpn-gaming

    # Table of Contents
    - [Preparations](#preparations-linux)
  8. Nachlor revised this gist Sep 10, 2025. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions Lanemu_P2P_VPN_LAN_Gaming.md
    Original file line number Diff line number Diff line change
    @@ -128,9 +128,9 @@
    - Linux
    - Install npm
    - https://command-not-found.com/npm
    - Download hyper-nat repository archive
    - https://github.com/AnEntrypoint/hyper-nat/archive/refs/heads/main.zip
    - Extract hyper-nat-main.zip to Lanemu -> build folder
    - Download the latest Source code (tar.gz) under Assets
    - https://github.com/AnEntrypoint/hyper-nat/releases/latest
    - Extract hyper-nat.tar.gz to Lanemu -> build folder
    - Alternatively, one user (Host PC) can create a tunnel (e.g., playit.gg)
    - Lanemu supports TCP+UDP or TCP-only tunnels
    - https://github.com/anderspitman/awesome-tunneling
    @@ -169,7 +169,7 @@
    - Windows
    - Open hyper-nat.exe
    - Linux
    - Open another Terminal in Lanemu -> build -> hyper-nat-main folder
    - Open another Terminal in Lanemu -> build -> hyper-nat folder
    - `npm install`
    - `npm run start`
    - Windows : Allow hyper-nat through Windows Firewall
    @@ -234,7 +234,7 @@
    - Windows
    - Open hyper-nat.exe
    - Linux
    - Open another Terminal in Lanemu -> build -> hyper-nat-main folder
    - Open another Terminal in Lanemu -> build -> hyper-nat folder
    - `npm install`
    - `npm run start`
    - Windows : Allow hyper-nat through Windows Firewall
  9. Nachlor revised this gist Aug 15, 2025. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions Lanemu_P2P_VPN_LAN_Gaming.md
    Original file line number Diff line number Diff line change
    @@ -153,14 +153,14 @@
    "proto": "udp",
    "port": "6666",
    "host": "127.0.0.1",
    "secret":"SomeUniqueTextThatIsTheSameForAllPorts"
    "secret": "SomeUniqueTextThatIsTheSameForAllPorts"
    },
    {
    "mode": "server",
    "proto": "tcp",
    "port": "6666",
    "host": "127.0.0.1",
    "secret":"SomeUniqueTextThatIsTheSameForAllPorts"
    "secret": "SomeUniqueTextThatIsTheSameForAllPorts"
    }
    ]
    }
    @@ -218,14 +218,14 @@
    "proto": "udp",
    "port": "6666",
    "serverport": "6666",
    "publicKey":"CopyPasteTheServerPublicKeyHere"
    "publicKey": "CopyPasteTheServerPublicKeyHere"
    },
    {
    "mode": "client",
    "proto": "tcp",
    "port": "6666",
    "serverport": "6666",
    "publicKey":"CopyPasteTheServerPublicKeyHere"
    "publicKey": "CopyPasteTheServerPublicKeyHere"
    }
    ]
    }
  10. Nachlor revised this gist Aug 10, 2025. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions Lanemu_P2P_VPN_LAN_Gaming.md
    Original file line number Diff line number Diff line change
    @@ -22,8 +22,6 @@
    - https://pkgs.org/search/?q=libayatana-appindicator
    - Visit PCGamingWiki for game patches / fixes
    - https://www.pcgamingwiki.com/wiki/Home
    - Visit Linux Gaming Wiki
    - https://linux-gaming.kwindu.eu/index.php?title=Main_Page

    # Preparations (Windows)
    - Disable SSDP Discovery
  11. Nachlor revised this gist Jul 18, 2025. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions Lanemu_P2P_VPN_LAN_Gaming.md
    Original file line number Diff line number Diff line change
    @@ -91,6 +91,8 @@
    - Click zip under Builds -> Windows / x64
    - Linux
    - Click tar.gz under Builds -> Linux / x64
    - Older OSes
    - https://gitlab.com/Monsterovich/lanemu/-/wikis/Supported-JDK-JRE-versions
    - Extract the downloaded OpenJDK archive to Lanemu -> build folder
    - Rename the extracted OpenJDK folder to jdk
    - Windows : Install Lanemu network adapter
  12. Nachlor revised this gist Jul 10, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Lanemu_P2P_VPN_LAN_Gaming.md
    Original file line number Diff line number Diff line change
    @@ -115,7 +115,7 @@
    - Click the Options icon and select Global tab
    - Specify Your Name
    - Specify any port in "Listen on Port" (e.g., 6666)
    - At least one user must enable UPnP or forward this port on the router
    - At least one user should enable UPnP or forward this port on the router
    - It is recommended to forward this port for both TCP and UDP
    - If you wish to only use TCP
    - Select Network tab and uncheck Use UDP for peer to peer traffic
  13. Nachlor revised this gist Jul 10, 2025. 1 changed file with 13 additions and 3 deletions.
    16 changes: 13 additions & 3 deletions Lanemu_P2P_VPN_LAN_Gaming.md
    Original file line number Diff line number Diff line change
    @@ -116,6 +116,9 @@
    - Specify Your Name
    - Specify any port in "Listen on Port" (e.g., 6666)
    - At least one user must enable UPnP or forward this port on the router
    - It is recommended to forward this port for both TCP and UDP
    - If you wish to only use TCP
    - Select Network tab and uncheck Use UDP for peer to peer traffic
    - If nobody can forward a port (stuck behind NAT)
    - All users can use hyper-nat (make sure everyone uses the same port)
    - Windows
    @@ -128,9 +131,16 @@
    - Download hyper-nat repository archive
    - https://github.com/AnEntrypoint/hyper-nat/archive/refs/heads/main.zip
    - Extract hyper-nat-main.zip to Lanemu -> build folder
    - Alternatively, one user (Host) can create a TCP tunnel (e.g., playit.gg)
    - Example: tcp-tunnel.gl.at.ply.gg:5359 -> 127.0.0.1:6666
    - https://github.com/anderspitman/awesome-tunneling
    - Alternatively, one user (Host PC) can create a tunnel (e.g., playit.gg)
    - Lanemu supports TCP+UDP or TCP-only tunnels
    - https://github.com/anderspitman/awesome-tunneling
    - Tunnel type requirements (TunnelIP:TunnelPort -> 127.0.0.1:LanemuPort)
    - TCP+UDP (e.g., tcp-udp-tunnel.gl.at.ply.gg:5359 -> 127.0.0.1:5359)
    - TunnelPort and LanemuPort must be identical
    - TCP-only (e.g., tcp-tunnel.gl.at.ply.gg:5359 -> 127.0.0.1:6666)
    - TunnelPort and LanemuPort can be the same or different
    - Host PC user must disable UDP option in Lanemu
    - Select Network tab and uncheck Use UDP for peer to peer traffic
    - Click OK
    - Steps for Host PC
    - If you are using hyper-nat
  14. Nachlor revised this gist Jul 7, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Lanemu_P2P_VPN_LAN_Gaming.md
    Original file line number Diff line number Diff line change
    @@ -117,7 +117,7 @@
    - Specify any port in "Listen on Port" (e.g., 6666)
    - At least one user must enable UPnP or forward this port on the router
    - If nobody can forward a port (stuck behind NAT)
    - All users can use hyper-nat (recommended)
    - All users can use hyper-nat (make sure everyone uses the same port)
    - Windows
    - Download the latest forwarder.zip under Assets
    - https://github.com/AnEntrypoint/hyper-nat/releases/latest
  15. Nachlor revised this gist Jul 7, 2025. 1 changed file with 38 additions and 37 deletions.
    75 changes: 38 additions & 37 deletions Lanemu_P2P_VPN_LAN_Gaming.md
    Original file line number Diff line number Diff line change
    @@ -133,6 +133,44 @@
    - https://github.com/anderspitman/awesome-tunneling
    - Click OK
    - Steps for Host PC
    - If you are using hyper-nat
    - Modify hyper-nat options.json file
    ```json
    {
    "schema": [
    {
    "mode": "server",
    "proto": "udp",
    "port": "6666",
    "host": "127.0.0.1",
    "secret":"SomeUniqueTextThatIsTheSameForAllPorts"
    },
    {
    "mode": "server",
    "proto": "tcp",
    "port": "6666",
    "host": "127.0.0.1",
    "secret":"SomeUniqueTextThatIsTheSameForAllPorts"
    }
    ]
    }
    ```
    - Launch hyper-nat
    - Windows
    - Open hyper-nat.exe
    - Linux
    - Open another Terminal in Lanemu -> build -> hyper-nat-main folder
    - `npm install`
    - `npm run start`
    - Windows : Allow hyper-nat through Windows Firewall
    - Check both Private and Public networks
    - Click Allow access
    - Copy your public key from the Console / Terminal
    - Windows
    - Highlight it and press CTRL + C
    - Linux
    - Highlight it and press CTRL + SHIFT + C
    - Send your public key to every Client
    - Create a network
    - Click the New Network icon
    - Select Simple tab
    @@ -146,43 +184,6 @@
    - Known Hosts: 127.0.0.1:6666
    - BitTorrent Tracker: Empty
    - Enable DHT search for peers: No
    - Modify hyper-nat options.json file
    ```json
    {
    "schema": [
    {
    "mode": "server",
    "proto": "udp",
    "port": "6666",
    "host": "127.0.0.1",
    "secret":"SomeUniqueTextThatIsTheSameForAllPorts"
    },
    {
    "mode": "server",
    "proto": "tcp",
    "port": "6666",
    "host": "127.0.0.1",
    "secret":"SomeUniqueTextThatIsTheSameForAllPorts"
    }
    ]
    }
    ```
    - Launch hyper-nat
    - Windows
    - Open hyper-nat.exe
    - Linux
    - Open another Terminal in Lanemu -> build -> hyper-nat-main folder
    - `npm install`
    - `npm run start`
    - Windows : Allow hyper-nat through Windows Firewall
    - Check both Private and Public networks
    - Click Allow access
    - Copy your public key from the Console / Terminal
    - Windows
    - Highlight it and press CTRL + C
    - Linux
    - Highlight it and press CTRL + SHIFT + C
    - Send your public key to every Client
    - Click OK
    - Windows : Allow OpenJDK through Windows Firewall
    - Check both Private and Public networks
  16. Nachlor revised this gist Jul 7, 2025. 1 changed file with 103 additions and 12 deletions.
    115 changes: 103 additions & 12 deletions Lanemu_P2P_VPN_LAN_Gaming.md
    Original file line number Diff line number Diff line change
    @@ -81,7 +81,7 @@
    - https://www.guru3d.com/download/rtss-rivatuner-statistics-server-download/

    # Usage
    - Download the latest Lanemu release by clicking Download under Packages
    - Get the latest Lanemu release by clicking Download under Packages
    - https://gitlab.com/Monsterovich/lanemu/-/releases
    - Extract the downloaded Lanemu archive to a new folder called Lanemu
    - Navigate to the OpenJDK page by clicking "Ready for use" JDK version
    @@ -108,30 +108,81 @@
    - Windows
    - Open Lanemu.exe
    - Linux
    - Open the Terminal
    - Change working directory to Lanemu -> build folder
    - `cd "<path>/Lanemu/build"`
    - Example: `cd "${HOME}/Downloads/Lanemu/build"`
    - Open Lanemu.jar
    - Open the Terminal in Lanemu -> build folder
    - `sudo ./jdk/bin/java -jar Lanemu.jar`
    - Do you want to join 'Default network'?
    - Click No
    - Click the Options icon and select Global tab
    - Specify Your Name
    - Specify any port in "Listen on Port" (e.g., 6666)
    - At least one user must enable UPnP or forward this port on the router
    - If nobody can forward a port (stuck behind NAT), one user (Host) will have to create a TCP tunnel
    - Example: tcp-tunnel.gl.at.ply.gg:5359 -> 127.0.0.1:6666
    - https://github.com/anderspitman/awesome-tunneling
    - If nobody can forward a port (stuck behind NAT)
    - All users can use hyper-nat (recommended)
    - Windows
    - Download the latest forwarder.zip under Assets
    - https://github.com/AnEntrypoint/hyper-nat/releases/latest
    - Extract forwarder.zip to Lanemu -> build folder
    - Linux
    - Install npm
    - https://command-not-found.com/npm
    - Download hyper-nat repository archive
    - https://github.com/AnEntrypoint/hyper-nat/archive/refs/heads/main.zip
    - Extract hyper-nat-main.zip to Lanemu -> build folder
    - Alternatively, one user (Host) can create a TCP tunnel (e.g., playit.gg)
    - Example: tcp-tunnel.gl.at.ply.gg:5359 -> 127.0.0.1:6666
    - https://github.com/anderspitman/awesome-tunneling
    - Click OK
    - Steps for Host PC
    - Create a network
    - Click the New Network icon
    - Select Simple tab
    - Specify Network Name
    - Select Advanced tab
    - Specify your PublicIP:Port or TunnelIP:Port in Known Hosts
    - Example: 82.129.80.111:6666 or tcp-tunnel.gl.at.ply.gg:5359
    - If you are using UPnP / Port Forwarding or Tunneling Services
    - Specify your PublicIP:Port or TunnelIP:Port in Known Hosts
    - Example: 82.129.80.111:6666 or tcp-tunnel.gl.at.ply.gg:5359
    - If you are using hyper-nat
    - Specify these network settings
    - Known Hosts: 127.0.0.1:6666
    - BitTorrent Tracker: Empty
    - Enable DHT search for peers: No
    - Modify hyper-nat options.json file
    ```json
    {
    "schema": [
    {
    "mode": "server",
    "proto": "udp",
    "port": "6666",
    "host": "127.0.0.1",
    "secret":"SomeUniqueTextThatIsTheSameForAllPorts"
    },
    {
    "mode": "server",
    "proto": "tcp",
    "port": "6666",
    "host": "127.0.0.1",
    "secret":"SomeUniqueTextThatIsTheSameForAllPorts"
    }
    ]
    }
    ```
    - Launch hyper-nat
    - Windows
    - Open hyper-nat.exe
    - Linux
    - Open another Terminal in Lanemu -> build -> hyper-nat-main folder
    - `npm install`
    - `npm run start`
    - Windows : Allow hyper-nat through Windows Firewall
    - Check both Private and Public networks
    - Click Allow access
    - Copy your public key from the Console / Terminal
    - Windows
    - Highlight it and press CTRL + C
    - Linux
    - Highlight it and press CTRL + SHIFT + C
    - Send your public key to every Client
    - Click OK
    - Windows : Allow OpenJDK through Windows Firewall
    - Check both Private and Public networks
    @@ -144,6 +195,43 @@
    - Click Close
    - Send the invitation file to every Client
    - Steps for Client PC
    - If you are using hyper-nat
    - Temporarily close Lanemu
    - Right click Lanemu tray icon and select Quit
    - Modify hyper-nat options.json file
    ```json
    {
    "schema": [
    {
    "mode": "client",
    "proto": "udp",
    "port": "6666",
    "serverport": "6666",
    "publicKey":"CopyPasteTheServerPublicKeyHere"
    },
    {
    "mode": "client",
    "proto": "tcp",
    "port": "6666",
    "serverport": "6666",
    "publicKey":"CopyPasteTheServerPublicKeyHere"
    }
    ]
    }
    ```
    - Launch hyper-nat
    - Windows
    - Open hyper-nat.exe
    - Linux
    - Open another Terminal in Lanemu -> build -> hyper-nat-main folder
    - `npm install`
    - `npm run start`
    - Windows : Allow hyper-nat through Windows Firewall
    - Check both Private and Public networks
    - Click Allow access
    - Wait until hyper-nat establishes connection to the server
    - The window closes if connection fails, you might have to retry several times
    - Relaunch Lanemu
    - Join a network
    - Click the Accept Invitation icon
    - Click Load from File
    @@ -155,7 +243,10 @@
    - If connection did not occur automatically
    - Click the network information icon in the bottom right corner
    - Select Connections tab
    - Enter other user's PublicIP:Port or TunnelIP:Port next to the Connect To button and click it
    - If you are using hyper-nat
    - Enter 127.0.0.1:Port (e.g., 127.0.0.1:6666) next to the Connect To button and click it
    - If you are not using hyper-nat
    - Enter other user's PublicIP:Port or TunnelIP:Port next to the Connect To button and click it
    - Linux : Open another Terminal to add Broadcast and Multicast routes
    - `sudo ip route append 255.255.255.255/32 via 0.0.0.0 metric 0 dev tap0`
    - `sudo ip route append 224.0.0.0/4 via 0.0.0.0 metric 0 dev tap0`
  17. Nachlor revised this gist Feb 28, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Lanemu_P2P_VPN_LAN_Gaming.md
    Original file line number Diff line number Diff line change
    @@ -125,7 +125,7 @@
    - https://github.com/anderspitman/awesome-tunneling
    - Click OK
    - Steps for Host PC
    - Create a new network
    - Create a network
    - Click the New Network icon
    - Select Simple tab
    - Specify Network Name
  18. Nachlor revised this gist Feb 15, 2025. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions Lanemu_P2P_VPN_LAN_Gaming.md
    Original file line number Diff line number Diff line change
    @@ -17,6 +17,9 @@
    - Install DirectPlay
    - https://gitlab.winehq.org/wine/wine/-/wikis/DirectPlay-Games
    - Optional recommendations
    - Install libnotify and libayatana-appindicator
    - https://pkgs.org/search/?q=libnotify
    - https://pkgs.org/search/?q=libayatana-appindicator
    - Visit PCGamingWiki for game patches / fixes
    - https://www.pcgamingwiki.com/wiki/Home
    - Visit Linux Gaming Wiki
  19. Nachlor created this gist Feb 15, 2025.
    158 changes: 158 additions & 0 deletions Lanemu_P2P_VPN_LAN_Gaming.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,158 @@
    # Mirror
    - https://sites.google.com/view/lanemu-p2p-vpn-gaming

    # Table of Contents
    - [Preparations](#preparations-linux)
    - [Linux](#preparations-linux)
    - [Windows](#preparations-windows)
    - [Usage](#usage)

    # Preparations (Linux)
    - Install net-tools
    - https://command-not-found.com/ifconfig
    - Install Wine
    - https://gitlab.winehq.org/wine/wine/-/wikis/Download
    - Install Winetricks
    - https://gitlab.winehq.org/wine/wine/-/wikis/Winetricks
    - Install DirectPlay
    - https://gitlab.winehq.org/wine/wine/-/wikis/DirectPlay-Games
    - Optional recommendations
    - Visit PCGamingWiki for game patches / fixes
    - https://www.pcgamingwiki.com/wiki/Home
    - Visit Linux Gaming Wiki
    - https://linux-gaming.kwindu.eu/index.php?title=Main_Page

    # Preparations (Windows)
    - Disable SSDP Discovery
    - Open Control Panel
    - Click System and Security
    - Click Administrative Tools
    - Open Services
    - Right click SSDP Discovery and select Properties
    - Click Stop
    - Startup type: Disabled
    - Click Apply and OK
    - Enable DirectPlay and Media Features
    - Open Control Panel
    - Click Programs
    - Click Turn Windows features on or off
    - Expand Legacy Components
    - Check DirectPlay
    - Check Media Features
    - Click OK
    - Allow DirectPlay and game through Windows Firewall
    - Open Control Panel
    - Click System and Security
    - Click Allow an app through Windows Firewall
    - Click Change settings
    - Click Allow another app
    - Click Browse
    - DirectPlay
    - Go to C:\Windows\SysWOW64
    - Select dplaysvr.exe and click Open
    - DirectPlay 8 (x32)
    - Go to C:\Windows\System32
    - Select dpnsvr.exe and click Open
    - DirectPlay 8 (x64)
    - Go to C:\Windows\SysWOW64
    - Select dpnsvr.exe and click Open
    - Game
    - Go to game directory
    - Select game executable and click Open
    - Click Network types
    - Check Private and Public
    - Click OK
    - Click Add
    - Click OK
    - Optional recommendations
    - Visit PCGamingWiki for game patches / fixes
    - https://www.pcgamingwiki.com/wiki/Home
    - Use DXVK or DXVK-GPLAsync for DirectX 8/9 games
    - https://github.com/doitsujin/dxvk
    - https://gitlab.com/Ph42oN/dxvk-gplasync
    - Use dgVoodoo or WineD3D for older DirectX / DirectDraw games
    - http://dege.freeweb.hu/dgVoodoo2/dgVoodoo2/
    - https://fdossena.com/?p=wined3d/index.frag
    - Use Special K or RTSS frame limiters to improve frame pacing and reduce inpug lag (check out Special K for even more features: Latent Sync, HDR retrofit, etc.)
    - https://special-k.info/
    - https://www.guru3d.com/download/rtss-rivatuner-statistics-server-download/

    # Usage
    - Download the latest Lanemu release by clicking Download under Packages
    - https://gitlab.com/Monsterovich/lanemu/-/releases
    - Extract the downloaded Lanemu archive to a new folder called Lanemu
    - Navigate to the OpenJDK page by clicking "Ready for use" JDK version
    - https://jdk.java.net/
    - Download OpenJDK
    - Windows
    - Click zip under Builds -> Windows / x64
    - Linux
    - Click tar.gz under Builds -> Linux / x64
    - Extract the downloaded OpenJDK archive to Lanemu -> build folder
    - Rename the extracted OpenJDK folder to jdk
    - Windows : Install Lanemu network adapter
    - Navigate to Lanemu -> driver folder
    - Right click add_adapter.bat
    - Click Run as administrator
    - Windows : Make sure Lanemu.exe is always run as administrator
    - Navigate to Lanemu -> build folder
    - Right click Lanemu.exe
    - Click Properties
    - Select Compatibility tab
    - Check Run this program as an administrator
    - Click Apply and OK
    - Launch Lanemu
    - Windows
    - Open Lanemu.exe
    - Linux
    - Open the Terminal
    - Change working directory to Lanemu -> build folder
    - `cd "<path>/Lanemu/build"`
    - Example: `cd "${HOME}/Downloads/Lanemu/build"`
    - Open Lanemu.jar
    - `sudo ./jdk/bin/java -jar Lanemu.jar`
    - Do you want to join 'Default network'?
    - Click No
    - Click the Options icon and select Global tab
    - Specify Your Name
    - Specify any port in "Listen on Port" (e.g., 6666)
    - At least one user must enable UPnP or forward this port on the router
    - If nobody can forward a port (stuck behind NAT), one user (Host) will have to create a TCP tunnel
    - Example: tcp-tunnel.gl.at.ply.gg:5359 -> 127.0.0.1:6666
    - https://github.com/anderspitman/awesome-tunneling
    - Click OK
    - Steps for Host PC
    - Create a new network
    - Click the New Network icon
    - Select Simple tab
    - Specify Network Name
    - Select Advanced tab
    - Specify your PublicIP:Port or TunnelIP:Port in Known Hosts
    - Example: 82.129.80.111:6666 or tcp-tunnel.gl.at.ply.gg:5359
    - Click OK
    - Windows : Allow OpenJDK through Windows Firewall
    - Check both Private and Public networks
    - Click Allow access
    - Create an invitation
    - Click the Invite Someone icon
    - Check Allow invitation of others
    - Click Generate Invitation
    - Click Save to a File
    - Click Close
    - Send the invitation file to every Client
    - Steps for Client PC
    - Join a network
    - Click the Accept Invitation icon
    - Click Load from File
    - Click OK
    - Windows : Allow OpenJDK through Windows Firewall
    - Check both Private and Public networks
    - Click Allow access
    - Wait for connection
    - If connection did not occur automatically
    - Click the network information icon in the bottom right corner
    - Select Connections tab
    - Enter other user's PublicIP:Port or TunnelIP:Port next to the Connect To button and click it
    - Linux : Open another Terminal to add Broadcast and Multicast routes
    - `sudo ip route append 255.255.255.255/32 via 0.0.0.0 metric 0 dev tap0`
    - `sudo ip route append 224.0.0.0/4 via 0.0.0.0 metric 0 dev tap0`