[Feature Request] Add GUI to use a LAN port for WAN

My Flint 2 GL-MT6000 has only two 2.5GbE ports and I would like to use them for my PC and my home server, but there is no GUI option to use one of the 1GbE ports for WAN. I understand that this is easy to fix in LuCI, but I think it would be reasonable for this feature to be added to the “main” GL.iNet GUI. There is already a menu for selecting a WAN port within the main GUI, it just needs the 1GbE ports to be added as valid selections.

2 Likes

Hello,

Thanks for your feedback!
Have submitted this request to the PM team and arrange to evaluate.

1 Like

+1 on that feature in the official interface. In my case it’s AXT1800 and I’m setting up one of LAN interfaces as an extra WAN for a different provider. And yes, I can configure this in luci but I loose some visibility in this case.

Thank you for your input, PM team keeps open the possibility of considering this feature.

Here’re the instructions on how to do this with ssh + luci

2 Likes

Found similar topic and managed to make it working on a second attempt.

On the first one I even got connection status in UI but something was terribly wrong with routing so ended up reseting device.

So far I’ve done the following:

  1. Adjusted my router setup in /usr/share/gl-eth-ports.json:
    "axt1800": {
        "wan": { "port": "eth0", "silk": "WAN" },
        "secondwan": { "name": "lan2", "port": "eth1", "silk": "WAN/LAN2" },
        "lan": [
            { "name": "lan1", "port": "eth2", "silk": "LAN1" }
        ]
    },

  1. Adjusted /etc/config/board_special:
config service 'hardware'
        option secondwan 'eth1'

config switch 'switch'
        option enable '0'

config network 'network'
        option wan 'eth0'
        option lan 'eth1 eth2'

  1. Rebooted router, switched LAN2 to WAN mode in ui.

  2. Adjusted firewall adding secondwan and secondwan6 to wan rules

  3. Added missing options to secondwan in /etc/config/network

  4. Added to kmwan /etc/config/kmwan

  5. Rebooted.

    Multi-WAN doesn’t detect that second connection is actually active while in port management active link is detected. Otherwise it just works, luci also shows all the details.

    I believe the main difference between my previous attempt is secondwan name, I used lwan initially and status worked.

1 Like