Tutorial on installing Openwrt bypass router on QNAP NAS

  Hello everyone, I haven’t messed with NAS for a while. I recently bought a TS-464C2 from QNAP. I usually use it to store data and so on. It feels a bit wasteful. QNAP happens to have its own virtual machine software, so I can just use it. Wouldn't it be nice to install a soft road system?
 
First let’s talk about the configuration of this machine. QNAP TS-464C2 uses the N5095 four-core four-thread processor and 8GB of expandable memory. In terms of interfaces, there is an HDMI interface that supports 4K output, a USB2.0 and USB3.2, and dual 2.5G network ports that support link aggregation. The interfaces are very rich for a NAS.
 
  This tutorial mainly teaches you how to use a virtual machine to install the Openwrt soft routing system on QNAP NAS. Due to the powerful performance of QNAP NAS, it will not affect the overall performance of the NAS too much, so it is more than enough to run the Openwrt soft routing system.

Installation steps:
1. First, install the Virtualization station virtual machine software in Appcenter.
 
2. Prepare the firmware of the Openwrt soft router. The virtual machines here generally have firmware ending with .vmdk. For the convenience of use, I have converted it for you. It can be downloaded and used directly.
https://www.123pan.com/s/HEl8Vv-PMiHh

3. Upload the downloaded Openwrt firmware to any folder on the NAS, and use the virtual machine to directly read the vmdk file to install it.

4. Once the files are ready, you can start the installation. Open the QNAP Virtualization station virtual machine software and select Import->Image Converter in the upper right corner. 5. Select the .vmdk image you just
 
uploaded, and then choose to store it in a custom folder.
 
6. Next click Create Virtual Machine
 
7. First fill in the name of the virtual machine, then select the operating system: Linux, version: Ubuntu15.10, select the existing image here for the disk location, and select the file you just converted. 8.
 
All configurations are completed After that, click OK
 
9. Next enter the virtual machine settings, select SATA in the storage space-interface, and click Apply
 
10. After the settings are completed, click the power button to start
 
11. Click the preview interface to enter the console
 
12. Wait patiently The Openwrt soft routing system starts. When the interface is still, press the Enter key to bring up the console
 
 
13. Next, we set the IP address of the Openwrt bypass router and enter the command, vi etc/config/network (#note the space)  


14. Find the option ipaddr column, press i to edit, and change it to any IP in the same network segment as the main route. My network segment here is 192.168.10.xx, so change it to 192.168.10.100
 
15 .After modification, press the Esc key to exit the editing mode, then press Shift+: to wake up the last line mode, then enter the wq command to save and exit file editing, and continue to enter the command reboot to restart: 16. After setting the ip, pass the ip just
 
set You can access the bypass router by entering the address. The default password is password.
 

17. Next, it can be used normally after simple settings. Open the network-interface and modify the LAN interface.
 
18. Set the IPv4 gateway as the gateway for the main route. In my case, it is 192.168.10.254. The custom DNS server is modified to 114.114. 114.114 is enough.
 
19. Turn off the DHCP function and the DHCP function of IPV6 at the bottom. After setting, save the application.
 
 
20. Next, test the network status. If data is returned, it means that the network is normal. At this point, everything has been configured. China Unicom's Openwrt acts as a bypass router to access the network segment of the original main router and works together with the main router. The principle is that when a computer or mobile phone needs to use some functions of Openwrt, you only need to set the bypass route as the "default gateway", and the network data will be transferred through the bypass route 192.168.10.100, realizing various Openwrt functions. Next, you can Have fun playing!

Finally, taking a look at the occupancy situation, there is no pressure to run the Openwrt soft routing system.


 

Guess you like

Origin blog.csdn.net/u012514495/article/details/132963897