How to build a virtual home network with OpenWrt in Virtualbox

Ғылым және технология

MANY THANKS TO ALL MY PATRONS on / onemarcfifty !!!
Please visit my channel page: / onemarcfifty
Want to talk to me? Join my Discord Server: / discord
Using Virtualbox we build a virtual home network with two OpenWrt Routers, a Linux VM and a Windows VM and a LAN and a WAN. You can use this to try out all of the stuff that I have presented in my network videos.
00:00 (tell) Setting the scene, content
00:37 (intro) OneMarcFifty - the place for digital DIY
00:46 (tell) describing the solution
01:53 (show) Installing Virtualbox in Windows
03:45 (show) Installing Virtualbox in Linux
08:40 (tell) enable vt-x in Bios
09:20 (show) configure the LAN in Virtualbox
10:54 (tell) build the 1st router
11:14 (show) Installing the 1st OpenWrt Router
21:07 (tell) Installing 2nd router in LAN
21:47 (show) Installing 2nd OpenWrt Router
27:10 (tell) Adding additional images
28:40 (show) Adding images and setting LAN network
29:35 (tell) Taking Snapshots and reverting
How to test scenarios from other videos
Home VPN with Wireguard
VPN Service / Wireguard VPS
31:33 (show) bridging Ethernet and Wi-Fi into Virtualbox
33:16 (tell) conclusion, call to action, wrap up
Links in the video:
Virtualization settings Bios : www.isumsoft.com/computer/ena...
VirtualBox download: www.virtualbox.org/wiki/Downl...
OpenWrt image: downloads.openwrt.org/release...
Ubuntu: releases.ubuntu.com/20.04.1/u...
Debian: cdimage.debian.org/debian-cd/...
Windows 10: www.microsoft.com/de-de/softw...
Related videos:
Wireguard VPN for home network access on OpenWrt: • VPN for your Home Netw...
Wireguard VPN on a linux VPS: • How to make your own V...
VPN bonding part 1: • Double Internet Speed ...
VPN bonding part 2: • Combining two internet...
Chat with Marc on Discord - • Video
Building a home network on a budget: • HOME NETWORK on a BUDGET
Marc on Twitter: / onemarcfifty
Marc on Facebook: / onemarcfifty
Marc on Reddit: / onemarcfifty
Chat with me on Discord: / discord
Licence-free music on / Lizenzfreie Musik von www.terrasound.de/lizenzfreie...
Acknowledgement: The Linux penguin ("tux") is based on an initial suggestion on the linux-kernel mailing list by Alan Cox. The design is by lewing@isc.tamu.edu - many thanks !!!

