Moonlight
  • Welcome to Moonlight!
  • Getting Started!
  • GUIDES
    • Arduino Section
      • Arduino Leonardo Section
        • Arduino Leonardo Spoofing Guide
        • Leonardo + Moonlink Guide
      • Arduino Due Section
        • Arduino DUE Spoofing Guide
        • DUE + Moonlink Guide
        • Advanced Arduino Due Troubleshooting
    • OBS/NDI GUIDE
      • Simple Install
      • Advanced Install
      • Direct PC to PC link
    • Capture Card Guide
    • A.I. Install Guide for Darknet
    • Creating Datasets for Moonlight
      • Creating Datasets for YOLOv4 in Darknet
      • Creating Datasets for YOLOv8 +
  • OVERVIEWS
    • Moonlight Color Overview
    • Moonlink Overview
  • ABOUT MOONLIGHT
    • Our Solutions and How They Work
Powered by GitBook
On this page
  1. GUIDES
  2. OBS/NDI GUIDE

Direct PC to PC link

Only use this if you play on WIFI.

To connect two PCs together using one Ethernet cable and ensure NDI (Network Device Interface) uses the Ethernet connection and not Wi-Fi, follow these steps:

1. Set Up Direct Ethernet Connection

  • Connect an Ethernet cable between the two PCs directly.

  • Make sure both PCs have functioning Ethernet ports.

2. Assign Static IP Addresses

  • Since you are connecting the PCs directly without a router or switch, you need to manually assign static IP addresses to each PC.

    1. On both PCs, go to Network and Sharing Center > Change adapter settings.

    2. Right-click the Ethernet adapter and select Properties.

    3. Click on Internet Protocol Version 4 (TCP/IPv4) and then click Properties.

    4. Select Use the following IP address and configure:

      • PC 1 IP address: 192.168.1.10

      • PC 2 IP address: 192.168.1.11

      • Subnet mask: 255.255.255.0

    5. Click OK to save the settings.

3. Create Windows Firewall rule

Steps to Create Firewall Rules for NDI/OBS

  1. Open Windows Defender Firewall with Advanced Security

    • Press Windows + R, type wf.msc, and press Enter.

    • This opens the Windows Defender Firewall with Advanced Security.

  2. Create an Outbound Rule for NDI/OBS

    1. In the left pane, click Outbound Rules.

    2. In the right pane, click New Rule.

    3. Select Program, then click Next.

    4. Choose the path of your OBS or NDI application executable (for OBS, it's usually C:\Program Files\obs-studio\bin\64bit\obs64.exe), then click Next.

    5. Choose Allow the connection, then click Next.

    6. In the Profile section, check Private and Public but uncheck Domain, then click Next.

    7. Give the rule a name, like "OBS/NDI over Ethernet", then click Finish.

  3. Create an Interface-Specific Rule To make sure the traffic goes over Ethernet, you can bind the rule to the Ethernet interface:

    1. Right-click the rule you just created and choose Properties.

    2. Go to the Advanced tab.

    3. Under Interface types, click Customize.

    4. Select Only for local area network (LAN) and uncheck Remote Access and Wireless.

    5. Click OK and save the settings.

PreviousAdvanced InstallNextCapture Card Guide

Last updated 7 months ago