deck_firewallcli Flashcards

2
Q

List services controlled by firewall

A

esxcfg-firewall -s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

List the firewall rules

A

esxcfg-firewall -q

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Enable a service in the firewall

A

esxcfg-firewall -e {service name}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Disable a service in firewall

A

esxcfg-firewall -d {service name}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Open a port in the firewall

A

esxcfg-firewall -o {port, ip protocol, direction, port name}Port name is optional

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Close a port in the firewall

A

esxcfg-firewall -c {port number, ip protocol, direction, port name}Port name is optional

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

List firewall rules for incoming ports

A

esxcfg-firewall -q incoming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Block all nom-required outgoing firewall ports

A

esxcfg-firewall –blockOutgoing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Allow all incoming port traffic

A

esxcfg-firewall –allowIncoming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Reset firewall rules to the defaults

A

esxcfg-firewall -r

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

List known firewall services

A

esxcfg-firewall -s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Step to enable newly modified firewall rules

A

/etc/init.d/mgmt-vmware restart

How well did you know this?
1
Not at all
2
3
4
5
Perfectly