Hi!
I'm running latest Merlin build (3.0.0.4.374.42_0) on my AC-66U and just noticed that my guest network is able to access router web interface, even though it is configured as disable Intranet Access.
Is this broken?
Thanks in advance
Hi!
I'm running latest Merlin build (3.0.0.4.374.42_0) on my AC-66U and just noticed that my guest network is able to access router web interface, even though it is configured as disable Intranet Access.
Is this broken?
Thanks in advance
#!/bin/sh
ifconfig wl0.1 192.168.87.1 netmask 255.255.255.0
ebtables -F FORWARD
ebtables -t broute -I BROUTING -p ipv4 -i wl0.1 -j DROP
ebtables -t broute -I BROUTING -p ipv6 -i wl0.1 -j DROP
ebtables -t broute -I BROUTING -p arp -i wl0.1 -j DROP
iptables -I FORWARD -i wl0.1 -o `nvram get wan0_ifname` -j ACCEPT
iptables -I FORWARD -i br0 -o wl0.1 -m state --state NEW -j DROP
iptables -I FORWARD -i wl0.1 -o br0 -m state --state NEW -j DROP
iptables -I INPUT -i wl0.1 -j DROP
iptables -I INPUT -i wl0.1 -p tcp --dport 53 -m state --state NEW -j ACCEPT
iptables -I INPUT -i wl0.1 -p udp --dport 53 -m state --state NEW -j ACCEPT
iptables -I INPUT -i wl0.1 -p udp --dport 67 -m state --state NEW -j ACCEPT
service restart_dnsmasq
interface=wl0.1
dhcp-range=wl0.1,192.168.87.100,192.168.87.199,255.255.255.0,86400s
dhcp-option=wl0.1,3,192.168.87.1
dhcp-option=wl0.1,6,192.168.87.1,192.168.87.1
iptables -I FORWARD -i wl0.1 -d 192.168.1.101/32 -p tcp --dport 80 -j ACCEPT
iptables -I FORWARD -i br0 -d 192.168.87.123/32 -p tcp --dport 80 -j ACCEPT
Forgot to mention but as bmi says, this worked as expected on a previous build (can't confirm which one though).I have the same problem, on 374.39 it was ok, since .40 this problem appeared. I olso think this is a bug(Intranet Access: Disable/Enable doesn't work), because everybody who is conected to your guest network can access everything on your "main" network without any restriction, even if Intranet Access is set to disable.
Sorry to disagree but from the Guest Network I am even able to browse the share drive I have connected to the router. It's so much more than just the web page that it is accessible from Guest Network.For me this works as expected.
If I'm on the guest WiFi, I'm NOT able to connect to anything on the intranet.
(Only internet access.)
It is possible to connect to the routers web page, but this seems logical because it's the default gateway.
Nothing wrong as I can tell.
This is something that is definitely broken in 374.42 with regards to the Guest Wireless and restricting LAN access.
I tested on my RT-N66U with the Guest Network ssid and not only could I access and connect to the router's Administration interface (using the proper password, of course), but I could also browse all my networked devices (computers, NAS, switches and printers).
With the Access Intranet setting to 'off' - I could see all the devices on my network but could not connect to any of them except for the Router itself (but I have no USB disk connected) and the Administration gui.
With the Access Intranet setting to 'on' - I could see and connect to everything just as I can with my main ssid (this is the expected behavior, of course).
***
(I rebooted the router and the computer between my testing. I changed ssid's to be sure. I also made sure to clear my DNS cache, 'just in case').
This is a very, very serious issue and needs to be addressed immediately.
Just to clarify RMerlin, problem is not reaching the intranet but reaching the router.Works fine on my RT-AC68U. My guest client gets a "host unreachable" when trying to ping my desktop.
Also tested with the RT-AC66U (MIPS), working fine here - netbook gets a host unreachable when trying to ping a laptop connected to the same LAN.
Just to clarify RMerlin, problem is not reaching the intranet but reaching the router.
On a previous version of the firmware it was not possible from Guest Network to access any service in the router (admin page, shared disk, shared printer, any running entware service, etc).
Someone will have to point at a specific firmware version to prove it, because technically, it doesn't make any sense. A guest needs to reach the router to be able to reach the Internet as it's its gateway, so I don't see how the router could prevent access to guest clients while still providing them with Internet access.
I also remember someone complaining about this over a year ago, so I highly doubt it ever behaved differently.
iptables -I INPUT -i wl0.1 -p tcp --dport https -j REJECT
RMerlin, I've just downgraded and confirmed that in 374.40 it WAS working as expected, this behavior changed in 374.41.Someone will have to point at a specific firmware version to prove it, because technically, it doesn't make any sense. A guest needs to reach the router to be able to reach the Internet as it's its gateway, so I don't see how the router could prevent access to guest clients while still providing them with Internet access.
I also remember someone complaining about this over a year ago, so I highly doubt it ever behaved differently.
RMerlin, I've compared iptables, ebtables and brctl configuration between 374.40 and 374.42 (skipped .41 on this test).RMerlin, I've just downgraded and confirmed that in 374.40 it WAS working as expected, this behavior changed in 374.41.
Hope this helps and thanks in advance.
Just to clarify RMerlin, problem is not reaching the intranet but reaching the router.
On a previous version of the firmware it was not possible from Guest Network to access any service in the router (admin page, shared disk, shared printer, any running entware service, etc).
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!