OpenWrt Forum Archive

Topic: Network Interfaces - What do the colors indicate?

The content of this topic has been archived on 17 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

In Network => Interfaces, and again in Firewall, each element is assigned a color.  It appears that red is for WAN and green for LAN, but there are shades of some of these colors (light red and light green) and other colors (blue, gray, purple that I have seen).  I assume that they have some meaning, but am unable to find info on these.  Is there a list of these and their meanings someplace?

I have just tried to configure a Guest interface using the recipe and the interface is a different green (from LAN) but not purple as indicated in the wiki.  https://wiki.openwrt.org/doc/recipes/gu … binterface

I was wondering about that too recently, I don't currently have a guest interface, but when I did it was tan instead of the purple in the wiki, might have to make one again just to see if the color changes.

LAN and WAN zones have defined colors. Other firewall zones have random colors (actually based on the zone name). And interfaces show the color of the zone.

https://github.com/openwrt/luci/blob/ma … l.lua#L459

(The function puts a hash of the zone name as the seed for random, so the color for zone XXX will always be the same)

(Last edited by hnyman on 5 Oct 2016, 21:37)

hnyman wrote:

LAN and WAN zones have defined colors. Other firewall zones have random colors (actually based on the zone name). And interfaces show the color of the zone.

https://github.com/openwrt/luci/blob/ma … l.lua#L459

(The function puts a hash of the zone name as the seed for random, so the color for zone XXX will always be the same)


Thanks, good to know.

Thanks for the info.   Not what I was expecting.

The discussion might have continued from here.