|
|
|
@ -484,7 +484,7 @@ send_line_to_vm "uci delete network.lan"
|
|
|
|
|
send_line_to_vm "uci set network.lan=interface"
|
|
|
|
|
send_line_to_vm "uci set network.lan.device=eth1"
|
|
|
|
|
send_line_to_vm "uci set network.lan.proto=static"
|
|
|
|
|
send_line_to_vm "uci set network.lan.ipaddr=192.0.2.1"
|
|
|
|
|
send_line_to_vm "uci set network.lan.ipaddr=192.168.2.1"
|
|
|
|
|
send_line_to_vm "uci set network.lan.netmask=255.255.255.0"
|
|
|
|
|
send_line_to_vm "uci set firewall.@zone[1].input='ACCEPT'"
|
|
|
|
|
send_line_to_vm "uci set firewall.@zone[1].forward='ACCEPT'"
|
|
|
|
|