Skip to content

Commit 9fa3021

Browse files
authored
Update Port List in Revert_FFS_Connect_Changes.ps1
1 parent 8f3cd6c commit 9fa3021

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Revert_FFS_Connect_Changes.ps1

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Created by Fletcher Salesky
2-
# This Script undoes the changes made by FFS Connect (This verson from 2021-10-06)
1+
# Created by Fletcher Salesky
2+
# This Script undoes the changes made by FFS Connect (This verson from 2023-11-26)
33

44
#Display current firewall settings
55
Get-NetFirewallProfile | Format-List -Property Profile, Enabled
@@ -9,12 +9,12 @@ Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled True
99
echo "Enabled Windows Firewall"
1010

1111
#Disable Field Netowrk comms rules
12-
Set-NetFirewallRule -Name FRC_Driver_Station_FMS_Comms_TCP_in -Direction Inbound -Protocol TCP -RemoteAddress 10.0.0.0/8 -LocalPort 80,443,554,1110,1115,1120,1130,1140,1150,1160,1180-1190,1250,1735,1740,1750,5353,5800-5810,8080,8888 -Action Allow -Enabled False -Profile Any
13-
Set-NetFirewallRule -Name FRC_Driver_Station_FMS_Comms_UDP_in -Direction Inbound -Protocol UDP -RemoteAddress 10.0.0.0/8 -LocalPort 80,443,554,1110,1115,1120,1130,1140,1150,1160,1180-1190,1250,1735,1740,1750,5353,5800-5810,8080,8888 -Action Allow -Enabled False -Profile Any
12+
Set-NetFirewallRule -Name FRC_Driver_Station_FMS_Comms_TCP_in -Direction Inbound -Protocol TCP -RemoteAddress 10.0.0.0/8 -LocalPort 80,443,554,1110,1115,1120,1122,1130,1140,1150,1160,1180-1190,1250,1735,1740,1741,1750,5353,5800-5810,6666,8080,8888 -Action Allow -Enabled False -Profile Any
13+
Set-NetFirewallRule -Name FRC_Driver_Station_FMS_Comms_UDP_in -Direction Inbound -Protocol UDP -RemoteAddress 10.0.0.0/8 -LocalPort 80,443,554,1110,1115,1120,1122,1130,1140,1150,1160,1180-1190,1250,1735,1740,1741,1750,5353,5800-5810,6666,8080,8888 -Action Allow -Enabled False -Profile Any
1414
Set-NetFirewallRule -Name FRC_Driver_Station_FMS_Comms_mDNS_in -Direction Inbound -RemoteAddress 10.0.0.0/8 -Program "C:\Program Files\National Instruments\Shared\mDNS Responder\nimdnsResponder.exe" -Action Allow -Enabled False -Profile Any
1515

16-
Set-NetFirewallRule -Name FRC_Driver_Station_FMS_Comms_TCP_out -Direction Outbound -Protocol TCP -RemoteAddress 10.0.0.0/8 -RemotePort 80,443,554,1110,1115,1120,1130,1140,1150,1160,1180-1190,1250,1735,1740,1750,5353,5800-5810,8080,8888 -Action Allow -Enabled False -Profile Any
17-
Set-NetFirewallRule -Name FRC_Driver_Station_FMS_Comms_UDP_out -Direction Outbound -Protocol UDP -RemoteAddress 10.0.0.0/8 -RemotePort 80,443,554,1110,1115,1120,1130,1140,1150,1160,1180-1190,1250,1735,1740,1750,5353,5800-5810,8080,8888 -Action Allow -Enabled False -Profile Any
16+
Set-NetFirewallRule -Name FRC_Driver_Station_FMS_Comms_TCP_out -Direction Outbound -Protocol TCP -RemoteAddress 10.0.0.0/8 -RemotePort 80,443,554,1110,1115,1120,1122,1130,1140,1150,1160,1180-1190,1250,1735,1740,1741,1750,5353,5800-5810,6666,8080,8888 -Action Allow -Enabled False -Profile Any
17+
Set-NetFirewallRule -Name FRC_Driver_Station_FMS_Comms_UDP_out -Direction Outbound -Protocol UDP -RemoteAddress 10.0.0.0/8 -RemotePort 80,443,554,1110,1115,1120,1122,1130,1140,1150,1160,1180-1190,1250,1735,1740,1741,1750,5353,5800-5810,6666,8080,8888 -Action Allow -Enabled False -Profile Any
1818
Set-NetFirewallRule -Name FRC_Driver_Station_FMS_Comms_mDNS_out -Direction Outbound -RemoteAddress 10.0.0.0/8 -Program "C:\Program Files\National Instruments\Shared\mDNS Responder\nimdnsResponder.exe" -Action Allow -Enabled False -Profile Any
1919

2020
#Display current firewall settings
@@ -38,11 +38,11 @@ foreach ($adapter in $adapters)
3838
{
3939
if ($adapter.PhysicalMediaType -like "*802.3")
4040
{
41-
Disable-NetAdapterBinding -name $adapter.Name -ComponentID ms_tcpip6
41+
Enable-NetAdapterBinding -name $adapter.Name -ComponentID ms_tcpip6
4242
}
4343

4444
}
4545
echo "Adapters Enabled, IPv6 Enabled"
4646
#Show Status of Adapters
47-
Get-NetAdapter | Format-List -Property Name,Status,AdminStatus
47+
Get-NetAdapter | Format-List -Property Name,Status,AdminStatus,HardwareInterface
4848

0 commit comments

Comments
 (0)