Improvement on firewall batch scripts #769

Closed
opened 2026-04-05 22:08:22 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @SoffiMeower on 5/12/2024

Let's go in a list here...

  1. Fixes #1026
  2. Makes it where the scripts request admin privileges as they can't modify the firewall without them.
  3. Makes sure all the firewall rules are properly enabled with enable=yes
  4. Fixed the goofball typo of Discovery defauly port to Discovery default port
  5. Prevents duplicate rules by checking if the rule already exists
  6. Echoes/Tells the user what the name of the rule being added is.

Before:

image

After:

image

(UAC prompt quickly appears. It's so fast I had to use timeout 5 to have a delay so I could screenshot)

(User presses No, the script closes.)

(User presses Yes, script continues as below)

image

*Originally created by @SoffiMeower on 5/12/2024* Let's go in a list here... 1. Fixes #1026 2. Makes it where the scripts request admin privileges as they can't modify the firewall without them. 3. Makes sure all the firewall rules are properly enabled with `enable=yes` 4. Fixed the goofball typo of `Discovery defauly port` to `Discovery default port` 5. Prevents duplicate rules by checking if the rule already exists 6. Echoes/Tells the user what the name of the rule being added is. Before: ![image](https://github.com/SlimeVR/SlimeVR-Server/assets/45863583/ef4e6358-e229-470e-8ddc-38a2ac051dcb) After: ![image](https://github.com/SlimeVR/SlimeVR-Server/assets/45863583/2b2d97e5-a32f-4333-9904-7f31c1ec9503) (UAC prompt quickly appears. It's so fast I had to use `timeout 5` to have a delay so I could screenshot) (User presses No, the script closes.) (User presses Yes, script continues as below) ![image](https://github.com/SlimeVR/SlimeVR-Server/assets/45863583/e73bbff6-00bb-437c-9499-68000d9e34de)
MrUnknownDE added the Area: Continuous IntegrationType: EnhancementOS: WindowsArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationArea: Continuous IntegrationType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementType: EnhancementOS: WindowsOS: WindowsOS: WindowsOS: WindowsOS: WindowsOS: WindowsOS: WindowsOS: WindowsOS: Windows labels 2026-04-05 22:08:50 +02:00
Sign in to join this conversation.
No Label Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration Area: Continuous Integration OS: Windows OS: Windows OS: Windows OS: Windows OS: Windows OS: Windows OS: Windows OS: Windows OS: Windows OS: Windows Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement Type: Enhancement
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/SlimeVR-Server#769