You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.
Hi,
I've been playing around with PowerNSX and created a basic VM to VM rule which denies traffic on any service. But what if I want to modify the service and change the action to allow? So for example I want to allow port 80 traffic. I know first I would have to create a variable which I have done:
$svc1 = New-NsxService -name svc1 -Protocol TCP -port 80
Then call my DFW section/rule using:
Get-NsxFirewallSection TestSection | Get-NsxFirewallRule "testrule" |
After that 2nd pipe is where I get stuck and not sure how to set the service and change the action to allow.
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
I've been playing around with PowerNSX and created a basic VM to VM rule which denies traffic on any service. But what if I want to modify the service and change the action to allow? So for example I want to allow port 80 traffic. I know first I would have to create a variable which I have done:
$svc1 = New-NsxService -name svc1 -Protocol TCP -port 80
Then call my DFW section/rule using:
Get-NsxFirewallSection TestSection | Get-NsxFirewallRule "testrule" |
After that 2nd pipe is where I get stuck and not sure how to set the service and change the action to allow.
Thanks
The text was updated successfully, but these errors were encountered: