Commit 6dc85d

2025-04-30 08:46:29 Samuli Seppänen: Update Firewall documentation
Pages/Easy Windows Guide.md ..
@@ 219,7 219,21 @@
## Further Considerations / Troubleshooting
### Firewall Configuration
- If you have connection problems, make sure to set a rule on your server's firewall allowing incoming traffic on UDP port 1194. (Win+R "wf.msc")
+
+ If you have connection problems, make sure to set a rule on your server's firewall allowing incoming traffic on UDP port 1194. You can do this from the Windows Firewall application. You may also need to move the Windows Data Channel Offload (or TAP-Windows6) interface in the public firewall zone.
+
+ If you prefer Powershell then use:
+
+ ```
+ Set-NetConnectionProfile -Name "OpenVPN Data Channel Offload" -NetworkCategory Public
+ New-NetFirewallRule -DisplayName "Inbound OpenVPN UDP 1194" -Profile @('Private', 'Public') -Direction Inbound -Protocol UDP -LocalPort @('1194') -Action allow
+ ```
+
+ To verify that the new rule was created:
+
+ ```
+ Get-NetFirewallRule -All|where-object { $_.DisplayName -eq "Inbound OpenVPN UDP 1194" }
+ ```
### Port Forwarding
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9