For Start File Sharing on Windows We Need to Enable UDP Port Rules
We know this type of setup is headache but trust on us - just 10 seconds can unlocks a lifetime of free file sharing with no limits!
Why this setup is needed?
Windows Firewall blocks UDP traffic by default, which is required for WebRTC peer-to-peer connections. In Android, iPhone, and MacOS, these ports are typically open by default.
Step 1: Open Command Prompt as Administrator
- Press the Windows key or click Start
- Type "cmd"
- Right-click on Command Prompt and select Run as administrator

Step 2: Run the Command to Enable WebRTC UDP Ports
Copy and paste the following command into Command Prompt:
netsh advfirewall firewall add rule name="WebRTC UDP" dir=in action=allow protocol=UDP localport=3478-3479,49152-65535
If successful, you'll see the message: Ok.
Congratulations! Your Setup Is Complete 🎉, Start File Sharing offlinesharing.com
Step 1: Open Windows Defender Firewall with Advanced Security
- Press the Windows key or click Start
- Type "Windows Defender Firewall with Advanced Security"
- Click on the matching result

Step 2: Create New Inbound Rule
- In the left side, click on Inbound Rules

- In the right side, click on New Rule...

Step 3: Select Port Type
- Select Port and click Next

Step 4: Select Protocol and Ports
- Choose UDP
- Select Specific local ports
- Enter port range: 3478-3479,49152-65535
- Click Next

Step 5: Allow the Connection
- Select Allow the connection and click Next

Step 6: Set Rule Application
- Choose when the rule applies:
- Domain
- Private
- Public
- Click Next

Step 7: Name the Rule
- Enter name: "WebRTC UDP"
- Click Finish

Congratulations! Your Setup Is Complete 🎉, Start File Sharing offlinesharing.com
Security Reminder
For better security, remember to disable or delete the firewall rule after you're done with file sharing. Leaving unnecessary ports open could potentially create security vulnerabilities.
Method 1: Using Command Prompt
Run Command Prompt as Administrator and use this command:
netsh advfirewall firewall delete rule name="WebRTC UDP"
If successful, you'll see the message: Deleted 1 rule(s).
Method 2: Using GUI
- Open Windows Defender Firewall with Advanced Security
- Find your rule named "WebRTC UDP" in the Inbound Rules list
- Right-click on the rule and select:
- To temporarily disable: Select Disable Rule
- To permanently remove: Select Delete
