Enabling NAT and Routing in DGW
Enabling NAT and Routing in DGW
DGW 46.2.2239
2020-09-16
Table of Contents
Copyright Notice 13
Available Documentation 14
Enabling NAT and Routing in Dgw 3
IMPORTANT: If you are not familiar with the meaning of the fields and buttons, click Show Help,
located at the upper right corner of the Web page. When activated, the fields and buttons that offer
online help will change to green and if you hover over them, the description will be displayed.
IMPORTANT: The Mediatrix unit must be reinitialised to its factory default settings to make sure
the configuration can be successfully executed.
media5corp.com
Enabling NAT and Routing in Dgw 4
media5corp.com
Enabling NAT and Routing in Dgw 5
The routing-related services allow the Mediatrix unit to basically act as a router, a DHCP server, and
a firewall. This means that you can now connect a PC, a switch, or any other Ethernet device in the
LAN port of the Mediatrix unit and have access to services available on the WAN. In the following
example, the Mediatrix unit is acting as a router and a DHCP server for end-users on the network.
Note: You may not be able to log on to the Mediatrix unit Web interface if you are using older
browser versions.
Steps
1) In your Web browser, enter the IP address at which the Web interface of your Mediatrix
unit can be reached.
• If your network has an IPv4 DHCP server, connect the primary Ethernet port of the Mediatrix
unit to the network (ETH1 port), use the provided DHCP server IP address.
• You can also connect your computer to the secondary Ethernet port of the Mediatrix unit
(ETH2), use the 192.168.0.10 IP address. However, the computer must also own an IP address in
the 192.168.0.0/24 network.
media5corp.com
Enabling NAT and Routing in Dgw 6
Note: You can also use public as a username and leave the password field empty; it has the full
administration rights by default.
3) Click Login.
Result
The Information page of the Web interface is displayed.
Related tasks
Starting a Service
media5corp.com
Enabling NAT and Routing in Dgw 7
Result
Next Step
Configuring the Lan1 Network Interface (p.7)
media5corp.com
Enabling NAT and Routing in Dgw 8
5) Click Apply.
Note: Once the changes are applied, the connection with the unit might be lost. You may need to
reconnect to the web page using the new address.
Result
The Lan1 Network Interface will be available in all the lists of the Management Interface where a
Network Interface needs to be selected. For example, in the Local Firewall, and Configuration pages.
Next Step
Configuring the DHCP Server (p.8)
media5corp.com
Enabling NAT and Routing in Dgw 9
Note: It will be the network interface that will provide automatic configuration for other options
(DNS servers, Default Gateway, NTP servers, etc).
Note: If set to Uplink, the NTP/DNS and other parameters will be the ones from the Uplink
interface. If set to Lan1, you will have the option to configure them manually.
Next Step
Configuring the Network Firewall (p.9)
Note: Setting the Default Policy to "Accept" means that all forwarded traffic is accepted. for more
details on network firewalls, refer to the DGW Configuration Guide - Configuring the Network Firewall
published on the Media5 documentation portal at https://documentation.media5corp.com/.
media5corp.com
Enabling NAT and Routing in Dgw 10
Result
Next Step
Configuring the IP Routing (p.10)
Steps
1) Go to Network/IP Routing.
2) In the IP Routing configuration table, set IPv4 Forwarding to Enable.
3) In the Advanced IP Routes table, click on .
4) Set the following parameters:
a) Set Priority Activation to Enable.
b) Leave Source Address field blank.
c) Set Source Link to your Lan Network Interface.
d) Set Forward To Network to Uplink.
5) Click Save & Apply.
media5corp.com
Enabling NAT and Routing in Dgw 11
Result
Next Step
Configuring the NAT Service (p.11)
Next Step
Setting Port Forwarding (p.11)
media5corp.com
Enabling NAT and Routing in Dgw 12
media5corp.com
Enabling NAT and Routing in Dgw 13
Copyright Notice
Copyright © 2020 Media5 Corporation.
media5corp.com
Enabling NAT and Routing in Dgw 14
Available Documentation
For more details, refer to the Mediatrix Documentation published on the Media5 documentation
portal https://documentation.media5corp.com/
media5corp.com