Guest Wifi, no access to internet

Remove this line. Reload firewall and try

Hello,
thank you, rule removed but the problem is the same!
No internet!

I try but the problem do not change!

Remove this line too. If you want to use br-lan gateway, put the interface firewall in lan, but that would not make sense for your guest rules. Remove this line from gateway 192.168.50.1 and leave default

network.guest.gateway='192.168.50.1'

and RELOAD NETWORK and TRY

1 Like

Have you followed the correct guide?
In the guide the uplink is via wan interface, but it is evident that you have a dumbAP and the gateway is on the lan interface. There is a separate guide for that.

I have found the correct configuration.
I removed this roule:
network.guest.gateway='192.168.50.1' and set the netmask 192.168.50.255
and changed this:
firewall.guest_dhcp.src_port='68'
in this
firewall.guest_dhcp.src_port='67-68'

and reboot.
The guest have internet!

Thank you all!!!

1 Like

I Am very disappointed!
It worked briefly, after I have the same problem came back....

Remove netmask and leave default. I restarted the network and try

The guide says:

uci set network.guest="interface"
uci set network.guest.proto="static"
uci set network.guest.device="br-guest"
uci set network.guest.ipaddr="192.168.3.1"
uci set network.guest.netmask="255.255.255.0"

But your config says:

network.guest_dev=device
network.guest_dev.type='bridge'
network.guest_dev.name='br-guest'
network.guest=interface
network.guest.proto='static'
network.guest.device='br-guest'
network.guest.netmask='255.255.255.0'
network.guest.ipaddr='192.168.60.1'
network.guest.dns='1.1.1.1' '8.8.8.8'
network.guest.gateway='192.168.50.1'

I would start with a basic working configuration, follow the guide without adding anything unneeded, and make sure it works before adding more changes.

I have used this guide:

# Configure network uci -q delete network.guest_dev uci set network.guest_dev="device" uci set network.guest_dev.type="bridge" uci set network.guest_dev.name="br-guest" uci -q delete network.guest uci set network.guest="interface" uci set network.guest.proto="static" uci set network.guest.device="br-guest" uci set network.guest.ipaddr="192.168.3.1" uci set network.guest.netmask="255.255.255.0" uci commit network /etc/init.d/network restart

Sorry, witch is the correct guide???

I have changed only the IP!
On 162.168.3.1 I have the voip!

There is an extra "gateway" parameter (and I must confess I looked no further).

The internet gateway is: 192.168.50.1
You can see on the list.
network.lan.gateway='192.168.50.1'
and this:
network.guest.gateway='192.168.50.1'
but if this is set or no do not change the result because the guest do not access on internet.

In the pass I usa dd-wrt and I remeber is necessary insert per setup of firewall to permitt the bridging from lan to guest on openwrt this setup where is???

Hello,
this morning I reset the AP to default, and used only the command in this guide.
The guest do not access to internet!

Ok so now I think I got what is the problem, the ap doesn't have a wan network because you are using it as a dumb ap and it is only forwarding data via lan, so the firewall rules don't work because you have specified a wan interface in them to forward data from lan but such network doesn't exist.

Now you have 2 choices

  1. Create a wan network on the dumb ap which will
    then get the forwarded data from the guest
    interface and hence get internet connectivity, this
    could be tested by specifying a dummy wan
    which uses your main router as dhcp gateway.

  2. On your main router create a guest interface and
    then on your ap use the interface of the main
    router as gateway address.

You keep following the wrong guide. There is specific guide for your case.

1 Like

@trendy so would the only change required be from wan here to lan?
Like this
firewall.guest_wan.dest='lan'

Maybe that would be enough, but I cannot tell for sure what else might be mixed. It's better to follow the guide anyway.

1 Like