Information Technology Reference
In-Depth Information
6. Open the i rewall coni guration i le with a text editor; in this example Vi is used:
vi /etc/vmware/firewall/service.xml
7. As per Figure 8.5, add a service following the same syntax as those that already exist in
the i le:
<service id='0101'>
<id>lab.local</id>
<rule id='0000'>
<direction>inbound</direction>
<protocol>udp</protocol>
<porttype>dst</porttype>
<port>1337</port>
</rule>
<rule id='0001'>
<direction>outbound</direction>
<protocol>udp</protocol>
<porttype>src</porttype>
<port>1337</port>
</rule>
<enabled>true</enabled>
<required>false</required>
</service>
Figure 8.5
Adding the cor-
rect XML to the
services.xml
fi le allows you to
customize the ESXi
host fi rewall ports.
Search WWH ::




Custom Search