subscribe to our Youtube


13310 questions

15799 answers


50175 members

0 votes
145 views 1 comments
Hello dear forum members,

I've been struggling my way in finding how to configure my RUTX12 device to performed sNAT for two different LAN hosts where each one of them will leave the router with different WAN IP.

My router has two WAN (MOD) interfaces connected to different LTE network providers.

Is it even possible to do through the WEB-GUI interface? - I didn't find such an option

Is it maybe possible to do through the custom firewall rules section?

Thanks in advance


Firmware version: RUTX_R_00.07.01.4

Kernel version: 5.4.147

1 Answer

+1 vote


In this case I'd recommend using advanced static routing option. The default firewall rules will apply to both mobile interfaces (masquerading included) but after defining static route, the router will lookup the incoming (source) IP address as well as destination address in the packet header - if it matches the routing rule then the packet will be processed accordingly. 

We have a guide on our wiki page describing and showing the process of how to configure the all of the required rules. Please refer to it here:

A couple of notes I'd like to highlight:

  • I would recommend configuring static IP address on the end-device or, even better, a static LAN IP lease bound to end-device MAC address. This way the routing rule will always point to the correct device and no other device would get the specified IP address assigned.
  • When configuring the routing rule priority, it's recommended to keep it as low as 1. This is because routing rules are processed from lowest to highest priority.
  • It's strongly recommended to configure this rule locally and not remotely unless it is known that the rule will function as intended.

Let me know if this works for you.

Best regards,


Best answer

Thanks a lot, this article has helped me in getting what I needed.