Hello,

I've a problem to get access to the internet from LAN ports 1-4, WLAN can connect to the internet.

My /etc/config/network - configured with X-Wrt's Webif looks like that

config 'switch' 'eth0'
        option 'vlan0' '1 2 3 4 5*'
        option 'vlan1' '0 5*'

config 'interface' 'loopback'
        option 'ifname' 'lo'
        option 'proto' 'static'
        option 'ipaddr' '127.0.0.1'
        option 'netmask' '255.0.0.0'

config 'interface' 'lan'
        option 'ifname' 'wl0 eth0.0'
        option 'proto' 'static'
        option 'ipaddr' '192.168.1.1'
        option 'netmask' '255.255.255.0'
        option 'nat' '1'
        option 'dns' '192.168.1.1'

config 'interface' 'wan'
        option 'ifname' 'eth0.1'
        option 'proto' 'static'
        option 'macaddr' '00:00:00:A0:B0:C0'       <--- this is not original of course...
        option 'ipaddr' '12.34.43.21'                       <--- this is not original of course...
        option 'netmask' '255.255.255.0'
        option 'gateway' '12.34.43.1'                     <--- this is not original of course...
        option 'dns' '12.34.43.211 12.34.43.212'   <--- this is not original of course...

... as you can see, I get my internet connection from the WAN interface (blue plug)

I also checked the iptables settings in /etc/config/firewall.config it shows "forward::192.168.1.1" but if I turn on the firewall logging at webif, I can see that packets are dropped by input and by forward rule... what's wrong here - and why don't get packets from wl0 also get dropped - very strange.

sysctl -a shows that forwarding is enabled for the devices

Thanks for your help, maybe it's already a bit late so that I've overseen a rule?

Michael