As shown in Figure 25-9, a firewall and NAT have been installed on the HiRDB/Single Server side, and they have been configured 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 25-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 WS1
PDCLTRCVPORT 300002
- hosts file
128.1.1.1 hirdb01
- 1 To operate a HiRDB server on Linux, specify PC.
- 2 Specify this when there is a firewall on the client side.