What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

RT-AX88U NAT issues when using USB WAN

trisk

Occasional Visitor
I have an RT-AX88U on 3004.388.8_4. I recently set up a USB adapter with a RTL8152B chip as the WAN interface. I got it to connect with some nvram tweaking (also renamed the interface from eth8 to usb0). Everything works except:
1) The web interface thinks the cable is disconnected.
2) The iptables nat table is empty and port forwarding rules aren't applied. This only affects IPv4. IPv6 seems to be working correctly without any intervention, including the IPv6 firewall rules in ip6tables. I can manually add a -j MASQUERADE target to the POSTROUTING chain and the various NAT rules to get things working again.

Not sure if I missed some configuration in nvram to change the WAN interface or there are some hardcoded things.
Code:
igmp_ifname=usb0
upnp_ifname=usb0
wan0_gw_ifname=usb0
wan0_ifname=usb0
wan0_ifnames=usb0
wan_ifname=usb0
wan_ifnames=usb0 eth0
wan_ifnames_bk=usb0


The logs look normal to me (aside from the missing VUPNP chain which I assume is caused by the same issue):
Code:
May  5 01:12:18 rc_service: udhcpc_wan 11151:notify_rc start_dhcp6c
May  5 01:12:19 custom_script: Running /jffs/scripts/wan-event (args: 0 connected)
May  5 01:12:19 custom_script: Running /jffs/scripts/firewall-start (args: usb0)
May  5 01:12:19 wan: finish adding multi routes
May  5 01:12:19 openvpn-routing: Applying all killswitches
May  5 01:12:19 rc_service: udhcpc_wan 11151:notify_rc stop_ntpd
May  5 01:12:19 rc_service: udhcpc_wan 11151:notify_rc start_ntpd
May  5 01:12:19 rc_service: waitting "stop_ntpd" via udhcpc_wan ...
May  5 01:12:20 ntpd: Started ntpd
May  5 01:12:21 rc_service: service 15525:notify_rc firewall-restart
Jan 31 17:34:06 ntpd: Initial clock set
Jan 31 17:34:06 rc_service: ntpd_synced 15936:notify_rc restart_diskmon
Jan 31 17:34:06 disk_monitor: Finish
Jan 31 17:34:06 disk_monitor: be idle
Jan 31 17:34:07 wait_ntp_repeat: wait for ntp_ready...4
Jan 31 17:34:07 custom_script: Running /jffs/scripts/ipsec.postconf (args: /etc/ipsec.conf)
Jan 31 17:34:07 custom_script: Running /jffs/scripts/strongswan.postconf (args: /etc/strongswan.conf)
Jan 31 17:34:11 rc_service: service 17634:notify_rc firewall_restart
Jan 31 17:34:13 dhcp6_client: WAN Prefix Size Requested:/60, Received:/60
Jan 31 17:34:13 dhcp6_client: bound address 2001:558:6017:9f:dcf0:ed54:xxxx:xxxx/128, prefix 2601:195:xxxx:xxxx::/64
Jan 31 17:34:13 rc_service: dhcp6c 15096:notify_rc restart_upnp
Jan 31 17:34:13 miniupnpd[13410]: shutting down MiniUPnPd
Jan 31 17:34:13 miniupnpd[13410]: chain VUPNP not found
Jan 31 17:34:16 rc_service: udhcpc_wan 11151:notify_rc start_dnsmasq
Jan 31 17:34:16 rc_service: waitting "restart_upnp" via  ...
Jan 31 17:34:16 rc_service: service 17677:notify_rc restart_firewall
Jan 31 17:34:16 rc_service: waitting "restart_upnp" via  ...
Jan 31 17:34:18 miniupnpd[17702]: HTTP listening on port 47914
Jan 31 17:34:18 miniupnpd[17702]: Listening for NAT-PMP/PCP traffic on port 5351
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top