depicus

changing the digital world one bit at a time...

Blants (noun) the rants of a blogger

Add outbound port 25 for SMTP in VMware ESXi v5

August 6, 2013 by The Man

If you use the great backup script from ghettoVCB you have an option to email the logs. However the port is not open on the ESX firewall so

1. Create a text doc called smtp.xml and add the following.


  
    SMTP_Outbound
    
      outbound
      tcp
      dst
      25
    
    true
    false
  

2. Upload this file to /etc/vmware/firewall/

3. Run esxcli network firewall refresh on the ESX device.

All done