YazFi YazFi - no internet on secondary wan

amplatfus

Senior Member
Hi,

While on secondary WAN, YazFi clients are offline. On primary WAN all are fine.
I am looking to find the root cause.
Could you please help?

Code:
wl01_ENABLED=true
wl01_IPADDR=192.168.2.0
wl01_DHCPSTART=2
wl01_DHCPEND=250
wl01_DNS1=192.168.2.1
wl01_DNS2=192.168.2.1
wl01_FORCEDNS=true
wl01_ALLOWINTERNET=true
wl01_REDIRECTALLTOVPN=false
wl01_VPNCLIENTNUMBER=1
wl01_TWOWAYTOGUEST=false
wl01_ONEWAYTOGUEST=true
wl01_CLIENTISOLATION=true

Thank you,
amplatfus
 
Last edited:

bennor

Senior Member
While on secondary WAN, YazFi clients are offline. On primary WAN all are fine.
Can confirm. No issues with Primary WAN and YazFi. When Primary WAN is offline and Secondary WAN (USB modem device) is enabled YazFi clients do not have internet access; cannot access, ping, etc internet addresses. However if WiFi client is moved to non YazFi main Wifi then they are able to use Secondary WAN to access internet.

@Jack Yaz, any suggestions on scripting in YazFi or a user script to fix when a Secondary WAN is used?

Edit to add: I see the following usb0 entries in the YazFi diagnostic iptables file:
Code:
-A POSTROUTING -o usb0 -j PUPNP
-A POSTROUTING ! -s 192.168.0.125/32 -o usb0 -j MASQUERADE
....
-A FORWARD ! -i br0 -o usb0 -j other2wan
-A FORWARD -i br0 -o br0 -j ACCEPT
....
-A INPUT_PING -i usb0 -p icmp -j DROP
 
Last edited:

amplatfus

Senior Member
Is that typo really there?
Thank you. Only typo in my case. I am fixing it now.
Can confirm. No issues with Primary WAN and YazFi. When Primary WAN is offline and Secondary WAN (USB modem device) is enabled YazFi clients do not have internet access; cannot access, ping, etc internet addresses. However if WiFi client is moved to non YazFi main Wifi then they are able to use Secondary WAN to access internet.

@Jack Yaz, any suggestions on scripting in YazFi or a user script to fix when a Secondary WAN is used?

Edit to add: I see the following usb0 entries in the YazFi diagnostic iptables file:
Code:
-A POSTROUTING -o usb0 -j PUPNP
-A POSTROUTING ! -s 192.168.0.125/32 -o usb0 -j MASQUERADE
....
-A FORWARD ! -i br0 -o usb0 -j other2wan
-A FORWARD -i br0 -o br0 -j ACCEPT
....
-A INPUT_PING -i usb0 -p icmp -j DROP
Thank you for testing and sharing. I didn't find anything yet.


I will update here if I find the magic command :) I would like that you will too :)

Edit1: as an update I discovered that if I do a falover/ and failbak from primary to sedondary (usb modem) the no internet messje persist only while on Secondary WAN during this test.

Kind regards,
amplatfus
 
Last edited:

Sign Up For SNBForums Daily Digest

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