I have a Unielec U4019 and, on OpenWrt, it seems the WAN port is mislabelled on the outside of the device. The swich port labelled WAN is actually LAN1. The LAN4 port is functioning as the WAN port. I want to reverse this so the labels match up, just swap the position of the WAN port over to LAN 1. I have been making some changes to the switch configuration below but have been getting nowhere.
I just want to swap the functionality of the two ports
This is the default in
unielec,u4019-32m) ucidef_set_interfaces_lan_wan "eth0" "eth1" ucidef_add_switch "switch0" \ "0u@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "0u@eth1" "5:wan" ;;