What's new

DSL-AX82U-AX5400 Full-cone NAT

  • 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!

TrebleTA

Senior Member
So I've noticed that my DSL-AX82U-AX5400 under WAN Internet settings I can not select Nat type.

So I think I can enable by typing in SSH
Code:
nvram set nat_type=1
nvram commit
Reboot rooter.

And to revert back its
Code:
nvram set nat_type=0
nvram commit
Reboot router.

Is that correct also how would I test it's working?
 
If you want to do serious testing, you need to have servers that actively send UDP and TCP requests to your LAN.

But there are some simple but possibly unreliable ways out there, and here's an Android app that claims to do this kind of testing: https://play.google.com/store/apps/details?id=md.tabuci.stunclient


This is a browser-based test page, but reliability may be further reduced by browser security policies: https://tomchen.github.io/symmetric-nat-test/


Note that including this setting in nvram does not mean that your router supports it, many routers share the same nvram variables, but some variables are only valid on a specific router, especially the NAT type, it needs both hardware and software support to be valid, If you can't see it in your GUI, it usually means it probably won't work for you.

Good luck.
 
Last edited:
I'm told it is by asus, but they are slow to reply. Is there a way to check, what the setting is in nvram is and to test as you say?
Also are the codes above correct?
 
Yes, the nat_type variable is used to adjust the NAT type, 0 for Symmetric and 1 for Full-cone on supported models.


I just tested with the latest version of Firefox on my laptop and the site correctly reported the NAT type after I changed the AC86U setting.

symmetric.png

full-cone.png
 
Last edited:
No, there are 4 NAT types out there, sadly the site can only report two.

They refer to Full Cone NAT, (Address-)Restricted Cone NAT, and Port-Restricted Cone NAT as Normal NAT.
So you are not sure if you are Full Cone NAT


Also you can try the app, it might report four different types of NAT.


I recommend restarting the router after changing this nvram.
 
I havent had time to test but last I entered nvram to full-cone and it showed normal, so guess it ment I'm under a full-cone.

Shame I need to reboot was thinking nvram commit was like apply. Am new to nvram setting(ssh), so still learning
 
...there are 4 NAT types out there...
This is technically incorrect. RFC3489 defined 4 NAT types but that is now obsolete and has been replaced by RFC5389. The use of "NAT types" is now depreciated.

Furthermore, classic STUN's algorithm for classification of NAT types was found to be faulty, as many NATs did not fit cleanly into the types defined there.
 
This is technically incorrect. RFC3489 defined 4 NAT types but that is now obsolete and has been replaced by RFC5389. The use of "NAT types" is now depreciated.

So that mean swaping to full-cone nat is the older nat type, kind of lost nowo_O
 
A old post but, how do I check what the NVram value is, the above will change the setting but I want to view what it is by default?
Worked it out Nvram get nat_type
 
Last edited:

Similar threads

Sign Up For SNBForums Daily Digest

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