OpenWrt on VirtualBox - Create One or More Virtual Sub-Nets

preview_player
Показать описание
This video aims to bring together all the pieces of the puzzle - Firewall, SSH, Internet and multiple sub-nets if desired. I will try to demonstrate in the simplest possible terms how things are connected and what makes them work.

Commands used in this video can be copy / pasted below in your project:

* set PATH=%PATH%;"C:\Program Files\Oracle\VirtualBox"
* uci commit dropbear
* /etc/init.d/dropbear reload
* uci commit && reboot

Table Of Contents
00:00 Introduction
00:43 Add A 2nd VirtualBox "Host Network" on .60 subnet
02:08 Create OpenWRT VM - Includes Creation of OpenWRT VDI
07:32 Setup OpenWRT VM Network Settings Tabs
10:33 Start Your New OpenWRT Router
13:20 Change the default port 22 of OpenWRT to another using OpenWRT's "dropbear" instead of Openssh
14:08 Edit the firewall to Allow-ssh on above decided port number
15:05 SSH Into OpenWRT
15:50 Review Network Adapters From SSH environment
16:16 Comment Out Wan6 (dhcpv6)
17:08 Open Browser UI of OpenWRT at 192.168.60.1
17:27 Add New Router Interface Eth2 (which corresponds with VirtualBox 3rd Network Tab)
18:34 Create The Subnet Your Router Will Be Providing
19:32 Enable DHCP Server Of Your New Router
20:17 Verify New Network Interface From Command Line
21:15 Enable Internet On New Router Via Firewall Creation
23:15 Completed! New Router Ready To Use
Рекомендации по теме
Комментарии
Автор

la mejor explicacion para cualquier idioma BRAVO!!!

nonokabuto
Автор

Hi. Thanks for the video and your clear explanation. I followed the instruction but I have a problem in connecting the WiFi adaptor to the OpenWrt. I have a PC which I want to use it as a router with one embedded LAN port, two additional PCI LAN ports and one WiFi 6E adaptor (Tenda E33). As the driver for Tenda E33 is only available for Windows 11, i installed VitrualBox on Windows 11 and by your instruction I installed OpenWrt. Is it possible to somehow introduce the WiFi adaptor to the OpenWrt and be able to create wireless access point?

MohammadBahraami
Автор

Hi, thanks a lot for great explanation. It really helped me to setup my virtual router. It would be great to have some video explanation how to force traffic from host OS through virtual router in future😅. I spent a week already trying to forward my Mac's (host OS) internet traffic through virtual OpenWRT router, but still no luck. Meanwhile, external attached devices work perfectly.

Денис-тмя