Forgot password?
 Register now

Welcome to use this form to feedback your problems with Ruijie Community

The category of your feedback

Your Feedback

Your Email address (optional):

Official
What is the permit-inside feature? Reply

admin

Level 4

What is the permit-inside feature?
5162 1 2017-5-4 18:59:51
Original
What is the permit-inside feature?

0 2017-5-4 19:00:29 View all replies
A server on the intranet is mapped to a public IP address, which is registered in a domain. When a user on the intranet accesses the server by using the domain name, the domain name server (DNS) resolves the server address to the registered public IP address. When the user uses the public IP address to access the server, by default, the router determines that the traffic is normal passing traffic and converts the source IP address.Before the conversion, the router detects that the public IP address and the external network port are on the same network segment, and then sends an ARP request for resolving the MAC address from the public IP address. Because the network segment does not have any terminal configured with the public IP address, the router receives no response to the ARP request. As a result, source IP address conversion fails. The following happens when a user on the intranet accesses the server by using its public IP address: The router without any related NAT entry sends an ARP request only on the external network port,and the user receives no response. To solve this problem, you need to configure the permit-inside feature.

Run the following command to configure the permit-inside feature on the router:
ip nat inside source static tcp 192.168.1.254 23 10.0.0.1 23 permit-inside

Telnet to 10.0.0.1 from 192.168.1.2 on the intranet, and then check whether the following NAT entry exists on the router:
RSR#sh ip nat tran
Pro  Inside global     Inside local             Outside local  Outside global
tcp   10.0.0.1:1046   192.168.1.2:1046   10.0.0.1:23     192.168.1.254:23

After the permit-inside feature is configured, the router converts the source and destination IP addresses of corresponding packets.
  
  
Source IP address
Destination IP address
Before NAT
192.168.1.2:1046
10.0.0.1:23
After NAT
10.0.0.1:1046
192.168.1.254:23

Releated Posts
Product Model

Share this topic to

Cancel

This site contains user submitted content, comments and opinions and is for informational purposes only. Ruijie may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Ruijie can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Ruijie disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Ruijie Community Terms of Use.

More ways to get help: Visit Support Videos, call us via Service Hotline, Facebook or Live Chat.

©2000-2023 Ruijie Networks Co,Ltd