R3303-HP HSR6800 Routers Security Configuration Guide

357
Configure NAT and ALG on the router so that Host A uses 5.5.5.9 as its external IP address, the WINS
server uses 5.5.5.10 as its external IP address, and Host B can access the WINS server and Host A by
using host names.
Figure 120 Network diagram
Configuration procedure
# Configure a static NAT entry.
<Router> system-view
[Router] nat static 192.168.1.3 5.5.5.9
# Enable ALG for NBT.
[Router] alg nbt
# Configure NAT.
[Router] interface gigabitethernet 3/0/1
[Router-GigabitEthernet3/0/1] nat outbound static
# Configure the internal WINS server.
[Router-GigabitEthernet3/0/1] nat server protocol udp global 5.5.5.10 137 inside
192.168.1.2 137
[Router-GigabitEthernet3/0/1] nat server protocol udp global 5.5.5.10 138 inside
192.168.1.2 138
[Router-GigabitEthernet3/0/1] nat server protocol tcp global 5.5.5.10 139 inside
192.168.1.2 139