Got it

pc1 cannot connect to pc2, configured as follows

Created: Jun 27, 2019 10:33:52Latest reply: Jun 27, 2019 10:40:47 232 1 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

PC1-FW-PC2

PC-1(10.1.1.2), PC-2(1.1.1.2)
interface GigabitEthernet0/0/1
undo shutdown
ip address 10.1.1.1 255.255.255.0
#
interface GigabitEthernet0/0/2
undo shutdown
ip address 1.1.1.1 255.255.255.0
#
firewall zone trust
set priority 85
add interface GigabitEthernet0/0/1
#
firewall zone untrust
set priority 5
add interface GigabitEthernet0/0/2
#
ip route-static 0.0.0.0 0.0.0.0 1.1.1.254
#
nat address-group addressgroup1 0
mode no-pat global
route enable
section 0 1.1.1.10 1.1.1.15

security-policy  
  rule name policy1 
    source-zone trust
    destination-zone untrust
    source-address 1.1.1.0 24 
    action permit

nat-policy 
  rule name policy_nat1
    source-zone trust
    destination-zone untrust 
    source-address 10.1.1.0 24  
    destination-address 1.1.2.2 24
    action source-nat address-group addressgroup1 
  rule name policy_nat2
    source-zone trust
    destination-zone untrust 
    source-address 10.1.1.0 24 
    destination-address any
    action no-nat
#                                         
return

Featured Answers
dr.wow
Official Created Jun 27, 2019 10:40:47

"security-policy
rule name policy1
source-zone trust
destination-zone untrust
source-address 1.1.1.0 24 ------source-address10.1.1.0 24
action permit "
The source-address of security-policy is wrong, the source address is 10.1.1.0 24. Destination NAT in the NAT policy is processed before the route and security policy. Source NAT in the NAT policy is processed after the route and security policy. Therefore, the source address of the route and security policy is the source address before NAT, and the destination address of the route and security policy is the destination address after NAT. For more, see https://support.huawei.com/hedex/hdx.do?docid=EDOC1100068394&id=sec_admin_nat_0001_2&text=Overview%252520of%252520NAT&lang=en
View more
  • x
  • convention:

All Answers
dr.wow
dr.wow Official Created Jun 27, 2019 10:40:47

"security-policy
rule name policy1
source-zone trust
destination-zone untrust
source-address 1.1.1.0 24 ------source-address10.1.1.0 24
action permit "
The source-address of security-policy is wrong, the source address is 10.1.1.0 24. Destination NAT in the NAT policy is processed before the route and security policy. Source NAT in the NAT policy is processed after the route and security policy. Therefore, the source address of the route and security policy is the source address before NAT, and the destination address of the route and security policy is the destination address after NAT. For more, see https://support.huawei.com/hedex/hdx.do?docid=EDOC1100068394&id=sec_admin_nat_0001_2&text=Overview%252520of%252520NAT&lang=en
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.