OpenWRT

run as VM

QEMU NIC

1
use e1000; rtl8139 not detected by default.
2
eth0 -> LAN, eth1 -> WAN, usually.
Copied!

Web UI

firewall

/cgi-bin/luci/admin/network/firewall

iptables

/cgi-bin/luci/admin/status/iptables

SSH key

/cgi-bin/luci/admin/system/admin

view conn list

/cgi-bin/luci/admin/status/realtime/connections

/etc/config/

network

1
config interface 'wan'
2
option ifname 'eth0'
3
option proto 'dhcp'
4
5
config interface 'lan'
6
option type 'bridge'
7
option ifname 'eth1 eth2'
8
option proto 'static'
9
option ipaddr '192.168.99.1'
10
option netmask '255.255.255.0'
11
option ip6assign '60'
12
13
/etc/init.d/network restart
Copied!
H/W Router: wireless interfaces may be added to lan automatically via LUCI, create new for other bridges.

QoS

SQM

nftables

Download

RM2100

Breed

breed -> openwrt initramfs -> /cgi-bin/luci/admin/system/flashops/sysupgrade
Last modified 1yr ago