RG520N-EB WAN IP Passthrough

Trying to get wan ip passthrough on RG520N-EB but I’m only getting nat and 192.168.225.x/22 address.

Steps taken:

AT+QCFG="usbnet",3
AT+qmap="ippt_nat",0

Last step:

AT+QMAP="MPDN_rule",0,1,0,3,1

This just give me ERROR, am I understanding this wrong?

I have also tried:

AT+QMAP="MPDN_rule",0,1,0,1,1,"FF:FF:FF:FF:FF:FF"

Same result, gives me ERROR.

Output from configuration:


AT+QMAP="MPDN_rule"
+QMAP: "MPDN_rule",0,1,0,1,1
+QMAP: "MPDN_rule",1,0,0,0,0
+QMAP: "MPDN_rule",2,0,0,0,0
+QMAP: "MPDN_rule",3,0,0,0,0

at+qmap="MPDN_status"
+QMAP: "MPDN_status",0,1,0,1
+QMAP: "MPDN_status",1,0,0,0
+QMAP: "MPDN_status",2,0,0,0
+QMAP: "MPDN_status",3,0,0,0

AT+qmap="ippt_nat"
+QMAP: "IPPT_NAT",0

AT+QCFG="usbnet"
+QCFG: "usbnet",3

at+qmap="wwan" 
+QMAP: "WWAN",1,1,"IPV4","178.xxx.xxx.xxx"
+QMAP: "WWAN",1,1,"IPV6","2a02:aaaa:aaaa:aaaa:aaaa:aaaa:aaaa:aaaa"

As a walk around I have set up this with kind of giving me a similar function, and ports translated:

AT+QMAP="LAN",192.168.225.2
AT+QMAP="DMZ",1,4,192.168.225.2
AT+CFUN=1,1 (reboot)

Seems to work, but giving different mac-addresses sometimes after reboot. This causes the host no give the interface different names. If passthrough isn´t possible, would it be possible to lock RG520 to use samt mac-address every time it’s connected?

I’m not sure if this instruction works for usbnet. I don’t see any way to fix the MAC address for usbnet.
AT+QETH=“MAC_ADDRESS”

1 Like

That command shows me some mac-address of the gateway interface 192.182.225.1, but I think it’s the virtual network interface on LAN-side that changes. At the moment I´m on remote so I will check this in more detail when I´m at the site.

So how about WAN IP passthrough, is that possible or not? This thing with DMZ is more of a walk around.