Got it

Port mapping for VPN

Created: Jun 20, 2017 19:11:06Latest reply: Oct 23, 2018 03:16:49 13022 2 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi there, everyone!


This post talks about port mapping for VPN. Please see more details below.


ISSUE DESCRIPTION


I have an HG8245H and VPN-server inside local network. I need to connect to VPN-server from internet. HG8245H connected to Internet with fiber. LAN connected with RJ-45 port.


Huawei HG8245H


I map ports 500 and 4500, but VPN does not accept connections from internet. For example, I successfully set up port mapping for other ports (80, 22).


Is there are way to connect to VPN server inside LAN from Internet? Please assist me in solving this port mapping for VPN issue.

Featured Answers

Recommended answer

GongXiaochuan
Created Oct 23, 2018 03:16:49

Hi there!

Port Mapping Configuration

Port mapping indicates that the Intranet server is allowed to be open to the Extranet (for example, the Intranet provides the Extranet with a WWW server or FTP server). Port mapping is used to map the Intranet host IP address and port ID to the Extranet IP address and corresponding port ID so that users from Extranets can access the Intranet server. With port mapping, the users cannot see the Intranet IP address, but they see the Extranet IP address.

Navigation Path

1. In the navigation tree on the left, choose Forward Rules > Port Mapping Configuration. In the pane on the right, click New. In the dialog box that is displayed, set the parameters related to port mapping, as shown in Figure 3-58.

Figure 3-58.  Port Mapping Configuration 
Port mapping for VPN-2783317-1

2. Click Apply.

Configuration example

Enable the packets sent from the WAN side to the ONT whose the destination WAN port number is 2000 to be forwarded to the LAN-side PC whose IP address is 192.168.100.20 and the port number is changed to 3000.

Port mapping for VPN-2783317-2

Parameter description

Table 3-22 describes the parameters related to port mapping.

Table 3-22. Parameters related to port mapping
[tr]Parameter
Description
[/tr]
Enable Port Mapping
Indicates whether to enable port mapping.
Mapping Name
Indicates the name of the port mapping rule.
WAN Name
Indicates the name of the WAN interface where port mapping is enabled.
Internal Host
Indicates the IP address of the host to which the port is mapped.
Protocol
Indicates the protocol type of port mapping packet, which may be TCP, UDP, or TCP/UDP.
Start External Port
Indicates the destination start port of the external data packet.
End External Port
Indicates the destination end port of the external data packet.
Start Internal Port
Indicates the internal destination start port of the port mapping packet.
End Internal Port
Indicates the internal destination end port of the port mapping packet.
Start External Source Port
Indicates the source start port of the external data packet.
End External Source Port
Indicates the source end port of the external data packet.
External Source IP Address
Indicates the source IP address of the external data packet.
View more
  • x
  • convention:

All Answers
@网络管理员Lemon please help
View more
  • x
  • convention:

Hi there!

Port Mapping Configuration

Port mapping indicates that the Intranet server is allowed to be open to the Extranet (for example, the Intranet provides the Extranet with a WWW server or FTP server). Port mapping is used to map the Intranet host IP address and port ID to the Extranet IP address and corresponding port ID so that users from Extranets can access the Intranet server. With port mapping, the users cannot see the Intranet IP address, but they see the Extranet IP address.

Navigation Path

1. In the navigation tree on the left, choose Forward Rules > Port Mapping Configuration. In the pane on the right, click New. In the dialog box that is displayed, set the parameters related to port mapping, as shown in Figure 3-58.

Figure 3-58.  Port Mapping Configuration 
Port mapping for VPN-2783317-1

2. Click Apply.

Configuration example

Enable the packets sent from the WAN side to the ONT whose the destination WAN port number is 2000 to be forwarded to the LAN-side PC whose IP address is 192.168.100.20 and the port number is changed to 3000.

Port mapping for VPN-2783317-2

Parameter description

Table 3-22 describes the parameters related to port mapping.

Table 3-22. Parameters related to port mapping
[tr]Parameter
Description
[/tr]
Enable Port Mapping
Indicates whether to enable port mapping.
Mapping Name
Indicates the name of the port mapping rule.
WAN Name
Indicates the name of the WAN interface where port mapping is enabled.
Internal Host
Indicates the IP address of the host to which the port is mapped.
Protocol
Indicates the protocol type of port mapping packet, which may be TCP, UDP, or TCP/UDP.
Start External Port
Indicates the destination start port of the external data packet.
End External Port
Indicates the destination end port of the external data packet.
Start Internal Port
Indicates the internal destination start port of the port mapping packet.
End Internal Port
Indicates the internal destination end port of the port mapping packet.
Start External Source Port
Indicates the source start port of the external data packet.
End External Source Port
Indicates the source end port of the external data packet.
External Source IP Address
Indicates the source IP address of the external data packet.
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.