5.0 out of 5 based on 240 votes

Bewertung: 5 / 5

Stern aktivStern aktivStern aktivStern aktivStern aktiv


Create this file:


<service id='0033'>
<rule id='0000'>


Restart Firewall Services

esxcli network firewall refresh

To enable persistency after reboot

copy smtp.xml to a place that have persistant storage, then

vi /etc/profile.local (5.1) or vi /etc/rc.local (5.0)


cp /vmfs/volumes/nas03.iscsi/firewall/smtp.xml /etc/vmware/firewall/smtp.xml
esxcli network firewall refresh

replace /vmfs/volumes/nas03.iscsi/firewall/smtp.xml with the storage location

Also upon restart, need to ssh logon to trigger the effect (no idea why it only execute only during ssh logon)