Got it

NAT configuration

Created: Apr 30, 2021 10:00:09Latest reply: Aug 14, 2021 16:32:26 364 3 2 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi,

I would like to ask if these syntax are feasible for the NE40E, we are trying to locally attach a caching server in our CGNAT router:

nat instance plant-cable  id 1

 port-range 512 extended-port-range 512 extended-times 1

 service-instance-group plant-cable

 nat address-group plant-cable group-id 1

  section 1 c207.0 mask 27

 nat outbound 3001address-group plant-cable

 nat alg rtsp

 nat alg pptp

 nat alg sip

 nat statistics port-usage enable

 nat statistics session-usage enable

 nat statistics address-pool-usage enable

 nat filter modefull-cone

 #

acl number 3001            

 rule 45 permit ip source xx.xx.20.110 0

 rule 46 permit ip source xx.xx.192.0 0.0.31.255

 rule 47 permit ip source xx.xx.88.0 0.0.3.255

 rule 48 permit ip source v.92.0 0.0.3.255

 #

acl 3004

 rule 0 permit tcp source xx.xx.88.0 0.0.4.255 destination-port eq www

 rule 5 permit tcp source xx.xx.92.0 0.0.4.255 destination-port eq www

 rule 10 permit tcp source xx.xx.192.0 0.0.32.255 destination-port eq www

 #

traffic classifier operator or

 if-match acl 3004

 #

traffic behavior www

 redirectip-nexthop 192.168.69.2

 #

traffic policy pbr

 classifier behavior www precedence 10

 #

interfaceGigabitEthernet1/1/2

 ip address xx.xx.69.1 255.255.255.248

 traffic-policy pbr inbound

 #

Please assist, thanks.


Featured Answers

Recommended answer

Popeye_Wang
Admin Created Apr 30, 2021 10:02:10

Hello,

Most of the configuration is no problem, and after traffic redirects then do nat, all are no problem.

But there is one fault with your configuration. You configured the redirect policy on the traffic outbound interface, which is incorrect.

Usually, we should configure the redirect policy on the traffic inbound interface, so the redirect can take effect.

View more
  • x
  • convention:

All Answers

Hello,

Most of the configuration is no problem, and after traffic redirects then do nat, all are no problem.

But there is one fault with your configuration. You configured the redirect policy on the traffic outbound interface, which is incorrect.

Usually, we should configure the redirect policy on the traffic inbound interface, so the redirect can take effect.

View more
  • x
  • convention:

hemin88
hemin88 Moderator Author Created May 4, 2021 09:30:07

Hi,

May be if you can share your topology, we'll help you better
View more
  • x
  • convention:

andersoncf1
andersoncf1 MVE Author Created Aug 14, 2021 16:32:26

Good answer! Congrats NAT configuration-4086369-1
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.