Clients has no internet

hi to everybody. I'm trying to use OpenWRT on a custom board. LTE works fine, but computers connected via cable (ethernet) don't have internet. I've pinged 8 8 8 8 and downloaded via wget on OpenWRT device. here is the output of ifconfig command:

br-lan    Link encap:Ethernet  HWaddr 44:10:94:00:00:AD  
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fd46:3edd:5d1c::1/60 Scope:Global
          inet6 addr: fe80::4610:94ff:fe00:ad/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3839 errors:0 dropped:0 overruns:0 frame:0
          TX packets:238 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:258841 (252.7 KiB)  TX bytes:24136 (23.5 KiB)

eth0      Link encap:Ethernet  HWaddr 44:10:94:00:00:AD  
          inet6 addr: fe80::4610:94ff:fe00:ad/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4186 errors:0 dropped:0 overruns:0 frame:0
          TX packets:983 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:420910 (411.0 KiB)  TX bytes:300987 (293.9 KiB)
          Interrupt:3 

eth0.1    Link encap:Ethernet  HWaddr 44:10:94:00:00:AD  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4184 errors:0 dropped:0 overruns:0 frame:0
          TX packets:159 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:345176 (337.0 KiB)  TX bytes:16502 (16.1 KiB)

eth0.2    Link encap:Ethernet  HWaddr 44:10:94:00:00:AC  
          inet6 addr: fe80::4610:94ff:fe00:ac/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:815 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:277770 (271.2 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:134 errors:0 dropped:0 overruns:0 frame:0
          TX packets:134 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:12194 (11.9 KiB)  TX bytes:12194 (11.9 KiB)

wwan0     Link encap:Ethernet  HWaddr 0A:79:4F:D6:5C:A0  
          inet addr:21.38.120.193  Bcast:21.38.120.195  Mask:255.255.255.252
          inet6 addr: fe80::879:4fff:fed6:5ca0/64 Scope:Link
          UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:543 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3069 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:122947 (120.0 KiB)  TX bytes:207454 (202.5 KiB)
here is content of firewall config file:
config defaults
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'REJECT'
        option synflood_protect '1'

config zone
        option name 'lan'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'ACCEPT'
        option network 'lan'
        option masq '1'

config zone
        option name 'wan'
        option input 'REJECT'
        option output 'ACCEPT'
        option forward 'REJECT'
        option masq '1'
        option mtu_fix '1'
        option network 'wwan'

config forwarding
        option src 'lan'
        option dest 'wan'

config rule
        option src '*'
        option name 'all'
        option dest '*'
        option target 'ACCEPT'
        list proto 'all'
here is content of network config file:
config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd46:3edd:5d1c::/48'

config interface 'lan'
        option ifname 'eth0.1'
        option force_link '1'
        option type 'bridge'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option macaddr '44:10:94:00:00:AD'

config interface 'wan'
        option ifname 'eth0.2'
        option proto 'dhcp'
        option macaddr '44:10:94:00:00:AC'

config interface 'wan6'
        option ifname '@wan'
        option proto 'dhcpv6'

config interface 'wwan'
        option ifname 'wwan0'
        option proto 'qmi'
        option device '/dev/cdc-wdm0'
        option apn 'mtnirancell'

which DNS IPs are shared with the clients through DHCP ?

The wan network is named "wwan0", but in the firewall you have "wwan".

1 Like

I've not checked but I've set 8 8 8 8 on Client.

that's right.
sorry for your time.
(I've tested that but it wanted to make a fool of me here)

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.