Let us assume we have an application that uses Port 1060 in the TCP layer and we
want to restrict its use to user profile GERRY. Type the information as shown in
Figure 56.
Figure 57 shows what the display looks like after you enter port information for
both user profiles PAOLO and GERRY.
Changes to the port restrictions take effect immediately. However, applications that
are already active are not affected until they are restarted.
Add TCP/IP Port Restriction (ADDTCPPORT)
Type choices, press Enter.
Range of port values:
Lower value ......... 1060 1-65535
Upper value .........>*ONLY 1-65535, *ONLY
Protocol............ *tcp *UDP, *TCP
User profile.......... gerry Character value
Bottom
F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display
F24=More keys
Figure 56. Add TCP/IP Port Restriction Display
Work with TCP/IP Port Restrictions
System: SYSNAM03
Type options, press Enter.
1=Add 4=Remove
--Port Range--- User
Opt Lower Upper Protocol Profile
_ _____ *ONLY ____ __________
1050 1059 *TCP PAOLO
1060 *ONLY *TCP GERRY
Bottom
F3=Exit F5=Refresh F6=Print list F12=Cancel F17=Top F18=Bottom
Figure 57. Work with TCP/IP Port Restrictions Display
64 OS/400 TCP/IP Configuration and Reference V5R1