Most of the 4G mobile routers obtain a private IP address from the mobile carrier, which creates hassles for gaming devices. To solve the NAT layer issue, we can create a specific DMZ zone on the 4G router’s firewall for gaming devices.
Firstly locates the local IP address using by the gaming device. Access the router admin, and go to “Network > DHCP And DNS”. Scroll down to the section of “Active DHCP Leases”. Find the local IP using by the gaming device. For example, 192.168.30.139.
Add DMZ on Web Interface
Access to the router, go to “Network > Firewall > Tab of “Port Forwards”. Scroll down to “New port forward” and add:
- Name: DMZ
- Protocol: Choose TCP-UDP
- External zone: wan
- External Port: leave empty!
- Internal zone: lan
- Internal IP address: choose IP of the host, such as Xbox
- Internal port: leave empty!
Click “Add” on the right side, and click the button “Save & Apply” on the bottom right corner. Then disconnect Xbox from the router and re-connect.
Edit DMZ with VI editor on SSH Terminal
- Use the below command to open the configure file.
- Find a free line, and hit “Insert” on the keyboard to edit the configure file.
Note: On a Mac computer, use Fn+i or Fn+Command+Return to insert a new line.
- Add the below scripts on the free line.
option src ‘wan’
option proto ‘all’
option dest_ip ‘192.168.30.139’
option name ‘DMZ’
option dest ‘lan’
option target ‘DNAT’
- Hit “ESC” on the keyboard to stop editing
- Input “:wq” to save the configuration file and quit the VI editor.
- Reboot the firewall with the below command