How to build a Router with a Raspberry Pi and managed Switch VLANs with OpenWrt

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ส.ค. 2024

ความคิดเห็น • 184

  • @Roger_Hardwick
    @Roger_Hardwick 3 หลายเดือนก่อน +18

    Missing your tutorials and explanations - by far the best on TH-cam. I really hope you start making them again!

  • @ksenyxths
    @ksenyxths 3 หลายเดือนก่อน +14

    I hope this message finds you well! I stumbled upon your channel recently and I have to say, your videos are truly informative and insightful. Your dedication to sharing knowledge and creating such valuable content is evident in every video.
    I noticed it's been a while since your last upload, and I just wanted to drop by and express how much I've enjoyed your content. Your videos have made a real difference for me, and I'm sure for many others as well.
    Life can get busy, and I completely understand if you've had other priorities recently. But I just wanted to send some positive energy your way and let you know that your work is appreciated and missed. Your unique perspective and expertise have been incredibly helpful, and I genuinely hope to see more of your wonderful videos in the future.
    Take care, and looking forward to whatever you have in store next!

  • @FedorTroitsky
    @FedorTroitsky 3 หลายเดือนก่อน +4

    Hi, just here to express my gratitude for your work and tell that it's the most useful channel on TH-cam for home network setup ever. All your videos are pure gold. The way you explain the material is just perfect. Please do continue, we need more of this. Hope you are well! Take care.

  • @goppinaththurairajah760
    @goppinaththurairajah760 ปีที่แล้ว +7

    Thank you Marc for another useful and nice video regarding the OpenWrt with Rasberry Pi. I am using Pi4 based OpnWrt router for at least the last one and a half years and I am fully satisfied with the outcome. With my setup the Pi4 is not only acting as a router rather it acts as a security gateway too by including AdGuard Home, BanIP, and many more. Earlier I used the router on stick setup with a layer 2 switch as you are presenting in the video and later I am convinced with the idea of not exposing the switch to the WAN and now using a USB3 ethernet adaptor to give a clear separation to the WAN and LAN.
    I recommended this to one of my friends in England in 2021 and now most of my friends and families in Europe using this setup. This makes me learn a lot about the OpenWrt on Pi4 because I am getting some questions from them from time to time.
    By the way, I am using the Pi router behind the Fritz!Box at the moment with the combination of the U6 mesh access points. Some of my friends use the Pi4 as a gateway for the fibre modems for DG Germany, KPN Holland, and Deutsche Telekom.
    Pi itself is not a good access point as you mentioned but it can act as a router with true ethernet, enough power, and capacity in conjunction with other wifi mesh systems like Unifi, tp-Link Asus, or any other wifi systems.
    One of my colleagues is not convinced with the USB3 ethernet adaptor idea and he bought a Pi4 computer module and the DFRobort router board with two ethernets on-board. We ran several tests and we are getting the same throughput with the SQM and packet steering. But the only notable difference is that the Pi4 with USB3 ethernet is getting 5°C warmer and uses 7-10% more processing power than the DFRobort router board.
    I am looking forward to your PBX server setup with OpenWrt. Keep it up Marc, I learned a lot from your videos. Thank you again.

  • @SensSword
    @SensSword ปีที่แล้ว +43

    With cost of Raspberry Pis now, it might just be cheaper to buy Cisco hardware and pay for professional installation and maintenance 😂

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว +2

      We‘re not there yet, are we ? 😂

    • @SensSword
      @SensSword ปีที่แล้ว +4

      @@OneMarcFifty feels like it' Can't find an RPi for less than $200 these days. It should be 1/3 that cost.

    • @believerd
      @believerd ปีที่แล้ว +1

      Check the edited comment below my friend.

    • @stbhg680p9
      @stbhg680p9 6 หลายเดือนก่อน

      Just use tv box amlogic board

    • @dabrams84
      @dabrams84 7 วันที่ผ่านมา

      ​@@SensSwordREALLY??? Wow!

  • @foobarturkey
    @foobarturkey หลายเดือนก่อน +1

    Hope all is well with you Marc. You've taught me a lot.

  • @qcsupport2594
    @qcsupport2594 ปีที่แล้ว +3

    Good tip on the zyxel managed switch - saving that to my amazon list

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Awesome - let me know if you like it.

  • @alexs5588
    @alexs5588 11 หลายเดือนก่อน +14

    Where have you been Marc???

    • @stephendetomasi1701
      @stephendetomasi1701 5 หลายเดือนก่อน +7

      According to his Discord he got pretty bad COVID about mid-last year, and he had to take a break. I'm guessing it must have taken a toll :( such fantastic tutorials, shame there hasn't been any new ones for a while!

  • @IsmaelLa
    @IsmaelLa 6 หลายเดือนก่อน +4

    Hi @onemarcfifty hope you're doing ok. Haven't seen you for a while. Take care. ;) Hi from Puerto Rico!

  • @pichonPoP
    @pichonPoP ปีที่แล้ว +1

    Marc, I have one of those, and in December 2021, I struggled a lot trying to
    set it up to use with pfSense. I almost gave up and bought its bigger
    brother, which has support from OpenWrt. I'm glad to see here that switch and another video about OpenWrt.

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว +1

      Hi, Thank you so much ;-) There will be some OpenWrt videos in the near future.

  • @michaeldina1103
    @michaeldina1103 ปีที่แล้ว +1

    I thoroughly enjoyed your video! For me as an untrained enthusiast you are advanced enough for me to learn something new about networking but not so advanced that I get lost.

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Hi Michael, great feedback - thank you. Glad you liked it !

  • @BobCollins42
    @BobCollins42 8 หลายเดือนก่อน +6

    Hello Marc, I hope you are well.
    It is December 2023, and I can find no evidence of your presence here or on any of your other public media sites since May 2023. In this video you announced that you were planning on follow up videos.
    I am one of many who have learned much from your work and I hope you will return.
    Bob

    • @rkoe77
      @rkoe77 6 หลายเดือนก่อน +2

      Ich schau ständig hier vorbei...Auch ich vermisse Mark...Ich hoffe es geht ihm gut...

  • @goldshado
    @goldshado ปีที่แล้ว +1

    Very nice tutorial Marc looking forward for the next one thanks again.

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Hi Paulo, many thanks - glad you liked it ;-)

  • @grahammccann8554
    @grahammccann8554 5 หลายเดือนก่อน

    Thank Marc for making this video. Very easy to follow.

  • @tareeck4822
    @tareeck4822 ปีที่แล้ว +1

    I used Rpie 4b as router more than 3 years. Here is my experience: first of all forgot about wifi it is unusable at all, only if your house has not walls at all. Second point you will anyway will need second USB type 3 to Ethernet adapter. The third thing you will need nice gigabit manage switch. If you have all of this Rpie may the best router you can by for its price! I have 2 Gbit links for wan and 7 vlans for lab and it perform all of this very well! So my suggestion is to use it if you really want to have nice performance but have no a lot of budget. Also do not forget to enable HW flow offloading in Network->Firewall settings tab admin also you will need to enable Packet steering in the Network->Interfaces->Global network options. It will increase network performance dramatically!

  • @aseantravels8772
    @aseantravels8772 ปีที่แล้ว +3

    excellent tutorial on openwrt. there are a lot of cheap home routers with multiple ports that are compatible with openwrt firmware. much easier to come by than raspberry pi at the moment.

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว +2

      Totally agree. I do however want to show a use case in a future video where it could make sense to use the Pi (if you have no other use for it) by using it as a phone tethering gateway for WAN failover on a dedicated VLAN

    • @GeorgeValkov
      @GeorgeValkov ปีที่แล้ว +2

      @@OneMarcFifty It's actually a great way for learning VLANs given limited available resources. As for the phone tethering, I've been using it for years. A dedicated router is a better choice performance wise. Where the PI shines is when you power it on battery. Mark, did you know that ipheth (the iPhone driver) has an issue? If you connect the iPhone to a Mac it changes modes. Then connect to OpenWRT and it won't work until you reboot the phone. I have a patch that adds CDC NCM support and resolves that.

    • @dan-nutu
      @dan-nutu ปีที่แล้ว

      @@OneMarcFifty I'd be very interested to see the tethered phone as a WAN failover video if it involves only vanilla OpenWrt and not ROOter!

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Hi George, thanks for pointing this out.

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Hi Dan, no Rooter or 4G modem or the like will be needed for this as we would use the Phone pretty much like over Ethernet as the modem ;-)

  • @johnscamera
    @johnscamera ปีที่แล้ว +3

    Perfect timing. I was just pondering my next step in my migration to vlans on my network. I had a spare RPi but no managed switch.
    I was about to click BUY on a managed switch when I realised I could probably reuse my old WNDR3700 openWRT router. I assume I could just use the GB switch ports for this - without the wifi.

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Hi, yes - actually you can. Just switch off Wifi and the like and you can use an old Router with OpenWrt as a switch.

    • @dan-nutu
      @dan-nutu ปีที่แล้ว

      As someone who already clicked buy... twice! (first on a TP-Link SG108E, then on a Netgear GS308T) I wonder: allegedly OpenWrt runs on the Netgear GS308 (not sure yet if the E or T or another model), wouldn't it allow you to restrict access to the management interface on the VLAN(s) you want? With the "local" tick box thing in Luci.

  • @herik63
    @herik63 3 หลายเดือนก่อน

    wow, pure gold this video, thank you so much!

  • @michaelcooper5490
    @michaelcooper5490 ปีที่แล้ว

    Another great video Marc, Thank you awesome job for real, I needed this one.

  • @struggle375
    @struggle375 ปีที่แล้ว

    this is exactly what I was looking for, thanks!

  • @shubertbaloran1819
    @shubertbaloran1819 ปีที่แล้ว +1

    I've been trying to get a setup like this to work at my home lab and I still couldn't figure it out 😭
    Thanks Marc for this updated guide! I have the exact equipment on this tutorial so I'll try this out over the next few days

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Hi Shubert, many thanks - let us know how it goes ;-)

    • @shubertbaloran1819
      @shubertbaloran1819 ปีที่แล้ว

      @@OneMarcFifty Hi Marc! I got it working, VLANs and all. I don't know if you already posted something like it, but do you think you can post about docker on openwrt? That bums me because I couldn't get it to work, and I wanted to host a VPN server on the router as well.

  • @user-nx6kx5qx5u
    @user-nx6kx5qx5u 3 วันที่ผ่านมา

    always the best video!

  • @jensschroder8214
    @jensschroder8214 ปีที่แล้ว +4

    There are mini x86 systems with 4 to 5 LAN ports from China.
    They are much better suited as routers than a Raspberry PI with only one 1GB port.
    The LAN ports support 2.5 GB each and the x86 CPU is faster.

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Hi Jens, you are absolutely right. Like I say in the video at 0:40 and 19:40 and 20:25 , the Pi has many limitations and I am not advocating this as a viable good solution.

  • @k0nstant1n0s
    @k0nstant1n0s 10 หลายเดือนก่อน

    Thank you for your great tutorials!

  • @markandrow4010
    @markandrow4010 10 หลายเดือนก่อน

    Thank you, great animated tutorials .

  • @timrobertson8242
    @timrobertson8242 ปีที่แล้ว +3

    One caution using an inexpensive managed switch (including the Netgear) is their firmware does not allow you to limit the Admin web control to a specific vLan, so I have found it leaking over my WAN vLan. I did find modern D-Link managed switches had this option.

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว +1

      Hi Tim, please see Time Marker 12:07 in the video where I do actually point this out ;-) Glas to hear that the D-Link switches do have that option - so has the Zyxel GS1200 ;-)

  • @julian.morgan
    @julian.morgan ปีที่แล้ว +1

    Just found your channel - really appreciate the clarity of how you present information. Please consider doing a video on installing OpenWRT on to older x86 hardware. For example, I'm sure lots of people like myself have an old PC which - with the addition of a cheap four port gigabit NIC in the PCIe slot - becomes a very capable router while keeping old hardware out of landfill.
    The one I have is now about 10 years old (Haswell era ITX H87N-wifi which has one Intel and one Atheros gigabit port) and I plan on playing around with OpenWRT, OPNsense and pfSense over the next few weeks. I like the idea of OpenWRT because. . . Linux :)
    The router I actually use, an Asus RT-AC86U has asuswrt-merlin installed and it's very solid, but I can't play around with settings without risking seriously annoying my family when they lose internet access !

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว +1

      Hi Julian, I'll have a thought on this. Many thanks for the suggestion

  • @dannymurray4571
    @dannymurray4571 ปีที่แล้ว +2

    The 5 port managed switch / rpi4 combo lasted a month before seizing up. I may return to this setup later. It is replaced by a FriendlyElec R5S for now, because it also handles sqm at 500Mbps with 20msec latency at 420Mbps. The cheap entry level managed switch I used here might be why it only lasted a month. The R5S also crashed after a few months, though.

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว +1

      Hi Tony, is the R6S supported by OpenWrt ? I know the R4S is.

  • @mobiletechbangla
    @mobiletechbangla 10 หลายเดือนก่อน +1

    Sir, i have a question.Please Answer.
    i am using openwrt 22.03.5 on tp link archer c60.
    it has only 8mb flash memory. after Installing openwrt only 840kb space left.
    now i have noticed, if i reboot the router from luci storage space reduces.
    if this continues i may run out of space near future.
    is it normal?

  • @tatomans1982
    @tatomans1982 ปีที่แล้ว +1

    great video, as always

  • @Bianchi77
    @Bianchi77 ปีที่แล้ว +1

    Nice info, thank you for sharing :)

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Hi, many thanks for the feedback - glad you liked it ;-)

  • @lrlemos0
    @lrlemos0 ปีที่แล้ว +1

    Thanks again Marc

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Hi Leonardo, you are welcome - and thanks for watching!

  • @IMBlakeley
    @IMBlakeley ปีที่แล้ว +1

    I use a Pi4b as a router and have done for a couple of years nearly. I don't use the VLAN option, no need really albeit my 8x switch is a managed TPLink device the WAN is a USB3 Ethernet adaptor. If ound partition resizing to be simpler done off line, just use gparted on my PC.

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Hi, many thanks for sharing.

  • @AVKizub
    @AVKizub ปีที่แล้ว +1

    Excellent, thanks a lot!

  • @ukaszs5021
    @ukaszs5021 ปีที่แล้ว +1

    Great video 👍 Thank You

  • @ZhafirHisham
    @ZhafirHisham ปีที่แล้ว +2

    is it possible to use openwrt router as the managed switch for this purpose?

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Hi Zhafir - absolutely! You could use an old Wifi router, install OpenWrt on it, disable the Wifi and use it as a managed switch.

  • @sundinmikael
    @sundinmikael 9 หลายเดือนก่อน

    Great Channel.
    One thing to watch out for managment switches and security is that the management interface could be exposed on port that are not specificed in the managment gui/cli.
    TP.-Link had some security issues for example.
    Access to managment interface via WAN port for example could be very bad.

  • @chmoduk
    @chmoduk ปีที่แล้ว +1

    Most cheap home wifi routers only have one ethernet interface anyway, so this method is replicating that. A Lot of tp link wifi routers will have the wan port as eth0.2 and of course the native vlan as 0.1. Like Marc said, you need the switch gui/console on it's own network / vlan.

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Absolutely right - many routers do the same thing internally ;-)

  • @dutchdisney
    @dutchdisney ปีที่แล้ว

    This tutorial, with wireguard on the wan would be great

  • @paulmacgiollacaoine8619
    @paulmacgiollacaoine8619 ปีที่แล้ว

    Very cool ❤
    Could you do a playlist for all your proxmox videos? Would help a lot. Keep up the great work by the way 👍

  • @budbuddy1515
    @budbuddy1515 4 หลายเดือนก่อน

    Absoluter Ehrenmarc

  • @StaRipper
    @StaRipper 8 หลายเดือนก่อน +1

    Hello Marc, Can you please do a video on how to do VLANs from OpenWRT to ProxMox VMs & LXCs with Zyxel GS1200.

  • @shshshshhshshshsshhshshs6733
    @shshshshhshshshsshhshshs6733 4 หลายเดือนก่อน

    thank you!!!

  • @deankonkel341
    @deankonkel341 4 วันที่ผ่านมา

    Would there be a way to use a wired hot spot instead of a home network connection

  • @Lowendhost
    @Lowendhost 23 วันที่ผ่านมา

    Is this the same way, connecting a Pi to a managed switch, which should be used for OpenMTPCRouter? On their homepage there is no detailed information about how the wiring is..

  • @dan-nutu
    @dan-nutu ปีที่แล้ว +1

    Just 2 quick questions, please:
    1. At 9:42 - why create the VLAN(s) on br-lan when eth0 is also available? I feel I'm missing something here, I just can't figure out what
    2. Where do you find Netgear GS308E at US$27 and Belkin RT 3200 at US$80?

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Hi Dan, there are multiple ways to do VLANs under Linux (and hence OpenWrt.) Either with Bridge VLAN filtering (like I show) or on the NEtwork adapter directly (like you suggest) and potentially add the already tagged interface to a bridge. Which mechanism you chose depends basically on the use case or on your personal preference. W/r to your second question - in the video I just browsed to Amazon. But prices and availability most probably depend on your country of residence.

    • @dan-nutu
      @dan-nutu ปีที่แล้ว +1

      @@OneMarcFifty Thanks for your answer Marc!
      I found your channel when looking for info on how to configure VLANs on OpenWrt and I have to say the first video was very clear... that was until I watched the second one! (i.e. the one for OpenWrt 21, with DSA) The second one confused me so much that I had to rewatch it a few times, just to make sure I get it right, in contrast with the first one. And to be honest, I still don't really understand why in previous OpenWrt versions VLANs were set up using the "real" Ethernet device/adapter, while in version 21 and later it's done using VLAN filtering on bridges. I accept that this is how it's done :), however I would really love to also understand why, i.e. what actually drove this change and what advantages and disadvantages it brought. I wonder if VLAN filtering would be more "efficient" somehow? In the sense of more tightly controlling (at the bridge level) where each tagged packet is sent? I'm purely guessing here.
      Also, I really wonder if there could be any kind of "cross talk" between the different VLANs before OpenWrt completes the boot process - e.g. if the built-in switch has 4 ports and each of them would be configured as untagged, with a different PVID - would the 4 devices (e.g. computers) attached to those ports be able to "see" each other, even for a (very) brief period while OpenWrt is booting? (assuming that the network addresses and netmasks would allow it). I said I should/would test this, I just didn't find the time to set it up yet. If packets can "leak" between VLANs before the router completes the boot process it would be quite bad.
      I hoped to get to ask you about the above points (and a few other OpenWrt things) on one of your Discord sessions but I've always missed those Sunday slots :(
      To complicate things a bit more, after I watched your videos a few times I bought a new router and I installed OpenWrt 22.03.5 on it, fully expecting it to use DSA and VLAN filtering, only to find out that it still uses the old switch configuration method and VLAN setup (!) So all that effort of trying to understand the differences was not actually needed for my router of choice :)
      On the switch configuration page I can see both CPU0 and CPU1 and I'm not sure how to setup tagging to get it right - should I work with the assumption that CPU0 corresponds to eth0 and CPU1 to eth1, or is it something completely different?
      Thanks against for the videos and your answer!
      (BTW, my second initial question was just a silly joke - I buy from UK and I've never seen those low prices! Only last month I paid the equivalent of some €50 for the Netgear GS308T)

  • @andrewhigginbotham6860
    @andrewhigginbotham6860 ปีที่แล้ว +2

    Nice tutorial. I set this up as a Proxmox container using the single NIC based on your video. It works great except it won't issue a DHCP address to my laptop. If I hard code the IP on the laptop it works perfectly to connect to the OpenWRt web server on the LAN interface. I just can't get DHCP to work on subinterface. Anyone else have this problem?

    • @andrewhigginbotham6860
      @andrewhigginbotham6860 ปีที่แล้ว +2

      I figured this out. You need to restart the DHCP/DNS service everytime you touch a sub interface.

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Hi Andrew, many thanks for sharing.

  • @MelroyvandenBerg
    @MelroyvandenBerg ปีที่แล้ว

    Zyxel is awesome

  • @ioannis69k
    @ioannis69k ปีที่แล้ว +1

    Great idea and very thoroughly presented, thanks.
    What about the Rpi3b+ ? That one can have the eth interface up to 200Mbps no ?

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว +1

      Hi Ioannis, yes - that should be feasible.

  • @LampJustin
    @LampJustin ปีที่แล้ว +1

    That's odd, normally you can just run resize2fs without doing any loopback stuff. You don't even have to reboot. But I guess maybe they didn't compile support for that to save space

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Oh - I will have to test that. I had tested it once a long time ago and got an error, then made a mental note to myself that I had to use loopback. But maybe that has changed or my test at the time was wrong. I‘ll give it another try- thanks for the feedback

  • @memadmax69
    @memadmax69 ปีที่แล้ว +2

    As mentioned in the vid:
    There are so many better options than RP for doing a SBC router.
    RP is just... Not there for starters with the single ethernet port.
    And now its so expensive.

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว +1

      Yes, I agree. It used to be great when it was cheap ;-) I just assume that people still have them in drawers ;-)

    • @memadmax69
      @memadmax69 ปีที่แล้ว

      @@OneMarcFifty I've got one running a couple of game servers(Rust and Valheim), RP4 impresses in this department.

  • @paulwoodward8265
    @paulwoodward8265 2 หลายเดือนก่อน

    I have tried several times, and I absolutely cannot get this to work. When I apply the changes in LUCI, I lose comms to the web interface and cannot get it back. Happens every time. There is nothing in the guide about where to plug stuff in or how the VLANs relate to subnets. Assuming we start with VLAN1 on all the managed switch ports, and the Pi listening on 192.168.1.1/24, does that mean that both VLAN1 and VLAN 99 are used with that same subnet? Am I expecting the Pi or managed switch to provide an IP address to the mgmt laptop via DHCP, or should I have a static IP allocated? Can you please clarify??

  • @believerd
    @believerd ปีที่แล้ว +1

    Question✋. What’s the difference between a traditional 802.1q set up and the new DSA setup?

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Hi, in the "traditional" mode, i.e. VLAN on the interface, you would tag/untag packets on the interface and then potentially bridge the interfaces. But you can still do that with DSA. The real change is not so much DSA but rather Bridge VLAN filtering, where you bridge all interfaces and then tag the packets on the bridge.

  • @javida8085
    @javida8085 7 หลายเดือนก่อน

    Hello, I appreciate your kind words. I really need your help due to the place I live in. I have a Mini PC N5095 with OpenWrt installed on it. It has three WAN ports, each connected to a separate internet link, and one LAN port and one Wi-Fi. My request to you is to create a tutorial video for the scenario I'm about to describe, so that both I and others facing the same issue can benefit from it.
    I would like to set up OpenVPN on each of the WAN ports and configure load balancing and failover between these three OpenVPN connections, so that I can utilize the combined bandwidth of these three connections on the LAN and Wi-Fi. Additionally, I want the scenario to include a kill switch, DNS leak protection, and an ad blocker.
    Thank you in advance for your assistance.

  • @JuanCarlosHerediaMayer
    @JuanCarlosHerediaMayer 11 หลายเดือนก่อน

    So cool!!!

  • @Christian_Ky
    @Christian_Ky 6 หลายเดือนก่อน

    Hi Marc!
    I appreciate your videos - they've been really helpful! I'm facing an issue reaching my PI and its associated services via IPv4 due to my DSLite connection. At home, my setup is TAE > Fritzbox (used solely as a modem) > OpenWRT > Pi (hosting services like NextCloud/Vaultwarden, etc.).
    The challenge arises when my mobile phone only has an IPv4 connection without IPv6. This prevents me from accessing my home network. I'm wondering if it's possible to use a VPS (I have one running Linux, specifically Ubuntu) to facilitate access to my home network through the OpenWRT router.

  • @antoniolcrd
    @antoniolcrd 2 หลายเดือนก่อน

    Hello sir! Wht abt a NFtables guideline vid?? Thank u for sharing such good content. 🎉

  • @RandomNullpointer
    @RandomNullpointer 6 หลายเดือนก่อน

    Hi Marc,
    Is there no way this can be done without the switch? If the Pi gets an additional NIC via USB, then.... oh, we still need the Switch to distribute to the LAN....

  • @SB-qm5wg
    @SB-qm5wg ปีที่แล้ว +1

    I've seen some 4port USB switch peripherals. I wonder if that would work here.

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Sounds interesting. Is that USB ethernet with integrated switch ?

  • @penne_best_noodles
    @penne_best_noodles ปีที่แล้ว +2

    can you please tell me where I can find the belkin RT3200? I search for a year now but nothing to be found in Europe / DACH

    • @d00dEEE
      @d00dEEE ปีที่แล้ว

      They've gone end-of-life and I think all the remaining stock is being sold in the US. You may be able to find the black one - Linksys E8450 - in EU, but the Belkin only appears to be available here (US$49 at Walmart for the past month or two).

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Difficult to get at the moment. Maybe look for the Linksys e8450 (identical) or for the xiaomi ax3200 which is approximately the same hardware but difficult to flash openwrt.org/toh/xiaomi/ax3200

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว +1

      Btw - I will do a big router test video very shortly, testing roughly 10 devices with OpenWrt;-)

  • @sobaannaseer7155
    @sobaannaseer7155 ปีที่แล้ว +1

    i have an old acer aod257 lying around, it pc is rated as 6 watts, i think it would be perfect for this sort of thing.

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Hi, let us know how it worked out ;-)

    • @sobaannaseer7155
      @sobaannaseer7155 ปีที่แล้ว

      @@OneMarcFifty it was going great, but i use jellyfin as a media server. and everyone in my house uses it. i couldnt able to access it with local ip. but i was being able to access it with public ip while being inside the lan. there was something going in l2 switching. i really dont have time right to learn about it right now, so i discarded the whole system, because not being able to access media server is a deal breaker for me.

  • @user-rz3zh2iu4r
    @user-rz3zh2iu4r 7 หลายเดือนก่อน

    Thanks Marc, very nice. Regarding disabling WAN access to the web i/f for the switch you can disable DHCP mode (on a Netgear managed switch) and set a static IP address which is on the LAN i/f. Haven't tried it yet but I think that should secure the device, what do you think?

  • @zaidanraufabidin7652
    @zaidanraufabidin7652 7 หลายเดือนก่อน +1

    Make video about how to do vlan from OpenWRT with managed switch please, I've been struggling to configure it 😥

  • @stbhg680p9
    @stbhg680p9 6 หลายเดือนก่อน

    There is tv box board, amlogic chip or the other
    Can subtitues rasp pi

  • @AnthonyDigi1205
    @AnthonyDigi1205 ปีที่แล้ว +1

    Vlans vs ethernet hub switch with many ports ???

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Hi Anthony, yes that's the concept. If you had an unmanaged switch then you could not tell the switch which interface goes to which port.

  • @Masoch1st
    @Masoch1st 7 หลายเดือนก่อน

    This did not work for me at all. As soon as I define the vlan in the switch, it breaks and I can no longer access the NUC to configure vlan in the nuc, or the internet for that matter. using an SG108E

  • @remyzandwijk
    @remyzandwijk ปีที่แล้ว +1

    It would be nice if the managed switch would/could also run OpenWRT (one type of software to learn configuring, frequent updates, etc.). @OneMarcFifty, do you have experience running switches with OpenWRT and can you recommend brands/types of switches which are available in Europe?

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว +1

      Hi Remy, basically you could use any old OpenWrt capable Router that has multiple Ethernet ports. If you browse through my older videos, I did this with an old Router already. I have been using an old Archer C7 for this for a long time.

    • @remyzandwijk
      @remyzandwijk ปีที่แล้ว +1

      @@OneMarcFifty understood. I am looking for a more ‘pro-ish’ kind of switch setup. 8+ ports, PoE, multiple ports running at line speed, that sort of stuff. Proper switch hardware that is able to run open source software. I know the OpenWRT hcl contains some switches, but they are either hard to get, running OpenWRT snapshot (which I consider unstable) or they have some quirks.

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว +1

      Ok, I see. I have never tried. Also-checking the OpenWrt forums, it looks like there is some support for the RTL838x chipset (like the zyxel gs1900) forum.openwrt.org/t/support-for-rtl838x-based-managed-switches/57875 but the chipset does not seem to be well documented. Also, the flashing process is not really well documented. You would need to find a switch with a very well supported hardware platform, but I am not aware of any…

  • @brendendiczhazy6668
    @brendendiczhazy6668 ปีที่แล้ว

    Hi marc your channl is awsome you always have the best content just when it seems like you might be running out of topics you manage to come up with another grate viedo. Could you make a viedo on installing openwrt on an android os if thats possible. I have an older android tv box i would like to install openwrt on. It stopped updating at android 4.4 and has 2g and 5g wifi so i figured that it might be a good thing to repurpose as a openwrt router. Thanks keep up the grate content.

  • @skyblaster7
    @skyblaster7 ปีที่แล้ว +2

    Please give FreeSWITCH a try before making any Asterisk videos. I've been running it for 14 years, but would love to see what you can do with it.

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Hi, I have no plans to make an asterisk video really, but I'll have a look at FreeSwitch. I am using Yate at the moment.

  • @kekkek358
    @kekkek358 ปีที่แล้ว +1

    Is there a good reason, beside the ability to reset, to choose squash vs ext4 on the rpi?

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      The advantages of Squashfs include compression, read-only access, and data integrity, while the advantages of ext4 include read-write access, performance, and compatibility.

  • @wilk36
    @wilk36 ปีที่แล้ว

    hi @OneMarcFifty, great video. For this particular setup, possible to have the rpi4 running in pi os, running docker container openwrt and pihole image, and set it up to a switch like in this video with the help of docker bridge network ? not sure if it make sense..

  • @user-yu5mg6po3b
    @user-yu5mg6po3b ปีที่แล้ว +1

    Question✋Can you do a video on installing Openwrt on Asus BRT-AC828 (IPQ 8065 platform) ?

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      I can't find that device in the table of supported hardware. Is it supported at all ?

  • @chrisbourne3543
    @chrisbourne3543 3 หลายเดือนก่อน

    I use Google a lot on my cell phone. Should I have a antivirus software?

  • @mashiniwami
    @mashiniwami ปีที่แล้ว +1

    Nice, but I am looking forward to Asterisk.

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว +1

      Hi Eugene, I am afraid that there will not be any video on Asterisk in the near future ;-( - I will rather have a look at phone tethering, i.e. use a mobile phone to provide fail over whenever your internet connection goes down. On an OpenWrt router, YATE is a great alternative (much more lightweight, but badly documented though...)

  • @paldo771
    @paldo771 หลายเดือนก่อน

    At this time. Raspberry Pi 4 or 5 is still expensive. Best to get a thin client like Dell Wyse, HP T series, or even a 2010 MAC Mini..

  • @dataandroid2036
    @dataandroid2036 3 หลายเดือนก่อน

    Hallo, gibt es eine Lösung um eine "Intel Wi-Fi 6 AX200" Wlan Karte auf einem x86 System zu aktivieren? (atueller Snapshot und im Ordner Firmware liegt der ......77.ucode) Kernel-Treiber sind geladen und der "iwlwifi-AX200" auch. Es tut sich trotzdem nichts. Der "Empfang" geht, es werden Wlan angezeigt, aber es kommt keine Verbindung zustande. Ich folgere das die Karte nicht sendet.
    Danke und Grüße

  • @pappuplumber6313
    @pappuplumber6313 6 หลายเดือนก่อน

    Hi is there any openwrt package for website session ? I want to use netflix session on my home network . Session copy

  • @vs4073
    @vs4073 ปีที่แล้ว

    In luci network-->interfaces-->devices-->configure inside the "Bridge VLAN filtering" tab the tags now say just "Untagged" and "Tagged" (instead Egress...) And is not a t or u, is a T and U. Is that a general change? Does it do the same?

  • @TheChadXperience909
    @TheChadXperience909 ปีที่แล้ว +2

    If you're building a router, then you'll need something with, at least, dual NICs... One for the WAN interface. I wouldn't trust my network to VLAN. It's possible to circumvent that.

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Totally agree. As I said in the beginning, I am not advocating this to ne a viable solution for an Internet router.

  • @jokerdecimal
    @jokerdecimal 6 หลายเดือนก่อน

    Thank you very much for your really impressive work, I have a piece of advice to ask you, I own a xiaomi 4A router version 100mbits which already runs on openwrt however it is quite limited on the ram and cpu side, I own a raspberry pi 3B+ that I bought second-hand for less than 10 euros, the question:
    I can gain in wifi power quality by combining the two openwrt on pi 3 and use the router which itself runs on openwrt as a wifi repeater vu que j ai les composants ? Y a t il des risques de pertes de performances ?

  • @jurgendewijs3635
    @jurgendewijs3635 ปีที่แล้ว

    Hi Marc for this great video. You are my go-to source for anything OpenWRT.
    On your comment on security I was thinking. Why not have the LAN traffic as untagged to the Raspberrypi and have only the WAN traffic tagged? In that way, the switch DHCP and management interface would be on an untagged port and thus not exposed to the internet.
    I am trying to get a similar setup with a FriendlyARM NanoPi R2S. I plan to use vlans for my guest and IOT networks but leave my lan untagged. As I understood the documentation from Openwrt you can actually do that.
    update: just configured my switch and R2S as i described and this works!!!
    Would appreciate your thoughts on this approach....

  • @GeorgeValkov
    @GeorgeValkov ปีที่แล้ว +1

    It would be interesting to see what speeds you can achieve with phone tethering, given the phone and router are powerful enough and the signal is good. My record was 66 GB in one hour using iPhone 7 Plus and LTE, WRT3200ACM. 700 GB in one month. Are the mobile plans in Germany suitable for my use case? 📲

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Haha - you know the answer to that, don't you ;-) I think that would cost a fortune ;-)

    • @GeorgeValkov
      @GeorgeValkov ปีที่แล้ว

      @@OneMarcFifty I'm afraid I do, I was hoping I wrong. I first saw unlimited data in Switzerland. Then it came to Bulgaria. 25€/month is a good deal.

  • @odhiambo0
    @odhiambo0 ปีที่แล้ว +1

    This video is very confusing and almost got me very scared about using fdisk.
    You installed a squashfs image and then ended up using a procedure meant for ext4 fs to growfs, it failed, but you did not point out the fact that you made a mistake. This would make someone to doubt the documentation. I have never used the squashfs image so this was my first time using it on RPi.
    Turns out the process is very easy: After writing the changes, you just need to reboot, then run 'resize2fs /dev/loop0' and voila.
    I suggest and edit 🙂

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว +1

      Hi Odhiambo, many thanks for your feedback. Actually I did not install squashfs on this system but rather ext4. Should have pointed this out maybe in the beginning. So I did use the right procedure (check time marker 17:37 - it shows an ext4 signature!). Now - with regards to the documentation - there is absolutely no reason to doubt in it, it works very well if you apply it in the right way. I had no intention to mislead anybody in thinking this could be erroneous. Where I did make a mistake was that I copy pasted all the commands even though the blog entry says explicitly to not do so. Many thanks for pointing this out - I did not pay attention to that. However - I find it a bit harsh (not to say unfair) to say that the whole video is confusing just because one screen cam/comment in the fine tuning section at the end of the video might be ambiguous. I mean, the video is mainly about dispatching VLANs to multiple Ethernet ports on a switch, not on increasing the file system using fdisk and resize2fs. Even though I watch my videos 3-4 times before I publish them in order to eliminate errors, they may still happen as I am only human after all ;-) Anyhow - thanks for your feedback, much appreciated!

    • @odhiambo0
      @odhiambo0 ปีที่แล้ว +1

      Your dd command showed you using the squashfs image, which makes it even more complicated. However, I did pick one nice lesson - about the ability to have the 'reset' in the squashfs image as opposed to the ext4 image. And I'll still have more to learn about vlans.

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Oooh - got it! I haven’t double checked on the dd command - totally missed that one! Because -of course - I used the pi imager. Good catch ;-)

  • @welliopedrodelima4782
    @welliopedrodelima4782 ปีที่แล้ว

    Hello everything is fine? very good your video. I already did this procedure on a Rassary-pi 4 8gb of ram. it turned out really good. I also did this procedure on a babana-pi mt7622 router. it was fine, but with openwrt I couldn't make the integrated wi-fi or the video HDMI interface work.

  • @dev4live313
    @dev4live313 ปีที่แล้ว +1

    in my country,
    managed swich much much more expensive than openwrt router
    so, many users set openwrt router as vlans switch

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว +1

      Hi, many thanks for the feedback. Yes, using an old OpenWrt Router is a viable alternative. Most routers only have 5 ports though. But I have used an old Archer C7 like this for a long time.

  • @diacritic8508
    @diacritic8508 ปีที่แล้ว

    I feel VLAN configuration in OpenWRT version 21+ à la DSA (ie. without the Switch tab on LuCI) got a bit unintuitive.
    For example if you used OpenWRT on the managed switch too instead of this Netgear device and it's own software, you'd probably define a br-lan device with VLAN 99 and 1000 both tagged on port 6 similar how you did at 8:20. That would mean OpenWRT would implicitly create two VLAN (802.1q) devices for those 2 VLANs ie. br-lan.99 and br-lan.1000.
    Now when you'd create a lan interface in OpenWRT for those 2 VLANs, you would need to select one of the existing devices br-lan.99 or br-lan.1000. Whichever you choose there will be 2 tagged VLANs on this lan interface, but when you look at the lan interface config it will say it's based on either br-lan.99 or br-lan.1000.

  • @guocity
    @guocity ปีที่แล้ว

    What is the best firewall and flow monitoring software?

  • @DemocracyManifest-vc5jn
    @DemocracyManifest-vc5jn 5 หลายเดือนก่อน

    The Pi in Europe is like astronomically more than it is in the US.

  • @melonmusk3976
    @melonmusk3976 8 หลายเดือนก่อน

    a RB260 tutorial?

  • @ChandrashekarCN
    @ChandrashekarCN ปีที่แล้ว +1

    💖💖💖💖

  • @RifatErdemSahin
    @RifatErdemSahin ปีที่แล้ว

    so the main goal is to use one port for 2 purposes?

  • @soorenapars
    @soorenapars 11 หลายเดือนก่อน

    hi and thank you, can you help us about increasing the disk size of openwrt which has installed on a vmware workstaion

  • @sawailkhansherwani
    @sawailkhansherwani ปีที่แล้ว +1

    My man what's up? Marc, I want you to make video on proxmox having containers like portainer or docker pi-hole true-nas jellyfin like building one machine that can do anything like sky is a limit. Pls respond I want you to make this video, it will be a guide for us beginners to make a home server which can do a lot of things.

  • @guocity
    @guocity ปีที่แล้ว

    Can you teach how to install openwrt in UEFI virtual machine in m1 Mac without compile entire openwrt?

  • @Radwan.Bohiba
    @Radwan.Bohiba ปีที่แล้ว +1

    How to fix bufferbloat on mobile android

    • @OneMarcFifty
      @OneMarcFifty  ปีที่แล้ว

      Hi, there will be a video on QoS/SQM soon.

  • @francocastilloAR
    @francocastilloAR ปีที่แล้ว

    Yo usaría esa RPi con OpenWrt para usar AdBlock o AdGuardHome. Tal vez, usar samba y otros servicios útiles.

  • @melonmusk3976
    @melonmusk3976 8 หลายเดือนก่อน

    I came to see vlans and saw an openwrt instalacion tutorial

  • @cesar0avelar
    @cesar0avelar 10 หลายเดือนก่อน

    The installation was demonstrated with the squashfs image, how could the card be resized with ext4 fs? How do I size my installation's squashfs partition?
    Grateful.

  • @AbcAbc-hn7nj
    @AbcAbc-hn7nj ปีที่แล้ว +1

    Router on stick

  • @AdrianuX1985
    @AdrianuX1985 ปีที่แล้ว +2

    +1