WebSphere brand IBM WebSphere IP Multimedia Subsystem Connector, Version 6.2

Modifying the source port

You can modify the source port used when initiating a connection to the Diameter peer.

About this task
The conx.sourcePort setting is used to force the source port to be a specific, fixed value when initiating a connection to the Diameter peer. This is helpful when configuring firewalls to screen traffic based on source port information.
Note: In case of a clustered installation, repeat these steps for each node in the cluster.
  1. Open Diameter_Rf.properties, Diameter_Ro.properties, and Diameter_Sh.properties in a text editor. The files can be found in the following location:
    • AIXLinuxSolaris was_profile_root/properties/
    Note: was_profile_root is the directory for a WebSphere® Application Server Network Deployment profile called profile_name. By default, this directory is:
    • AIX /usr/IBM/WebSphere/AppServer/profiles/profile_name
    • Linux /opt/IBM/WebSphere/AppServer/profiles/profile_name
    • Solaris /opt/IBM/WebSphere/AppServer/profiles/profile_name

    For example, AppSrv01 in a standalone environment, or Custom01 as the name of a federated node profile in a clustered environment.

  2. Modify the value of conx.sourcePort to change the source port that is used when initiating a connection to a Diameter peer. The default value is 0.

    Valid values are any integer from 1 to 65535 that is not already in use. A value of zero (0) is valid, but configures the connection to be set up with an ephemeral source port chosen by the operating system. An ephemeral source port changes every time the connection is brought up.

  3. Save and close Diameter_Rf.properties, Diameter_Ro.properties, or Diameter_Sh.properties.
  4. Restart Rf accounting Web service, Ro online charging Web service, or Sh subscriber profile Web service.
Example
Example:
con1.sourcePort = 4444



Terms of use
(C) Copyright IBM Corporation 2009. All Rights Reserved.