[GH-ISSUE #116] Fix Moonlight rejecting stream when running with multiple IPs #74

Closed
opened 2026-10-15 12:55:56 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @ABeltramo on GitHub (Sep 4, 2024).
Original GitHub issue: https://github.com/games-on-whales/wolf/issues/116

This has been reported in Discord, the short version is as follows:

  • LAN IP: 192.168.1.X
  • Wireguard IP: 172.17.0.Y

Moonlight was reaching Wolf via 192.168 and Wolf was sending back the video and audio stream over 172.17, as a security measure Moonlight will reject that because it comes from an unknown IP.

Snippet from the logs:

DEBUG | 172.17.0.2 [GET] HTTPS://192.168.1.20/appasset
DEBUG | 172.17.0.2 [GET] HTTPS://192.168.1.20/serverinfo
DEBUG | 172.17.0.2 [GET] HTTPS://192.168.1.20/launch
...
DEBUG | Starting video pipeline: 
...
udpsink bind-port=48100 host=172.17.0.2 port=51928 sync=true

Manually setting the env variable WOLF_INTERNAL_IP fixes it but I think we can do better here and automatically match the IP from the HTTPS endpoints when setting our IP for the Moonlight session.

Originally created by @ABeltramo on GitHub (Sep 4, 2024). Original GitHub issue: https://github.com/games-on-whales/wolf/issues/116 This has been reported in Discord, the short version is as follows: - LAN IP: `192.168.1.X` - Wireguard IP: `172.17.0.Y` Moonlight was reaching Wolf via `192.168` and Wolf was sending back the video and audio stream over `172.17`, as a security measure Moonlight will reject that because it comes from an unknown IP. Snippet from the logs: ``` DEBUG | 172.17.0.2 [GET] HTTPS://192.168.1.20/appasset DEBUG | 172.17.0.2 [GET] HTTPS://192.168.1.20/serverinfo DEBUG | 172.17.0.2 [GET] HTTPS://192.168.1.20/launch ... DEBUG | Starting video pipeline: ... udpsink bind-port=48100 host=172.17.0.2 port=51928 sync=true ``` **Manually setting the env variable `WOLF_INTERNAL_IP` fixes it** but I think we can do better here and automatically match the IP from the HTTPS endpoints when setting our IP for the Moonlight session.
bsakaguchi 2026-10-15 12:55:56 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/wolf#74
No description provided.