New
#1
Script to add a rule for Routing and Remote Access
- From Firewall I want to add a rule - Routing and Remote Access.
This rule can be added manually, but I want to add it from the command prompt.
I am using Windows 10 Pro 20H2.
To add manualy, open Control Panel -> Windows Defender Firewall -> Advanced Settings ->
-> Inbound Rules or Outbound Rules -> New Rule -> Predefined -> from drop down list choose Routing and Remote Access ->
-> Next -> Check all checkbox
Routing and Remote Access (PPTP-In),
Routing and Remote Access (L2TP-In),
Routing and Remote Access (GRE-In) -> Next... Next - see print screen.
How to add from CMD ?