...hopefully some useful VMware related stuff

Useful firewall commands

15/07/2009 12:07

Some useful firewall commands:

 

esxcfg-firewall -e ntpClient          Open port 123 for the NTP Client to allow synchronization with an external time source

esxcfg-firewall -BlockOutgoing    Block all outgoing ports which have not been explicitly opened, also -BlockIncoming

esxcfg-firewall -AllowIncoming   Allow all incoming ports, also -AllowOutgoing

esxcfg-firewall -e sshClient          Open port 22 for the SSH Client to allow communication with putty and other ssh clients

Search site