masternone
Contributor
Contributor

Edit ESXi 6 firewall via iKVM

Jump to solution

Lost access to the static IP address whitelisted throughout the vSphere Client firewall settings.

I have access to the host with iKVM. Is there a way to edit the firewall rules via the Customize System area?

I've enabled ESXi Shell and SSH. No access with SSH due to the firewall.

VMware ESXi 6.0.0

0 Kudos
1 Solution

Accepted Solutions
junian_dani
Enthusiast
Enthusiast

Hi,

From ESXi Shell, you can still modify firewall ruleset on ESXi host with esxcli command. Please check following VMware KB article for the details.

https://kb.vmware.com/kb/2005284

View solution in original post

0 Kudos
2 Replies
junian_dani
Enthusiast
Enthusiast

Hi,

From ESXi Shell, you can still modify firewall ruleset on ESXi host with esxcli command. Please check following VMware KB article for the details.

https://kb.vmware.com/kb/2005284

0 Kudos
masternone
Contributor
Contributor

Thank you for pointing me in the right direction. Issue solved.

Using ESXi Shell in ESXi 5.x and 6.x (2004746)

About the ESXi 5.x and 6.x firewall (2005284)

esxcli network firewall ruleset rule list -r "vSphereClient"

esxcli network firewall ruleset allowedip remove -r "vSphereClient" -i "123.123.123.123"

esxcli network firewall ruleset allowedip add -r "vSphereClient" -i "123.123.123.124"

Extra info: Altaro - Managing the ESXi firewall

0 Kudos