Пікірлер: 185

  • @OneMarcFifty
    @OneMarcFifty3 жыл бұрын

    Please visit my channel page: kzread.info/dron/G5Ph9Mm6UEQLJJ-kGIC2AQ.html Want to talk to me? Join my Discord Server: discord.com/invite/DXnfBUG Chaps, if you are having issues with building the environment etc, please join me on discord - see details in this video kzread.info/dash/bejne/iKOppaStYbG6mto.html and we can troubleshoot it LIFE!!!

  • @TheClembo
    @TheClembo3 жыл бұрын

    Loved this very interesting video, thank you. The new format would work for me. I could listen and watch you all day! Many other channels could benefit from your approach to sharing your profound knowledge. Cheers from the UK.

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Cheers mate, very kind of you !

  • @JOHNWALLACEDRUMMER
    @JOHNWALLACEDRUMMER2 жыл бұрын

    Thank you so much for this! Been struggling with this for weeks, if only I found your video sooner! Subscribed as your content looks great, thanks :)

  • @JOHNWALLACEDRUMMER

    @JOHNWALLACEDRUMMER

    2 жыл бұрын

    I also found the format most helpful :)

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Hi John, many thanks for the feedback and many thanks for subscribing ;-)

  • @ArjunSingh-en9mw
    @ArjunSingh-en9mw2 жыл бұрын

    I came to your channel and now realise I missed a great channel if I found it a year back it would be a great knowledge in my skill portfolio. You are doing a great job, thank you.

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Many thanks ! You found it - that's what counts ;-)

  • @kachahaan1660
    @kachahaan16603 жыл бұрын

    Clear and simple explained. Perfect. Gut gemacht !!!

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Glad you liked it! Many thanks!

  • @verbrante
    @verbrante3 жыл бұрын

    Just discovered your channel yesterday, it took you half a video to make me subscribe... excelent job.

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Amazing, many thanks !!!

  • @jojobott1
    @jojobott13 жыл бұрын

    Wow. Great Presentation. I was able to get both routers up and running with Ubuntu Server, Win10 and Ubuntu Desktop as clients on this network. Thanks for this video!!

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Many thanks for your feedback and for sharing! I am glad it worked ;-)

  • @VladimirPaliy
    @VladimirPaliy2 жыл бұрын

    Great! Great! Great! Many thanks for such a valuable content and the way you explain it. Shocked and hunger for more!

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Cool, glad you liked it - and thanks for the feedback !

  • @tonybell1597
    @tonybell15973 жыл бұрын

    Found your channel today, excellent content! Tell, show, tell is a tried and tested presentation technique, so that gets my vote (subscribed..)

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Hi Tony, yes - I do agree - it does work extremely well in presales (even though I am not selling anything here...) - Many thanks for your feedback!

  • @chrisgsauce
    @chrisgsauce2 жыл бұрын

    This is a great video - I'm studying security and was looking for a way to sandbox in a virtual lab. Perfect! Thanks :)

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Thank you very much !

  • @carltondsilva7489
    @carltondsilva74893 жыл бұрын

    Excellent explanations. Please keep up the good work. I very much appreciate it.

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Many thanks! I am glad that you like it!

  • @heiaheiaheiahei
    @heiaheiaheiahei2 жыл бұрын

    Very detailed tutorial, many many thanks.

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    You’re welcome- thanks for watching;-)

  • @ronsflightsimlab9512
    @ronsflightsimlab95122 жыл бұрын

    Really nicely done sir! Hello from San Diego, CA.

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    Hi, many thanks !

  • @aadimator
    @aadimator Жыл бұрын

    Many thanks for this amazing resource. It was extremely helpful in understanding and setting up OpenWrt. I'd love one which uses docker though.

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    Hi, many thanks for your feedback ;-)

  • @papablopapapablo8123
    @papablopapapablo81233 жыл бұрын

    Suscribed from Spain. Thanks for your efforts teaching and helping to discover new functionalities or new ways to do this things. You have a couple of beers waiting if you visit Castilla y León. Hope that can be possible for all in months. Take care all of you.

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    I need to warn you here - inviting Germans for free beer can be a costly exercise ;-)

  • @papablopapapablo8123

    @papablopapapablo8123

    3 жыл бұрын

    I know. Just because of that i didn't mention our vine "Ribera de Duero" or the whites of "Rueda".

  • @Redbackss
    @Redbackss3 жыл бұрын

    G'day OneMarcFifty I followed your instruction to the tea until I came to adapter 2 and had to fiddle around given the setup is somewhat different in the OSX VirtualBox instead of manufacture drivers, it took me sometime to figure out which one works and it is en0: Reset by DHCP, the other are for references: en1: WI-FI (Airport), en2: Thunderbolt 1, en3:Thunderbolt 2, bridge0, p2p0, awdl0, llw0. And now I can log into luci and continue with the rest of the setup , thanks again. Cheers

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Excellent, many thanks for letting us know. I would have loved to do this on macos but I am kind of in between Macs at the moment 😉 cheers mate 😉

  • @MD6-127
    @MD6-1273 жыл бұрын

    great videos great lessons,all is perfect and clear

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Awesome, many thanks - I am very happy that you like the videos !!!

  • @FabricioAlves
    @FabricioAlves2 жыл бұрын

    amazing video, you are great on the presentation. this is the first video I watched and I loved tell show tell system. Keep going please. One side note: As suggestions, I love to see fix things type video, and you are very knowledgeable person. Teach the very hard things to do (like this video) and success is yours. A personal request from me would be how to protect your home office. How to build a firewall and best practices to get everything secure. Thanks

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Many thanks for the feedback - and I also like your suggestion ! Now - with regards to the home office environment - would you look at this in the lights of separating private stuff from office stuff (because if you work remotely for a company then they should look after the endpoint security of the device really) - or are you using your own device (BYOD) to work for your company ?

  • @unaisulhadi6445
    @unaisulhadi6445 Жыл бұрын

    Really helpful, Thanks

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    Thank you very much!

  • @vhm14u2c
    @vhm14u2c3 жыл бұрын

    Great idea make test environment. Did not know you can make integrate virtual box and openwrt together.

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Many thanks for your feedback! Yes, that came to me like an idea when I asked myself how to show a real use of Virtualbox. And a main driver was because I always had to re-image hardware when I wanted to do OpenWrt videos ;-)

  • @kachahaan1660

    @kachahaan1660

    3 жыл бұрын

    @@OneMarcFifty Definitely needed and you fill the gap here with it. Am glad to have found your channel.

  • @sanamakita1961
    @sanamakita19612 жыл бұрын

    Thank you,..sir.Very imformative lesson.

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Thank you very much!

  • @mowaffaqkurdi1338
    @mowaffaqkurdi13382 жыл бұрын

    great video. Thanks

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    Thank you very much!

  • @johnantonarakos7767
    @johnantonarakos77672 жыл бұрын

    Great video! Thank you a lot!

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    You're welcome - thanks for watching !

  • @arathas1979
    @arathas1979 Жыл бұрын

    Just found out you exist. Love your way to explain

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    Hi Jean-Francois, thank you very much - glad to have you here on my channel.

  • @beundeteunhaas9601
    @beundeteunhaas96013 жыл бұрын

    Just turned on notification bell. Missed 6 videos 😲

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Thanks for switching notification on and thanks for checking back in ;-) Hope you like the last videos!

  • @BigKnucklesX2
    @BigKnucklesX22 жыл бұрын

    This is extremely helpful even a year later

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Thank you very much!

  • @raeganvallay3465
    @raeganvallay34652 жыл бұрын

    @OneMrcFifty thanks for the great tutorial really helpful. Thanks alot

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Thank you!

  • @tapacwmcheng5068
    @tapacwmcheng50683 жыл бұрын

    Thanks your video! Arion from Hong Kong

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Thank you for your feedback - Greetings from Germany ;-)

  • @faskhiyworks
    @faskhiyworks11 ай бұрын

    Hi.. Is that possible to connect a client in to your second openwrt (internal openwrt not wan openwrt). How to do it?

  • @kevinwang6188
    @kevinwang61882 жыл бұрын

    For the virtual edge router, since the latest OpenWrt 21.02 added DSA support and new UCI/network configuration syntax, 'wan' for eth1 has to be manually added to let the WAN work.

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Many thanks for sharing Kevin - will issue a V21 video soon

  • @kevinwang6188

    @kevinwang6188

    2 жыл бұрын

    @@OneMarcFifty Thanks for taking care of this in the future and your detailed explanation of DSA in your latest video!

  • @yahiaal-zahrani8915
    @yahiaal-zahrani89152 жыл бұрын

    Thank you very much, I really appreciate it.

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Thank you very much ! kzread.info/dron/G5Ph9Mm6UEQLJJ-kGIC2AQ.html

  • @traitotaku4940
    @traitotaku49402 жыл бұрын

    Thanks!

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    ...and thank you ;-)

  • @user-ep6og4sr9h
    @user-ep6og4sr9h2 ай бұрын

    Thanks for great presentation. Could You please describe if it is possible to forward host OS traffic through virtual router in VirtualBox ?

  • @mirsaddibrani4691
    @mirsaddibrani46913 жыл бұрын

    Thank you so much for this video. I wanted to ask you if the laptop should be connected via cable "LAN" to the modem, and not be "WiFi" enabled on the laptop?

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Hi Mirsad, in theory it doesn't really matter how you connect your laptop to the Internet. I am preferring cabled solution if available however

  • @lingehmuhamed5718
    @lingehmuhamed5718Ай бұрын

    Please how can we connect our physical device to this virtual AP, how can I scan for WiFi connection searching for the openwrt, do I need a wireless card?

  • @raeganvallay3465
    @raeganvallay34652 жыл бұрын

    What was the reason for you using an Edge Router for your virtual lan. Do I need to use the physical router type or model that I have setup in my network for the OpenWRT router in VirtualBox

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Hi, the reason is that this way you can easily test real world scenarios such as port forwarding or VPN access. For Virtualbox you use the x86 image

  • @mallikab8707
    @mallikab87073 жыл бұрын

    Awesome 👌

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Thank you very much !

  • @ameenal-azzawi2180
    @ameenal-azzawi21802 жыл бұрын

    Amazing effort, I am using VMware, I hope it won't be much different.

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    It should not be too different - let me know how it goes

  • @TomTom-ci2dj
    @TomTom-ci2dj Жыл бұрын

    Great video OneMarcFifty !!! I really enjoyed and learned a lot from it !!! I have some questions that hope you could help: 1) After you have setup the "Internal router", if you want to have PC's that connect to this internal router on its LAN side, how would you set it up ? 2) When a VirtualBox VM has 2 interfaces (e.g. one host-only and one "bridged" as in the Edge Router), how does OpenWRT pick which interface would be for WAN and which would be for LAN ? In the Edge Router case, the bridged interface seems to become the WAN interface and the Host-only interface becomes the LAN one, while for the Internal Router, the Host-only LAN becomes the WAN port. Thanks so much again

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    If you would want "real" PC's to connect to the internal "sandbox" then you'd have to VPN into the sandbox from the outside / WAN side of the router. If you are talking about virtual machines, then just add them and give them the same virtual interface. OpenWrt wil assign the FIRST interface (eth0) to the LAN and the SECOND interface (eth1) to the WAN by default.

  • @TomTom-ci2dj

    @TomTom-ci2dj

    Жыл бұрын

    @@OneMarcFifty Thanks for your reply. I was talking about "virtual machines". Can you elaborate on the "add them and give the same virtual interface" ? When you add the interface for the VM, I am not sure how to indicate if this interface is connected to the edge router or the inner router. In your setup, the edge router has 2 interfaces: Host-only and bridged, and it acts as DHCP ever. The inner router only has the host-only interface, and it receives IP from the edge router. Technically, the inner router can also have DHCP turned on to give IPs to its own clients. So, with a new VM added, I am not clear how to indicate which network the new VM belong to / which DHCP server to obtain IP from. Regarding the second point (i.e. which interface is LAN/which is WAN), because the inner router gets IP from the edge router, I assume the only interface that it has (Host Only) acts as "WAN". Am I understanding this correctly ? Thanks again for your help.

  • @henkdevries5042
    @henkdevries50422 жыл бұрын

    WOW!! Looked for promox and looked for hours!! Very good job, thank you!! Many questions but have to get new hardware first to install proxmox. First to ask is: can you convert a running metal machine and convert it into a virtual machine? Very curious in this item! Yes, I still use VMWare where 9 servers are running for long time. Also use Parallels on MAC and Virtual box for testing. I was Novell guy since 3.11 (1988) and grew along till 2008. Then changed job and country and got never really back into networks. Too bad, miss it! Time to retire soon and get back into networks and pick up some programming!

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Hello Henk, Yes - I have made a video on that matter : kzread.info/dash/bejne/imell9CFfqWumco.html

  • @user-zr7kz4vs7c
    @user-zr7kz4vs7c2 жыл бұрын

    Hi, do you know how to set up a port forwarding rule while only allow a list of Cloudflare IP addresses to access the open port (port 80)? (Via OpenWRT) thanks 🙏🏻

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Network-Firewall-Port Forward, then add, forward port 80 to destination, go to the advanced tab and spcify the list of ip addresses in the Source IP Fields

  • @aryan-orionbelt2037
    @aryan-orionbelt20373 жыл бұрын

    thank you

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Thank you for watching;-)

  • @dusscode
    @dusscode Жыл бұрын

    Is there a way to easily do this through in a headless computer with only SSH access and no desktop environment? I am trying to install OpenWrt on my Linux NAS and use it as an additional Wi-Fi access point with a Wi-Fi USB dongle, if possible.

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    You might want to use libvirt / kvm / qemu for this rather than virtualbox.

  • @dusscode

    @dusscode

    Жыл бұрын

    @@OneMarcFifty actually, I tried using QEMU, but trying to create and manage VMs in the command line was a pain for me. So what I ended up doing is install VirtualBox and use phpVirtualBox to access VirtualBox in a browser page. Worked very well.

  • @markarca6360
    @markarca63603 жыл бұрын

    Now I will drop my pfSense VM in favor of this!

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Awesome ;-) Let us know how it goes ;-)

  • @DeetexSeraphine
    @DeetexSeraphine2 жыл бұрын

    WHen dealing with virtual machines, is there any benefit to picking x64 over x86? It has always been my understanding that 64bit drivers have a much larger memory footprint and should only be considered an option above a certain amount of RAM. -my knowledge may be outdated, oldfashioned and archeic ...

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Well - you are right, 64 bit uses more memory. If you do not intend to use more than 4 GB of RAM inside your VM and if every software you intend to use inside is available as 32 Bit then presumably you don't get that big of an advantage using 64 Bit. I am not sure to what extend you would take a performance hit though. Presumably negligable. Btw, the question had been asked here on superuser: superuser.com/questions/451343/virtualbox-x64-vs-x86

  • @isaahmed80
    @isaahmed803 жыл бұрын

    hi, I have a full home cabling network, I want to use old Linksys WRT160nl as mesh via cable..how can this be done by DD-WRT?

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Hi, I would not recommend using that device with OpenWrt. Probably too weak. I have stopped using DD-WRT like ten years ago so I am afraid I can't really help you with that.

  • @bimalnairg9049
    @bimalnairg90493 жыл бұрын

    How make it possible to open LuCI interface outside the virtual box, that's from the browser in the host. They are in different network, right ? HOST (Browser) is in 192.168.139.158/24 and LuCI hosted in 192.168.99.1/24

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    On the host you have different network interfaces. The Virtualbox interfaces do / can have IP addresses in the guest range. The routing table of your host should adjust. So in oter words, if you open 192.168.99.1 then you should get to Luci.

  • @ksk3439
    @ksk34393 жыл бұрын

    Great video. a simple question. So I created 1 edge router and 1 internal router like in the video. How can I connect another VM instance like Ubuntu to the internal router? I set the network setting to host-only adapter and it connects to the edge router. How can I configure the ubuntu vm to the internal router?

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    You want to have a DMZ between the internal and the external router right ? In this case you would have to add another host only network in between. If you just want to open luci on the internal router then just open the page on its ip address. If you want we can play this through tomorrow on discord.

  • @ksk3439

    @ksk3439

    3 жыл бұрын

    @@OneMarcFifty it will be great. Thanks!

  • @Eurobunker
    @Eurobunker2 жыл бұрын

    Is OpenWRT really the most easy way to route between different subnets in VirtualBox? Or are there other router software, as small in size and RAM as OpenWRT, that can be easily applied for routing in VirtualBox?

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    The smallest solution would be a simple linux box (could be distro-free or Alpine...) and just enable routing by adding net.ipv4.ip_forward=1 in /etc/sysctl.conf. The box would then act as a router.

  • @younggdrippp_aka_dripppyyy

    @younggdrippp_aka_dripppyyy

    2 жыл бұрын

    Question Would I be able to connect my Xbox to the either Vitural Router ?🤔

  • @traitotaku4940
    @traitotaku49402 жыл бұрын

    Virtualbox version 6.1.28 will need the custom setting in order to change the static ip on the network adopter. If not, simply use the 6.1.26

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Many thanks for sharing !

  • @networkfreddy2000

    @networkfreddy2000

    2 жыл бұрын

    same with 6.1.31.. Im looking up the custom setting now

  • @sledgeHammerRulez
    @sledgeHammerRulez3 жыл бұрын

    Hi Marc, I want to setup a virtual Lab to test/simulate the firewall config for WireGuard on an real device (previous effort a had to fail safe boot the device :S) and for that I want to follow this tutorial. But is does not work :( It gets stuck after 11.209667 seconds: IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready Any idea where I go wrong? I tried different settings, promiscuous mode inclusive (what was necessary for VMWARE) ... TIA Mario

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Hi Mario, maybe disable IPV6 addresses ? It might be that the device is waiting for DHCP6 but there is no server or maybe the machine was cloned ? In this case the IPV6 could be duplicate on the network. Anyhow, wayting 2-5 minutes should resolve it. HAve you waited long enough ?

  • @sledgeHammerRulez

    @sledgeHammerRulez

    3 жыл бұрын

    @@OneMarcFifty can you believe this solution? but first some context ... IPv6 was not the problem and I had the same situation on VMware workstation (that boots a couple of seconds faster!) so it had to be with the image ... right? ... no wrong :p It was just clicking ENTER and the busybox ascii art appeared ... 3 hours of my life wasted ;S but in the end I learned something that maybe helps sb else ... KUTGW! BTW have you seen the fuzz on wireguard breach in pfsense?

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Aaaaaargghhhhh ;-) well, glad you got it sorted !!!

  • @user-zr7kz4vs7c
    @user-zr7kz4vs7c3 жыл бұрын

    May I ask how to enable the Mac Address whitelist for the admin page (192.168.0.1) on OpenWrt? For example, I only want to allow my phone’s MAC address to access the router admin page, to prevent other users on the network from accessing the admin page in case they know the password. Is this possible?

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    You need two traffic rules to do this. First add a traffic rule (Network-Firewall-Traffic rules). Call it "Allow HTTP", select Proto=tcp, Source zone LAN, Source Address (your IP) Destination Zone Device (input), Action accept. Then add a second rule which you call "Deny HTTP", same parameters, but no source address specified. This filters on IP address. Make your IP address static in the DHCP in order to make sure it's always you.

  • @user-zr7kz4vs7c

    @user-zr7kz4vs7c

    3 жыл бұрын

    @@OneMarcFifty thanks 🙏🏻

  • @Madsycode
    @Madsycode Жыл бұрын

    thx! though!

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    Thank you - you're welcome.

  • @RifatErdemSahin
    @RifatErdemSahin3 жыл бұрын

    Add to my watchlist now

  • @RifatErdemSahin

    @RifatErdemSahin

    3 жыл бұрын

    twitter.com/rifaterdemsahin/status/1323548965229326336

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    @@RifatErdemSahin Many thanks for this ;-) I'll be working on your suggestions - stay tuned !!!

  • @griffibr1961
    @griffibr19618 ай бұрын

    Cool

  • @faisalmahmood1908
    @faisalmahmood19082 жыл бұрын

    VirtualBox still keeps giving the 192.168.56.103 address to the internal router, despite disabling DHCP on the host adapter. Running virtualbox 6.1.30 - any ideas why this happens? How to fix? Can't get past 25:00

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    I've seen that happening - a restart of the Virtualbox services or even a reboot might be required so that Virtualbox accepts the changes.

  • @faisalmahmood1908

    @faisalmahmood1908

    2 жыл бұрын

    @@OneMarcFifty yes I managed to fix it. The first time I closed virtualbox by hitting the X in the top right corner and the problem was still present. The second time I closed it by doing File -> Exit, exactly like you did and that fixed it lol. Glitchy VBox! Thanks

  • @algolove185
    @algolove18510 ай бұрын

    at 19.48 it says to ping but when I ping nothing happens - where could be the problem?

  • @jared_wagner

    @jared_wagner

    7 ай бұрын

    Old comment, but do a shotgun test by disabling your firewall and then if that fixes your problem add a more finetuned rule to allow traffic in from your router IP. That was my problem.

  • @markarca6360
    @markarca63603 жыл бұрын

    Tip: Run VBoxManage on an administrative command prompt.

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    You're talking about Virtualbox on Windows right ? Many thanks for the tip ;-)

  • @mis-windeltonacao5496
    @mis-windeltonacao54963 жыл бұрын

    Hi sir, i followed your tutorial and it works funtastic, but it did not work on port forwarding using dynamic dns, can i ask a help on how to solve it? thanks

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Where do you configure the port forward?

  • @qani613
    @qani613 Жыл бұрын

    Is it possible to install openwrt on laptop and use it us as a router?

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    Hi, yes you can do that. You could even run it from a USB stick. Just use the x86 image.

  • @campursarimania
    @campursarimania2 жыл бұрын

    Great tutorial. Can we set a VLAN interface on this Virtualbox-Openwrt?

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Erm.... Not sure, but presumably not directly. What you would have to do is create ethx.y manually and thenchange the network on the VM settings under network, seect Bridge and from there select the right VLAN adapter (e.g. eth0.56 for VLAN 56 on eth0) haven't tested this though, so I am not sure if you can actually select the virtual adapter from there.

  • @yakumark
    @yakumark3 жыл бұрын

    i tried following your video from the very beginning but i don't understand why i cant ping the static IP we just set on virtualBox (192.168.99.2). :(

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Hi Mark, it should be pingable from the routers and from the outside. Have you tried restarting the PC or at least the virtualbox services ? Sometimes it's not sure that the changes have been taken into consideration by Virtualbox. Does everything else work as expected ?

  • @yakumark

    @yakumark

    3 жыл бұрын

    @@OneMarcFifty Thank you for looking into my comment. It's kind weird because i can ping other devices in my home network but not the one that is in the virtual oracle side (192.168.99.1). I am able to fix the issue by isolating windows firewall. Thanks for this tutorial vid. I learned a lot from you!

  • @thomasvale5545

    @thomasvale5545

    2 жыл бұрын

    @@yakumark Wow I was with the same issue. I'm glad I found your comment, I disabled windows firewall now I can ping 192.168.99.2 from inside openwrt router.

  • @smartstream3485
    @smartstream3485 Жыл бұрын

    I had problem with DHCP server seen in TOOLS/Network in VirtualBOX. Turning off this server do not work. Serwer was working still and in open wrt internal i had still the .56. ip number. Solution is to go to Virtualbox menu File-Prererences-Network . Create Nat Network with default settings and turn uff DHCP in that window. And now i have .99. ip in open wrt internal.

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    Many thanks for sharing! I‘ve seen that DHCP setting behave sticky as well until I restarted vbox.

  • @smartstream3485

    @smartstream3485

    Жыл бұрын

    @@OneMarcFifty Thank you for your work. It is fun for me to watch and learn about virtualization.

  • @lomatik
    @lomatik Жыл бұрын

    @OneMarcFifty i hope u read that, i used to create network for OpenMCTCPRouter in Virtualbox. My host can ping router normally, but router can`t ping host, and host can`t open webpage in 192.168.100.1 (i switched VirtualBox Network from 192.168.56.1). Do you know what i need to do?

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    Make sure the DHCP functionality in Virtualbox is switched off and restart the Virtualbox network adapters and services

  • @lomatik

    @lomatik

    Жыл бұрын

    @@OneMarcFifty yes I'm sure, VirtualBox reinstalled and restarted too. Windows 11

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    Maybe the router is using the virtualbox interface as wan interface? If you type “ip addr” in the shell of the router, then it should tell you which interface has which address.

  • @Spelter
    @Spelter Жыл бұрын

    I would love if somebody could emulate a virtual wifi adapter so you can test out at least a few things, but cool idea to install OpenWRT virtual to get my feet wet, after the TP-Link WA1201 was a bust (V3 is not possible for OpenWRT)

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    You could use a cheap 2.4 ghz usb stick and pass it through to the vm.

  • @Spelter

    @Spelter

    Жыл бұрын

    @@OneMarcFifty hm, that's true, I have a few from old times, I just need look up, how to do it in qemu/kvm/libvirt, but it should be possible. Or easier, just use an old laptop, I have so many old ones I dont use, i can just use one of them. Put an old ssd into it, and let's go.

  • @mariobader2152
    @mariobader2152 Жыл бұрын

    where can I set dhcp for openwrt? After cloning I have twice 192.168.99.1 ? DHCP on VirtalBox is disable, now it doesn't work, do you have any tipps ? for me openwrt didn't work as an dhcp-Server greetings and thanks

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    Hi Mario, you would need to make sure that the server and client are on the same Virtualbox network.

  • @mariobader2152

    @mariobader2152

    Жыл бұрын

    @@OneMarcFifty Thanks, for your replay. I think it's up to Virtual box. It is running on a domain computer and it is not possible to delete Virtual-Box's native DHCP server. But on a workstation without domain membership, the host-only network can be changed and customized to make the setup work. As a tip, virtual box on a domain computer is very bugy.

  • @mariobader2152

    @mariobader2152

    Жыл бұрын

    As an addition, I also tried with domain admin rights, but it was useless it didn't work!

  • @jonathanpayne9956
    @jonathanpayne99563 жыл бұрын

    why didn't i think of that! dude i have been running a test router for years to try out vlans and the like before committing them ! brilliant! (i run the church IT) ohh ! do you have a recommendation for a vps UK ? and while we are thinking! openwrt x86 running on a vps? does that make sense for wireguard / openvpn

  • @jonathanpayne9956

    @jonathanpayne9956

    3 жыл бұрын

    maybe omv on an vps would be better?

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Many thanks for your feedback! Yes, I was exactly the same until just recently I thought - man, you can‘t keep flashing routers for your videos and also I needed to give my viewers a playground environment for testing etc. W/r to VPS - might be possible using Docker on the VPS - I‘ll give it a longer thought 😉

  • @Redbackss
    @Redbackss3 жыл бұрын

    Is it possible to run Openwrt from a USB dongle without flashing the router firmware? That an idea.

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Great question ;-) first off: that's not easy. You would need to flash the router with a "generic" loader that can load the USB storage driver and then boot from the USb (routers don't have efi or similar). Like for example a simple kernel building a ramdisk and then boot from the USB. I have not seen anybody do this without compiling custom OpenWrt build. There is a longer article here: forum.openwrt.org/t/booting-openwrt-from-usb/14263/13

  • @SolderIT

    @SolderIT

    3 жыл бұрын

    You can try openwrt on a S905 STB. Run it via sdcard.

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Ah very true, one of the multimedia boxes. For trying and testing that would work - you could even add a managed switch or a 2nd Ethernet with USB I guess. Great idea!!

  • @Redbackss

    @Redbackss

    3 жыл бұрын

    I know of one OS that can run from either ram-drive or USB , Slax. www.slax.org/ something to give you a glimpes.

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    @@Redbackss There are various linux distros that run from a USB stick, such as DSL Linux ("Damn small linux") or Knoppix - the challenge will be to have your router boot from these as typically they will be made for x86 architecture (i.e. a PC) where as a router is a differet architecture, such as ARM or Atheros. And on these the boot loaders (e.g. U-Boot) have different behaviors. What is the hardware you would want to run this on ? Do you have a specific router in mind ?

  • @Eurobunker
    @Eurobunker2 жыл бұрын

    I love the video, but I hate OpenWRT. But I need it as a router between different LANs in VirtualBox (Static routing). I can't manage to get to work a 2nd, maybe a 3rd LAN-Subnet and set up the static routing between all 3 LANs (I don't need WAN). How to do static routing??

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Hi, many thanks for the feedback ! Actually, as OpenWrt is "just" linux, you may do everything exactly like you would do it in Linux. Either with the OpenWrt (L)uCI interface or without. In LuCI, you can add static routes under network-static routes. In the ssh shell you can just do ip route add....

  • @clonetrooper5674
    @clonetrooper56743 жыл бұрын

    hey great video. vmware esxi is available on a raspberry pi now. Would you be able to do a video on running openwrt as a vm on that? Cheers

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Oh cool, I was not aware of that. Is it for free ? Can you configure network parameters ? I will need to check.

  • @clonetrooper5674

    @clonetrooper5674

    3 жыл бұрын

    @@OneMarcFifty its in an alpha build at the moment. the limitation in the documentation is that usb nics may be limited to 200megabit but i have not been able to install openwrt it yet. openwrt comes as a .img and vmware requires iso or ova file. you can do some network parameters, havent looked into a lot yet.

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Awesome - I'll need to check this out ;-)

  • @gordslater

    @gordslater

    3 жыл бұрын

    @@clonetrooper5674 A quick trick worth a try is to rename the .img to .iso and see if it works - some programs can handle that just fine. No idea about ESXi though, sorry.

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    @@gordslater Thanks mate!

  • @markarca6360
    @markarca63603 жыл бұрын

    Ubuntu is based on Debian, and the installer will work with either one.

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Thank you.

  • @user-ju3lw7mz3e
    @user-ju3lw7mz3e Жыл бұрын

    im not getting ping to 192.168.99.2 ,i have no idea why

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    Hi, that’s a but tough to tell from a distance and would require more info. Maybe hop on the discord server and explain it there

  • @Vainusy

    @Vainusy

    Жыл бұрын

    I'm having the same problem

  • @RifatErdemSahin
    @RifatErdemSahin3 жыл бұрын

    lots of work put into the video. I did take screenshots to do this but doing this on your time is not so easy consider building a udemy/skillshare course as well that could also boost the network affect as well.

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Many thanks - I'll think this over ;-)

  • @RifatErdemSahin

    @RifatErdemSahin

    3 жыл бұрын

    @@OneMarcFifty it took us 12 weeks for the first course. It take more time for the first time.

  • @rrsdm
    @rrsdm3 жыл бұрын

    Kami menggunakan stb bekas indihome sebagai perangkat router openwrt

  • @OneMarcFifty

    @OneMarcFifty

    3 жыл бұрын

    Terima kasih banyak atas tanggapan Anda

Келесі