找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 28527|回复: 330

[openwrt(x86)] 【2022.7.10】X86-64 OpenWrt Docker镜像简易版

 火... [复制链接]
发表于 2021-11-24 18:15 | 显示全部楼层 |阅读模式
本帖最后由 KK2019es 于 2023-9-3 15:34 编辑

X86-64 OpenWrt Docker镜像简易版


更新日志:

     
     2022-07-10 更新为R22.7.7,其他插件常规更新
     2022-05-06 更新为R22.5.5
     2022-04-04 更新为R22.4.1     
     2022-04-01 常规更新   
       2022-03-28 常规更新
     2022-03-18 更新为R22.3.13
     2022-03-04 常规更新
     2022-02-12 更新为R22.2.2
     2022-01-28 更改为在线dockerhub pull 镜像
     2022-01-22 更新为R22.1.1
     2021-12-18 常规更新
     2021-12-10 常规更新
     2021-12-06 常规更新
     2021-11-29 更新为R21.12.1
     2021-11-28 常规源码更新




默认IP:192.168.6.252
默认账号/密码:root/password



楼主基本网络情况:
      MT7621芯片硬路由刷高恪拨号,开dhcp。
      x86_64单网口小主机安装debian11,
          Docker-OpenWrt做旁路由,
          主要跑云游服务。



感谢诸位大大的源码支持。

P3TERX/Actions-OpenWrt (本项目基于此项目):
https://github.com/P3TERX/Actions-OpenWrt
OpenWrt Source Repository:
https://github.com/openwrt/openwrt/
Lean's OpenWrt source:
https://github.com/coolsnowwolf/lede
kenzok8
https://github.com/kenzok8




下有附图,不知怎么回事,我安卓手机APP看不到图。








使用方法:
      

在线拉镜像

docker pull hoisum/openwrt_x86_64




离线上传镜像

edge 浏览器登录portainer后台
import镜像




SSH登录docker宿主

docker network create -d macvlan --subnet=192.168.6.0/24 --gateway=192.168.6.1 -o parent=enp1s0 macnet

docker run -d --name=Op --restart always --privileged --network macnet  --mac-address=xx:25:ee:af:xx:xx hoisum/openwrt_x86_64:r22.1.1_20220122  /sbin/init

以上subnet、 gateway、parent、name、mac-address和hoisum/openwrt_x86_64:r22.1.1_20220122 根据实际情况输入。



回portainer web 后台

点击红圈处,进入exec console




/bin/ash   



nano /etc/config/network



修改OpenWrt lan口IP地址、gateway

config interface 'lan'
        option ifname 'eth0'
        option proto 'static'
        option ipaddr '192.168.6.252'
        option netmask '255.255.255.0'
        option gateway '192.168.6.1'
        option dns '223.5.5.5 180.76.76.76 119.29.29.29'
        option delegate '0'



实时流量监测需要防火墙-自定义规则添加
iptables -t nat -I POSTROUTING -j MASQUERADE



下载地址:


    https://hub.docker.com/u/hoisum






本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
发表于 2021-11-24 18:33 | 显示全部楼层
看上去感觉不错
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-11-24 18:37 | 显示全部楼层
最新版,值得一试。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-11-24 18:51 | 显示全部楼层
支持楼主!!!!!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-11-24 18:58 | 显示全部楼层
爱快不知道能不能运行
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-11-24 19:15 | 显示全部楼层
最新版,值得一试。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-11-24 19:43 | 显示全部楼层
试试看
好不好
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-11-24 21:05 | 显示全部楼层
t精简版Docker镜像
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-11-24 21:13 | 显示全部楼层
看着不错
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-11-24 21:29 | 显示全部楼层
看看格式是否支持
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-11-24 21:29 | 显示全部楼层
看看格式是否支持
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-11-24 22:00 | 显示全部楼层
支持楼主!!!!!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-11-24 23:30 来自手机 | 显示全部楼层
看看   可以不
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-11-24 23:31 | 显示全部楼层
谢谢分享!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-11-25 00:27 | 显示全部楼层
值得使用
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-3-29 19:56

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表