---
title: "How to change TSM port on VMware ESX 4.1"
date: "2013-07-31T07:19:50Z"
tags: ["Backup", "TSM"]
categories: ["VMware"]
---

![Tivoli Storage Manager Logo][1]

Today I had quick task to change firewall port on VMware ESX 4.1 to allow to communicate with TSM on port different from default 1500. In principle you should follow <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1021779" target="_blank">VMware KB</a> which explains in details how to change firewall rules. Unfortunately if you want to  change port 1500 for TSM to custom one you need to do it in other way.
<!--more-->
<!--adsense-->
Login to ESX Service Console and navigate to **/etc/vmware/firewall** and edit **ibmTSM.xml**.

Change port 1500 to custom one:
```xml
<!- Firewall configuration information for IBM TSM ->
<ConfigRoot>
<service>
<id>TSM</id>
<rule id='0000'>
<direction>inbound</direction>
<protocol>tcp</protocol>
<port type='dst'>**CUSTOM PORT**</port>
<flags>-m state -state NEW</flags>
</rule>
<rule id='0001'>
<direction>outbound</direction>
<protocol>tcp</protocol>
<port type='dst'>**CUSTOM PORT**</port>
<flags>-m state -state NEW</flags>
</rule>
</service>
</ConfigRoot>
```
After changing port save file and restart firewall using command **service firewall restart**.



 [1]: /images/uploads/2013/07/Tivoli-Storage-Manager.gif
