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!

Beta Asuswrt-Merlin 3006.102.4 Beta is now available

Offline Client List remove button now working for me.
DNS Director works as intended.

Nothing else to report for now, all working fine...
 
So I see both DNAT and REDIRECT. REDIRECT for a client, and DNAT for the Global mode. Intended?
Code:
-A DNSFILTER -m mac --mac-source 4C:03:DE:AD:BE:EF -j REDIRECT
-A DNSFILTER -j DNAT --to-destination 192.168.1.1
I'll have to check, that rule was probably created elsewhere than the code section I adjusted.
 
All good here, thus far (Uptime: 0d16h32m39s). Thank you for your efforts! :)
Check from which git hash you compiled, as it may not be up-to-date with what was actually used in the beta 2 release.
 
And a heads-up for Pi-Hole users that rely on DNS Director to force clients to use the Pi Hole, you need to now add the Pi-Hole IP from LAN DHCP DNS 1 as a "User defined DNS" in DNS Director and set that mode instead of Router.
Can you expand or elaborate on what you posted?

Using two Pi-Holes and so far everything is working fine with DNS Director after updating from Beta1 to Beta2. Didn't make any changes to DNS Director. Have both Pi-Holes listed in DHCP DNS fields #1 and 2, have DNS Director configured to Router mode with both Pi-Hole's listed as Clients with No Redirection, and two Guest Network Pro Profiles configured to use one Pi-Hole in User Defined DNS #1.
 

Attachments

  • Beta2_DNS_Director.jpg
    Beta2_DNS_Director.jpg
    67.3 KB · Views: 86
@pershoot

Question for you.

I am setting up a build environment so I can try to enable a couple of crypto kernel modules for IPSec (will be posting another thread shortly about that). I am following the instructions here, but the PRO models are not listed for the specific model builds in the WiKi yet. Can I bother you for the directory I should be in for the AX86U PRO model?
 
@pershoot

Question for you.

I am setting up a build environment so I can try to enable a couple of crypto kernel modules for IPSec (will be posting another thread shortly about that). I am following the instructions here, but the PRO models are not listed for the specific model builds in the WiKi yet. Can I bother you for the directory I should be in for the AX86U PRO model?
Hi. Sure.
Use this:
release/src-rt-5.04axhnd.675x
Make against: rt-ax86u_pro

You are never a bother! :)
 
Can you expand or elaborate on what you posted?

Using two Pi-Holes and so far everything is working fine with DNS Director after updating from Beta1 to Beta2. Didn't make any changes to DNS Director. Have both Pi-Holes listed in DHCP DNS fields #1 and 2, have DNS Director configured to Router mode with both Pi-Hole's listed as Clients with No Redirection, and two Guest Network Pro Profiles configured to use one Pi-Hole in User Defined DNS #1.
Router mode no longer enforces LAN DHCP DNS 1 like it used to in beta1 and earlier. Router now means "router IP" only. So any client not using Pi-Hole directly from DHCP will be forced to use the router instead of the Pi-Hole IP.

See:
Code:
- CHANGED: Setting DNS Director to "Router" will now always
           redirect to the router's own IP.  Previously it
           would redirect to the first DNS server configured
           on the DHCP page (which defaults to the router
           itself).
           If you need DNS Director to redirect to an IP
           configured in your DHCP settings, use a Custom DNS
           entry in DNS Director.  This makes it more consistant
           with what the name implies, and was also necessary
           for improved Guest Network support.
 
And a heads-up for Pi-Hole users that rely on DNS Director to force clients to use the Pi Hole, you need to now add the Pi-Hole IP from LAN DHCP DNS 1 as a "User defined DNS" in DNS Director and set that mode instead of Router.
I'm using Pi-Hole with unbound. I have DNS Director configured with both Global Redirection and guest network (x2) redirection set to Router. WAN DNS server on the router is set to Pi-Hole IP address — guest network (x2) DNS server set to Default in Network tab, Advanced settings. DNS queries all appear to be going to Pi-Hole.

Am I missing something? Is there a better way to configure?
 
Hi. Sure.
Use this:
release/src-rt-5.04axhnd.675x
Make against: rt-ax86u_pro

You are never a bother! :)
Thanks, don't want to hijack this thread, so I will start a new thread on what I am trying to do.
 
Is there a better way to configure?
To keep the same DNS Director behavior, you can do this:
Code:
nvram set dnsfilter_custom3="$(nvram get lan_dns1_x)"
nvram set dnsfilter_mode=10
nvram commit
service restart_dnsfilter
It uses Custom DNS 3 to store the DHCP DNS 1 server and sets the Global mode to "User Defined 3". I haven't tested this since I don't use a local DNS server.
 
Thanks, don't want to hijack this thread, so I will start a new thread on what I am trying to do.
Yup.
One note, it is ideal (not necessary) to have a fast machine as you could wait a while, if not. I used to build (for RT-AC68U) on an FX-8350 (quite legacy system) and that used to take like an hour if I recall correctly. Perhaps a little less / more. This (RT-AX86U Pro) firmware is bigger. I get this particular build done in sub ~20m on a Ryzen 9900x.
 

Attachments

  • compile3.png
    compile3.png
    350.4 KB · Views: 33
I'll have to check, that rule was probably created elsewhere than the code section I adjusted.
I suppose it doesn’t matter for the global rule, since it will always be the main LAN IP or another DNS service, never an SDN network.
 
Yup.
One note, it is ideal (not necessary) to have a fast machine as you could wait a while, if not. I used to build (for RT-AC68U) on an FX-8350 (quite legacy system) and that used to take like an hour if I recall correctly. Perhaps a little less / more. This (RT-AX86U Pro) firmware is bigger. I get this particular build done in sub ~20m on a Ryzen 9900x.
I suspect it will take a while. I plan on using Hyper-V (or at least try) on a Intel I7-1165G7. Just having a gander through the source code now to figure out where the kernel modules are set (as to include or not in the build).
 
I suspect it will take a while. I plan on using Hyper-V (or at least try) on a Intel I7-1165G7. Just having a gander through the source code now to figure out where the kernel modules are set (as to include or not in the build).
WSL2 (quasi-vm) works A ok. However, I have built inside an explicit hyper-V native VM as well (on the legacy system), but I'm not particularly keen on its use. It will get the job done as well.
 
Router mode no longer enforces LAN DHCP DNS 1 like it used to in beta1 and earlier. Router now means "router IP" only. So any client not using Pi-Hole directly from DHCP will be forced to use the router instead of the Pi-Hole IP.
Thanks for the explanation. Did read the 3006 change log but just wasn't clicking for some reason why Pi-Hole users may want to change Global Redirection from Router to User Defined DNS 1.
 

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