Linux Firewall commands

turn on or off firewall

netsh advfirewall set allprofiles state off
netsh advfirewall set allprofiles state on

firewall staus

netsh advfirewall show all

show ports

netstat -ano

Last updated