My OpenWrt 18.06 build for ar71xx tiny devices

Tested on my tl-wr740n v4

download

-no ipv6
-no usb
-no pppoe
-no opkg
-luci minimal
-sqm
-upnp

deleted packages:
-ip6tables -kmod-ip6tables -kmod-nf-conntrack6 -kmod-nf-ipt6 -kmod-nf-reject6 -kmod-ppp
-kmod-pppoe -kmod-pppox -kmod-slhc -kmod-usb-core -kmod-usb-ehci -kmod-usb-ledtrig-usbport
-kmod-usb-ohci -kmod-usb2 -libip6tc -logd -odhcp6c -odhcpd-ipv6only
-opkg -ppp -ppp-mod-pppoe

OWRT

Please add a warning that people should not use your build on WAN facing devices. You did remove the firewall after all.

Edit: it seems you don't need the firewall packages to still have a functional firewall. I stand corrected.

1 Like

I'm sorry I just read the iptable=firewall. I upload a new one that already have.

Actually AIUI iptables command line tool is not necessary for OpenWrt firewall configuration to work. OpenWrt fw3 uses the userspace libraries that iptables cli also uses to manipulate the kernel firewall, from what I understand. So the firewall is actually still there in OpenWrt with only luci-app-firewall and not requiring the iptables and iptables6 packages. I wonder oi @jow could confirm?

Correct, neither iptables nor ip6tables is required for firewall to work. However when you remove IPv6 related firewall components you should also embed a custom sysctl snippet disabling IPv6 completely to avoid accidentially exposing WAN to the IPv6 internet.

3 Likes

So there was a firewall in the previous build, as I thought for the first time?

Most likely, at least luci will select luci-app-firewall which will select firewall.

But as jow says you need to add the sysclt snippet since you're removing ipv6.

How much flash memory is available?

Maybe it is good idea to have luci-app-firewall as optional not mandatory package

Cool, interesting contribution @Charger

One thing I wanted to point is the IPv6 is increasingly important and it is difficult not have it in for a modern broadband connection so wanted to find out if you have tried to include it even removing other parts as usb, pppoe and opkg for example and it it then fits in the 4MB of flash.

Another thing I wanted to find out was how stable it was running18.06 in terms of CPU/Memory.
As a comparison I have tried 18.06 and 17.01 on a older WRT160NL also with a 400 Mhz CPU (older), 32MB RAM and 8MB flash and although they boot up and work fine after some time and access to either LuCI or SSH it starts to become very slow until the point of stopping working including for traffic forward. The version which it became stable again for that case was 15.05.

Without PPPoE? : /. How would I use my WR741ND as a router(Only LAN, No wireless)? Another question, what is the use of cpu (400 mhz) in this build?

hi, I need wnr1000v2 vc with pppoe and without firewall or ssh open on wan port.

Available here: