Technical FAQs
Question |
What is the TCP/UDP port I need to open to access my gateway remotely? I plan to locate my MGate behind a NAT router to use private IP. What should I do? |
Question Type |
Application ,Function ,Installation ,Other ,Programming ,Specifications |
Updated |
9/5/2017 6:03:03 PM |
Hits |
1 |
Products |
MGate MB3180/MGate MB3280/MGate MB3480,MGate MB3170/MGate MB3270 Series,NPort 6110,MGate EIP3170/MGate EIP3270 Series,MGate 4101-MB-PBS Series,MGate 5101-PBM-MN Series,MGate 5102-PBM-PN Series,MGate 5105-MB-EIP Series |
Suggestions
[Description]
Often we receive a call or e-mail from customers requesting information about what port they need to open to access our devices remotely.
[Solution]
If you want to allow MGate to use a private IP behind your NAT/firewall, you should use the NAPT protocol to map the Public IP to the MGate's private IP in your NAT router. Most routers/firewalls support this function.
For example, you configure the MGate's private IP as 192.168.1.1, and the NAT router's public IP is 61.x.x.x. Next, you should map TCP/UDP port numbers.
The following table lists the most common ports needed for different functions on our gateway products:
[NPort 6110] – ModBus Gateway
Protocol
|
Port No.
|
Purpose
|
TCP
|
502
|
ModBus TCP Port
|
UDP
|
4800
|
Broadcast, Get current settings
|
TCP
|
4900
|
Save Settings and Write Firmware
|
TCP
|
8000
|
For Log Monitor
|
[MB3000 series] – ModBus Gateways
Protocol
|
Port No.
|
Purpose
|
TCP
|
23
|
Telnet
|
TCP
|
502
|
ModBus TCP Port
|
TCP
|
4502
|
Packets Monitor
|
TCP
|
7502
|
Default High Priority ModBus TCP Port (Available for MB3x70)
|
UDP
|
4800
|
Broadcast, Get current settings
|
TCP
|
4900
|
Save Settings and Write Firmware
|
[EIP3000 series] – EtherNet/IP to DF1 Gateways
Protocol
|
Port No.
|
Purpose
|
TCP
|
23
|
Telnet
|
UDP
|
161
|
SNMP
|
TCP
|
950~969
|
ProCOM
|
UDP
|
4800
|
Broadcast, Get current settings
|
TCP
|
4900
|
Save Settings and Write Firmware
|
TCP
|
44818
|
Ethernet/IP
|
[MGate 5101 series] – PROFIBUS Master to Modbus TCP Gateways
Protocol
|
Port No.
|
Purpose
|
TCP
|
22
|
Secure Telnet (SSH)
|
TCP
|
23
|
Telnet
|
TCP
|
80
|
Web Console (HTTP)
|
UDP
|
161
|
SNMP
|
TCP
|
443
|
Secure Web Console (SSL)
|
TCP
|
502
|
ModBus TCP Port
|
UDP
|
4800
|
Broadcast, Get current settings
|
TCP
|
4900
|
Save Settings and Write Firmware
|
[MGate 5102 series] – PROFIBUS Master to PROFINET Gateways
Protocol
|
Port No.
|
Purpose
|
TCP
|
22
|
Secure Telnet (SSH)
|
TCP
|
23
|
Telnet
|
TCP
|
80
|
Web Console (HTTP)
|
UDP
|
161
|
SNMP
|
TCP
|
443
|
Secure Web Console (SSL)
|
UDP
|
4800
|
Broadcast, Get current settings
|
TCP
|
4900
|
Save Settings and Write Firmware
|
UDP
|
34964/49153
|
PROFINET
|
TCP
|
>40000
|
|
[MGate 5105 series] – Modbus RTU/ASCII/TCP and EtherNet/IP Gateways
Protocol
|
Port No.
|
Purpose
|
TCP
|
80
|
Web Console (HTTP)
|
UDP
|
161
|
SNMP
|
TCP
|
443
|
Secure Web Console (SSL)
|
UDP
|
4800
|
Broadcast, Get current settings
|
TCP
|
4900
|
Save Settings and Write Firmware
|
TCP
|
44818
|
EtherNet/IP messaging
|
UDP
|
44818
|
EtherNet/IP messaging
|
Related Questions
Provide Feedback