VMware Cloud Community
fcastill
Contributor
Contributor
Jump to solution

ESX Firewall

Hi,

I want to open some specific ports on the ESX firewall, can someone please tell me how the command/syntax on how to do it?

Thanks!!!

Reply
0 Kudos
1 Solution

Accepted Solutions
oreeh
Immortal
Immortal
Jump to solution

esxcfg-firewall -o 123,tcp,in,"port 123"

would open tcp port 123 for incoming traffic

esxcfg-firewall -o 110,tcp,out,"pop3"

would open TCP 110 (POP3) outgoing

see the manpage for a complete reference

View solution in original post

Reply
0 Kudos
4 Replies
oreeh
Immortal
Immortal
Jump to solution

esxcfg-firewall -o 123,tcp,in,"port 123"

would open tcp port 123 for incoming traffic

esxcfg-firewall -o 110,tcp,out,"pop3"

would open TCP 110 (POP3) outgoing

see the manpage for a complete reference

Reply
0 Kudos
esiebert7625
Immortal
Immortal
Jump to solution

The below guide covers this pretty well. You can do this either with the esxcfg-firewall command or in the VI Client (more limited though) under Configuration, Security Profile. You will probably have to restart the firewall after making the changes, to do this use the command "service firewall restart"

Esxcfg-firewall - http://download3.vmware.com/vmworld/2006/labs2006/vmworld.06.lab05-SECURITY-MANUAL-APPENDIX.pdf

Also see...

B2V Guide to VMware ESX Server3 - http://www.b2v.co.uk/b2vguide2vmware3.htm

Guide to ESX 3 Service Console - http://www.rtfm-ed.eu/docs/vmwdocs/esx3.x-vc2.x-serviceconsole-guide.pdf

-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-

Visit my website:

-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-

Dave_Mishchenko
Immortal
Immortal
Jump to solution

The command is esxcfg-firewall -o -port,tcp|udp,in|out,name

fcastill
Contributor
Contributor
Jump to solution

Thank you very much for your prompt response.

I got it to work Smiley Happy

THANKS!!!!!!!!!

Reply
0 Kudos