天天看点

VMware 安装 OpenWrt 旁路由并配置 PassWall

1、准备 OpenWrt 镜像包

我已经转好了 vmdk 格式的,更多的可以去恩山论坛下载

OpenWrtvmdk格式-虚拟化文档类资源-CSDN下载

也可以在这个平台在线定制 OpenWrt固件下载与在线定制编译 

2、网络选择 NAT 模式

VMware 安装 OpenWrt 旁路由并配置 PassWall
VMware 安装 OpenWrt 旁路由并配置 PassWall

3、创建虚拟机,选择自定义方式

VMware 安装 OpenWrt 旁路由并配置 PassWall

4、一直下一步至

VMware 安装 OpenWrt 旁路由并配置 PassWall

5、一直下一步至,这里选择 NAT 方式

VMware 安装 OpenWrt 旁路由并配置 PassWall

6、一直下一步至,这里选择 "使用现在虚拟磁盘",选择vmdk格式的

VMware 安装 OpenWrt 旁路由并配置 PassWall
VMware 安装 OpenWrt 旁路由并配置 PassWall
VMware 安装 OpenWrt 旁路由并配置 PassWall

7、启动系统,密码默认为空,修改网卡地址

vim /etc/config/network

# 修改 ip, 网关,DNS
config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr '192.168.26.120'
        option netmask '255.255.255.0'
        option ip6assign '64'
        option gateway '192.168.26.2'
        list dns '114.114.114.114'
           

8、重启网络

/etc/init.d/network restart
           

9、进入系统,默认为空

VMware 安装 OpenWrt 旁路由并配置 PassWall

10、设置 PassWall

切换节点订阅,拉下最下面,点击 “添加”,然后保存并应用

(1)这里的 订阅URL 要找专业服务商购买

VMware 安装 OpenWrt 旁路由并配置 PassWall

(2)点击手动订阅,查看所有节点

VMware 安装 OpenWrt 旁路由并配置 PassWall

(3)成功显示所有可用节点

VMware 安装 OpenWrt 旁路由并配置 PassWall

(4)切换基本设置,选择一个节点,点击勾选 主开关,保存成功

VMware 安装 OpenWrt 旁路由并配置 PassWall

11、VMware 在创建一台 window10 虚拟机

修改window10 测试机IP跟网关,网关就是 openwrt 的IP地址

VMware 安装 OpenWrt 旁路由并配置 PassWall

12、试下能不能访问 google

VMware 安装 OpenWrt 旁路由并配置 PassWall

继续阅读