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.
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