uci set network.lan.proto='static' uci set network.lan.ipaddr='192.168.73.3' uci set network.lan.netmask='255.255.255.0' uci set network.lan.gateway='192.168.73.1' uci set network.lan.dns='192.168.73.1' uci commit network service network restart
路由器 Firewall 放通
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
config zone option name 'wan' option input 'REJECT' option output 'ACCEPT' option forward 'REJECT' option masq '1' option mtu_fix '1' list device 'tun0'
config forwarding option src 'lan' option dest 'wan'
config forwarding option src 'wan' option dest 'lan'