Poor Man's Bridge Mode

When you don't have hardware that can do true bridging due to various reasons (many 3G/4G and quite a few DSL or fibre lines don't allow this, especially if there is also VoiP telephone lines involved), you can still do a poor man's bridge mode to have most services that need to be on the Internet facing router to work.
Dynamic DNS services are (currently) an exception to this as the LEDE router will only know the internal IP of the gateway, but not your true public IP given by the ISP. There are command line tools (bind-dig but also others) in LEDE repository that can allow the LEDE router to get the public IP given by the ISP (with the command dig +short myip.opendns.com @resolver1.opendns.com ), but for now the Dynamic DNS package isn't set to use them.

You must configure and enable DMZ feature on the gateway router. DMZ stands for De-Militarized Zone, and means that all traffic that reaches the gateway will be allowed to reach the devices in the DMZ without being blocked by NAT. This is a safe thing to do ONLY if the devices in the DMZ are router/firewalls/servers connected through WAN (or equivalent) ports/interfaces so they are configured to deal with it.
In the following tutorial, the LEDE device will be called “router”, and the other device we are connecting it to will be called “gateway”. I will also assume that you know how to use the LEDE interface (either from SSH or the web interface).

  1. find the gateway device's documentation (manual or online tutorials) to know how to do what will be discussed in the following points. Due to dramatic differences in how the web interfaces of devices of different brands are arranged, I can't say where exactly this feature has been placed in yours.

  2. configure the gateway to be on a subnet that is not the same used in your LAN network
    • Example: the gateway's LAN settings will become
      • IP
      • netmask

  3. turn off WiFi function on your gateway (you can keep DDNS settings on the gateway)

  4. remove all existing port forwarding rules on the gateway. Any port forwarding should be set in the router, later.

  5. in the gateway's settings, enable DMZ feature and put the Router WAN IP address into the DMZ address list
    • In our example, the router WAN IP address is

  6. configure the router LAN
    • The router LAN interface should be
      • IP
      • netmask

  7. the WAN port of your router should be set as a static IP in the same subnet of the gateway
    • Example: the router's WAN interface
      • IP
      • netmask
      • DNS server IP (or your favourite DNS server IP)
      • gateway IP

  8. set any port forwarding you need on the router device

  9. connect an ethernet cable from one of the LAN ports on the gateway to the WAN port of your router

  10. reboot both devices

This tutorial above follows the steps defined by Steven Frosty in FAQ -- LTE -- is Bridge Mode supported

Firewall bridge mode support in OpenWrt is provided by the kmod-br-netfilter module.

The following is an example UCI configuration in a LEDE device configured as detailed above.

root@LEDE:~# uci show network
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2021/07/24 05:38
  • by someothertime