Here, a firewall and NAT are installed on the HiRDB/Single Server side as shown in the figure, with the two set as follows.
- Firewall settings
- Direction: Receive
- IP address: 172.16.0.10
- Port numbers: 20000, 20001
- NAT address translation
- 128.1.1.1
![[Figure]](figure/zueng012.gif)
172.16.0.10 - Note that HiRDB does not support a function that converts global and local IP addresses as a pair, such as NAPT (IP masquerade). It supports only 1-to-1 conversion.
Figure 23-9 Network configuration example with a firewall and NAT installed on the HiRDB/Single Server side
![[Figure]](figure/zu240900.gif)
In this configuration, configure the high-speed connection facility. The settings for the server and client machines are as follows:
- Server machine settings
- System common definition file
set pd_name_port= 20000
set pd_service_port= 20001
pdunit -x hirdb01 -u unt1
pdstart -t SDS -s sds01 -u unt1
- Client machine settings
- Client environment definition
PDHOST hirdb01
PDNAMEPORT 20000
PDSERVICEGRP sds01
PDSERVICEPORT 20001
PDSRVTYPE PC
PDCLTRCVPORT 30000#
- hosts file
128.1.1.1 hirdb01
- #: Specify this when there is a firewall on the client side.