admin avatar

Hyper-V virtual machine deployment soft routing OpenWRT

🕓 by admin

About OpenWRT

OpenWrt is a Linux distribution suitable for embedded devices. Compared with the original firmware, OpenWrt is not a single, static firmware, but provides a writable file system that can add software packages. This allows users to freely choose applications and configurations without being restricted by the device provider, and can use some software packages suitable for certain applications to customize your device.

Open the Hyper-V virtual machine in Windows 10, as shown below

Download the OpenWRT Hyper-V virtual machine image file, or you can download it from the OpenWRT official website.

Then convert it to Hyper-V virtual machine image file,

Hyper-V virtual machine image files can search for the keyword "OpenWRT / LEDE .vhdx"

Start the Hyper-V virtual machine and use the downloaded Hyper-V virtual machine image file

There are a few things to set up and pay attention to here. . . .

  1. Add two network cards, one for the internal network and one for the external network, and both network cards must enable "enable MAC address fraud" as shown below

The external network needs to be bound to the network card of the PC host, as shown below

And need to cancel "Allow operating system to share this network device"

Use the Hyper-V virtual machine image file to install OpenWRT, you also need to set the hard disk size, as shown below

The installation is complete, visit to enter the OpenWRT management background

The OpenWRT management password here is koolshare

But there is a problem, because the IP background of the router at home is also

So there will be conflicts here, there is no way to enter the OpenWRT management background

Solution, go to the OpenWRT system and modify the network configuration file

vi / etc / config / network

Modify the network IP address to, and set the gateway, dns server, etc.,

Now enter to enter OpenWRT management background

💘 相关文章

📝 有偿服务

• 服务器合租380/年
• 服务器配置:2.4G,6核12线程
• nvme raid 1硬盘
• 不提供服务器自主面板
• 适合稳定的个人博客
• 提供备份服务,备份空间自备
• 只提供ipv6地址,搭配cloudflare使用
• 提供想要安装的程序和域名
• 博客必须是和谐健康的
• 博客不能是视频和图片站
• 提供以下付费服务
• 建站,FTP,备份,Linux,Wordpress等建站问题咨询管理
• 加微信:344452500(不闲聊,直接说事)


Based on Golang + fastHTTP + sdb | go1.16.8 Processed in 0ms