openwrt ARM64版,基于Lean最新源码编译,集成55Rplus+ 、passwall,N1等适用.
2.0K
ip link set eth0 promisc on
docker network create -d macvlan --subnet=192.168.1.0/24 --gateway=192.168.1.1 -o parent=eth0 macnet
注意:192.168.1.0/24是你主路由所在的网段,192.168.1.1是网关地址
docker run --restart always -d --network macnet --privileged --name OpenWrt xrbbm/openwrt:latest /sbin/init
docker exec -it OpenWrt /bin/sh
vi /etc/config/network
*config interface 'lan'下的option ipaddr '192.168.1.1'*的192.168.1.1修改成网段未分配的ip,例:192.168.1.2
reboot
访问"修改ipaddr"步骤中的设置的ip
用户:root
默认密码:password
openwrt-armvirt-64-default-rootfs.tar.gz文件上传到*/tmp/openwrt*里面
docker import /tmp/openwrt/openwrt-armvirt-64-default-rootfs.tar.gz xrbbm/openwrt
直接启动即可
Content type
Image
Digest
Size
42.1 MB
Last updated
over 5 years ago
docker pull xrbbm/openwrt