server nat

nat server Internet_To_DMZ_ietg_TCP_8000 protocol tcp global 20.30.9.84 8000 inside 10.105.192.3 8000

security-policy
rule name Internet_To_DMZ_ietg_TCP_8000
source-zone untrust
destination-zone dmz
destination-address 192.168.192.3 mask 255.255.255.255
service protocol tcp destination-port 8000
action permit

NAT: PAT
nat address-group Internet-Mail-Exchanges
 mode pat
 section 1 59.24.199.10

ip address-set Mail-Exchanges-adds type object
 address 0 192.168.54.21 0                 
 address 1 192.168.54.22 0                 
 address 2 192.168.54.23 0                 
 address 3 192.168.54.24 0                 
#                                

 nat-policy
 rule name Mail-Exchanges-pat
  source-zone trust
  destination-zone untrust
  source-address address-set Mail-Exchanges-adds
  action source-nat Internet-Mail-Exchanges
posted @ 2023-04-11 15:22  Ant·Hanks  阅读(19)  评论(0编辑  收藏  举报