How to Configure OpnSense - vLAN, VPN, Port Forward, Firewall Rules, WireGuard, DHCP... - Part 2

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

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

  • @naveentechs
    @naveentechs 11 หลายเดือนก่อน +17

    Thank you mate, this is by far one of the best content for setting up OPNsense out there

    • @Jims-Garage
      @Jims-Garage  11 หลายเดือนก่อน +1

      Thanks, I really appreciate the feedback and donation.

  • @NaveenKumar-ty7ry
    @NaveenKumar-ty7ry 8 หลายเดือนก่อน +2

    Really a great tutorial for a opnsense beginner like me. Really enjoyed the crystal clear explanation and practicing the same with my homelab. Thank you so much friend.

    • @Jims-Garage
      @Jims-Garage  8 หลายเดือนก่อน

      Wow, that's extremely generous. Thank you!

  • @andykrull9297
    @andykrull9297 4 วันที่ผ่านมา +1

    Very thorough. Glad I bought my Firewalla.

    • @Jims-Garage
      @Jims-Garage  4 วันที่ผ่านมา

      @@andykrull9297 thanks. Still something I need to trial.

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

    Thanks! I've been struggling to put this together with proxmox and unifi. This was exactly what I needed.

    • @Jims-Garage
      @Jims-Garage  8 หลายเดือนก่อน

      Thanks, that's very kind

  • @adoolaard
    @adoolaard 7 หลายเดือนก่อน +3

    So, this past month i’ve been experimenting a lot with OPNsense (even bricked it once). The funny thing is, that i kept getting back to this video. Primarily for the VLAN’s, but also for the outbound VPN.
    This video is truly an all-in-one. Thanks Jim! I wish you all the best!

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

      Much appreciated 👍

  • @olsenlid
    @olsenlid ปีที่แล้ว +6

    50 minutes(!)
    Gonna enjoy this one later tonight. Thanks for all the videos recently :)

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว

      Sorry about that. I did put chapters to help out with the bits you care about.

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

      @@Jims-Garage It's a good thing. More through :)

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

    Extremely helpful.... You got me past some things that others clearly missed or overlooked or took for granted as known to everyone....

    • @Jims-Garage
      @Jims-Garage  3 หลายเดือนก่อน

      @@mikeburton6449 thanks, appreciate the comment.

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

    This is hands down the beat video covering OPNsense virtualized in proxmox. I was really struggling to understand the relationship between VLANs on the switch, the hypervisor, and the virtualized router.

    • @Jims-Garage
      @Jims-Garage  6 หลายเดือนก่อน +1

      Thanks, John , appreciate the feedback

  • @MarcMcMillin
    @MarcMcMillin ปีที่แล้ว +6

    Thank you for doing this series. It's very helpful!

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว +1

      You're very welcome!

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

    Tremendous work mate, I can only imagine what will episode 3 be 😊
    thank you

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว +1

      Thanks a ton! As mentioned, high availability!

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

    This is some GOLDEN content. Can't wait to watch episode 3! I'm digging through your channel more for anything and everything Proxmox related too. Thank you for the content!

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว +1

      Welcome aboard! I use Proxmox for the majority of my videos with some specific features like GPU passthrough, SDN, backup server

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

    Thanks for the intro to opnsense Jim, good pace and structure, speeding up at the end helped to keep the attention too 😊 very helpfull to get grips on this product. Good luck

    • @Jims-Garage
      @Jims-Garage  10 หลายเดือนก่อน

      Glad you enjoyed it

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

      I watched it in 3 sessions, so I was sharp all the way.

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

    Nice! Just in time. Have ordered a Zimaboard. Waiting for it to arrive and have some fun installing OpenSense.

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว

      Enjoy! Assume you have a PCIe NIC?

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

      @@Jims-Garage :/ not yet.
      I just have regular Fresh Tomato router/switch/ap (Asus ac66u) which will be downgraded to switch/ap. It is 1G, so I assumed the Zima will suffice to start learning.
      In the mid (long?) run I will upgrade to 2.5G or maybe 10G and just there will see to upgrade via a PCIe or move to something else.
      Do you reckon it might be short with this current setup?

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

    Solid run through as always Jim. Thanks :)

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

    Awesome series! Thanks again for all your videos.

  • @Pichon099-wc4wg
    @Pichon099-wc4wg 3 หลายเดือนก่อน +1

    Fantastic video! This helped a lot, Jim. One note, at 27:48, I think you meant OpenVPN, not OPNsense.

    • @Jims-Garage
      @Jims-Garage  3 หลายเดือนก่อน

      Yes, think so. This one was a tough one to record, sent me a bit mad 😂

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

    Thanks for such a detailed tutorial! I have a noob question. If i set LAN to be 192.168.0.1/16 (so subnet is 255.255.0.0, and if I have WAN ip from my router 192.168.1.15, will there be some kind of conflict?! If I want to separate my LAN in subnets, should I maybe go to 10.0.x.x/16 address range to avoid conflict?! Thank you in advance!

    • @Jims-Garage
      @Jims-Garage  8 หลายเดือนก่อน

      Wow, thank you for the generous tip (not sure why your comment was automatically filtered)... Looks like you're double NAT, are you able to set the ISP router to modem only or use PPPoE? If not, yes, I'd change your subnet to 10.0.0.0/16 to make things simple. You can also use 172 if needed.

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

    In the part one. vmbr0 has CIDR: 192.168.200.75/24 and its gateway is 192.168.200.1.
    I don't understand why when you assign OpnSenseVM1 (vmbr0 is the Network devices) MAC address to the Firewall, OpnSenseVM1 will have new range of IP (192.168.1.40) as at 7:25
    Where did I miss ?
    Thank you.

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

      I'm thinking the same thing. His OPNsense LAN was set to vmbr7 and he removed vmbr0 from the OPNsense network. How could the OPNsenseVM1 and 2 that are on the vmbr0 connect to the OPNsense? His video is my first video learning OPNsense and I start to confuse. 😿

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

    I enjoy your OPNsense content. Very helpful!

    • @Jims-Garage
      @Jims-Garage  8 หลายเดือนก่อน

      Awesome, thank you!

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

    Danke!

    • @Jims-Garage
      @Jims-Garage  6 หลายเดือนก่อน

      Thanks, that's very kind

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

    im still personally having a nightmare getting my opnsense esx install to talk to pppoE with vlan10 tagging... but as soon as thats sussed, i now know how to do all the fun stuff! cheers!

    • @Jims-Garage
      @Jims-Garage  4 หลายเดือนก่อน

      @@davidhine8870 I've no experience with esxi but make sure that the NIC is vLAN aware

  • @jaxwylde2139
    @jaxwylde2139 14 ชั่วโมงที่ผ่านมา +1

    Hi Jim, recent subscriber (from Canada), and really enjoy your content / teaching style. I have two questions:
    1) Curious to know why you decided to use OpnSense vs doing this through your existing Unifi Network Infrastructure (maybe this is a topic for future video...if not already done).
    2) Did you take a specific OpnSense online course (that you can recommend), or simply learned by experimenting / watching multiple online vids / reading guides, etc? Cheers.

    • @Jims-Garage
      @Jims-Garage  14 ชั่วโมงที่ผ่านมา +1

      Hey, thanks for subscribing and welcome.
      1) A few years back I had a UDM-Pro. It was OK, but pretty basic so I moved onto others (Sophos, OPNSense). Since then the UDM-Pro and subsequent models have improved considerably so my main points are likely no longer valid.
      2) No, albeit I'm reasonably technical so most of the concepts are transferable between firewalls. I simply make reference to a lot of the official documentation and forums where possible.

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

    Спасибо! Изучаю возможности OpnSense и Ваше видео очень помогает!

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว

      Great, glad it helped.

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

    Thanks for the vid! I ordered bare metal and ap(EPA610). I will be trying hard to get out of deco mesh and control my network!

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว

      Awesome, that's great 👍

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

    I switched to NordVPN and used the guide. Works well.
    How can I incorporate my Pi-Hole into OPnSense using NordVPN at a router level?

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

    I think the 47:43 "Exploit Cisco Telnet Buffer Overflow" and others is unnecessary when you don´t have a Cisco switch etc. I am right?

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

    I love your videos; they are so informative! Also, extremely helpful. Any chance you can provide one for setting up openvpn for a vlan?
    I was successful with applying things from this tutorial but would be intrigued to see how you do it.

    • @Jims-Garage
      @Jims-Garage  4 หลายเดือนก่อน

      @@NorthVegas thanks, I'll look into it.

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

    Thank you so much for making this lovely video!!.....👍

    • @Jims-Garage
      @Jims-Garage  9 หลายเดือนก่อน

      Glad you liked it!

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

    Thanks Jim, awesome video!!! Well explained. BTW my OPNsense is running in proxmox with q35 and OVMF. so far no issues with that configuration

    • @Jims-Garage
      @Jims-Garage  11 หลายเดือนก่อน

      Great to hear! Thanks for confirming

  • @dreamkiss
    @dreamkiss 7 หลายเดือนก่อน +2

    I am moving away from Watchguard to OPNsense this video is fab to run though all the basics hopefully you will have more videos to watch after this one.

    • @Jims-Garage
      @Jims-Garage  7 หลายเดือนก่อน

      Thanks, I will likely do more OPNSense content in the future as I'm now using it.

  • @julioa.7438
    @julioa.7438 2 หลายเดือนก่อน

    Congratulations on the video... one question, what is the argument (openvpn connect) for starting automatically and connecting to the task scheduler? Thanks. Hugs from Brazil

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

    I liked the video, but I got stuck at 36:11 when I tried to fill out the android Wireguard client details. Thanks again!

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว

      Which bit were you stuck on? I assume which parts go where?

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

    Hi James, thank you specially for great, neat and commented repos. 👌

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว +1

      You're welcome, and please submit PRs if you see any errors. Thanks

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

    The amount of config for NordVPN was a bit overwhelming for me. But yeah I'm learning, great video!

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

    Straight over to dark mode. Thank you thank you

    • @Jims-Garage
      @Jims-Garage  6 หลายเดือนก่อน

      @technotim would be proud

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

    Briliant. You earned a sub from this network noob. Wish i did more research with access points. I bought the TP-link deco6e so i could take advantage of 6ghz for my phone and future devices. Only to get frustrated by not being able to connect it to my baremetal Opnsense setup. Back to the drawing board. Lots to learn but it's been fun. Thanks for the educatoinal vids.

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว

      Thanks, you're welcome. Why can't you connect it to OpnSense?

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

      @@Jims-Garage I was able to figure it out and got it working. It just gets more complicated from here … lol. But fun.

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว +1

      @@JasonEala great 👍 if it's easy, you're not trying 😂

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

    So on 35:52 you set the firewall rule to accept ports 0 (any) through 51580. Shouldnt this be 51580-51580?

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว +1

      You could do that, and then make sure that the client only uses those ports. However, the source port could be anything (typically).

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

    Would you be able to cover solutions for folks like me that can't bridge their router or put it into modem only mode? I was going to DMZ from the router to OPNSense of SophosXG but I'm not sure how safe that is. Thanks!

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว +1

      That shouldn't be too big of an issue, you're basically double-NATed. Just pput everything behind Sophos or OpnSense and it's effectively the same thing. You'll need to do any portforwarding twice though on both routers.

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

    impressive tutorial, thanks.
    Is possible to use a LAN dns in Wireguard client ? because it seems to accept only public DNS

    • @Jims-Garage
      @Jims-Garage  11 หลายเดือนก่อน

      Yes, just make sure you have the right firewall rules. When connected via WireGuard I use my PiHole.

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

    Great video Jim. What is the reason for using Wireguard and NordVPN? Wouldn't is be easier to have just one?

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว +2

      Thanks. Check the video carefully. WireGuard is for connecting home, NordVPN is for routing entire subnets over a VPN.

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

    What completely throws me off in this guide is the two additional OpnSense VMs appearing out of nowhere at 5:38. Does anyone know what's the deal with them?

    • @Jims-Garage
      @Jims-Garage  5 หลายเดือนก่อน +1

      They're simply 2 VMs I created for the video to demonstrate DHCP, vLANs, firewall rules etc.

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

      @@Jims-Garage Ah, I see! Thank you for clarifying!

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

    hey, Jim.. Could you tell me? The fact is that there are restrictions on the Tail scale side, I can't download from their website and update the application both on Windows and on other devices.For example, an openwrt router.
    But everything works fine on the installed devices. What would you do if you need to put a package on the openwrt router, but according to the instructions from the site it will not work?
    The first option that I think is to give to the vpn router, and thus circumvent the restrictions. The second option, as I think, is to do it via the offline method, download the package and manually install it. Could you tell me more about it and show me? I do not know how to connect a vpn router to openwrt. And how to download the package from the website, copy it to the router and install it through the console?

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว

      Sorry, I'm not sure off-hand. I'll need to look into that. OpenWRT is something I want to cover in the future.

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

    Nice vid Jim. What would be interesting is if you could take the existing Terraform Providers, convert what you did manually (pressing/toggling buttons and configuring using typed in values), and convert it to follow standard IaC principles. While I do appreciate the amount of content you provided, I sat here reading through what the public Terraform providers for Opnsense provided and honestly, it'd be easier to take the entire manual config, set values in a .tf file, and just apply to an Opnsense deployment within seconds. It'd also be a template all your viewers could use to configure their labs with whatever values they'd like to use.

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว +1

      I agree, once you understand it that's the way to go. I wanted to introduce it and hopefully explain what things do though. It's definitely a great idea for a future video.

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

      Amen to that! Doing the clicky click-through definitely has its educational value. Looking forward to future vids mate!

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

    Hi Jim, no IP address in host aliases (field "content")? No hostname in reservations? So you don´t have a firewall defind relation between reserved hosts and aliases. I would recommend it!

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว +1

      Thanks for pointing out, that makes sense. Must have missed it when recording!

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

    Great tutorial! Please do explain how to access modem web gui on bridge mode. Many tutorials I found use PPPoE and I have a DHCP connection. I tried unblocking bogon networks with no luck.

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว +1

      Is your OpnSense connected to the ISP in bridge mode? What is the internal IP address of the ISP router (likely on its own subnet)?

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

      @@Jims-Garage Yes to bridge mode. ISP is on 192.168.1.1 and Opnsense is on 10.0.1.1

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

    Wrt to the NordVpn setup, what would one have to do to restrict selected devices to use NordVpn, while the rest use the regular ISP and provided network.

    • @Jims-Garage
      @Jims-Garage  5 หลายเดือนก่อน

      Use a vLAN and put the device exclusively on that.

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

    Do you have a video for outbound VPN only one on specific LAN/VLAN? For example, say I want my trusted network to use my WAN gateway, and my guest network to route out via OpenVPN to Switzerland? I think I followed this enough to understand how to do it myself, but any help you can offer would be appreciated.

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

    Wonderful videos, keep it up!!!

    • @Jims-Garage
      @Jims-Garage  4 หลายเดือนก่อน

      @@chrischausse7232 thanks

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

    I really appreciate the methodology you use-your videos are fantastic! However, for beginners, the two existing OPNsense VMs can be a bit confusing. Part 1 was easy to follow, but I’m concerned that Part 2 might not be as straightforward. Still, congrats for your amazing work developing these tutorials.

    • @Jims-Garage
      @Jims-Garage  3 หลายเดือนก่อน +1

      @@JoelFabiani thanks. IMO there's a point at which you need to know the basics. You shouldn't be dabbling with firewalls etc if you are completely green, you'll likely do more damage 😂

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

      @Jims-Garage makes sense. Thanks again Jim.

  • @faisaltaufiqAbdi
    @faisaltaufiqAbdi 3 หลายเดือนก่อน +2

    which one is better? , to put opnsense before mikrotik or to put opnsense after mikrotik, the purpose is to protect Local Area Network and server, thanks before

    • @Jims-Garage
      @Jims-Garage  3 หลายเดือนก่อน +1

      @@faisaltaufiqAbdi OPNSense before, unless you're doing HA in which you plug the wan into a vLAN on the switch.

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

      @@Jims-Garage Thank you brother

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

    I just subscribed because of the Rebellion tip.

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

    Great content! However, for some reason my LAN clients don't have internet access anymore when wireguard is enabled and a peer has the allowed IPs set as 0.0.0.0/0.... When allowed IPs contains any other values, there is no issue. Any thoughts? "DNS Probe started" is the error message I get in the Chrome browsers.

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

      Me too. So what should we enter in the Allowed IPs field?

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

    Might be completely obvious, but maybe it helps someone: Port tagging appears to be only a thing on managed switches.
    Question: Is there a way to set this up with an unmanaged switch? Managed switches seem to be fairly expensive and I'm not quite sure whether I want to make that investment yet.

    • @Jims-Garage
      @Jims-Garage  5 หลายเดือนก่อน +1

      No, sadly not, that's why they're more expensive.

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

      @@Jims-Garage I see, thank you Jim! AliExpress to the rescue then! 😅

    • @Jims-Garage
      @Jims-Garage  5 หลายเดือนก่อน +1

      @@FredoLunivar it's a double edged sword. Might be better to invest in something more reputable. If you simply need basic 1Gb managed switch I recommend the Netgear ones.

    • @andyturner605
      @andyturner605 3 วันที่ผ่านมา

      @@Jims-Garage Wondering if I can simply skip the port tagging, I'm on an unmanaged switch, Great content though.

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

    Im wanting to follow this but i havent been able to get order a wireless Ap for wifi yeat i am going with Unifi though. Holidays made me broke so i just havent been able to purchase one yeat. But any chance have you made a video on how to integrate unfi AP to opnsense to have wifi because i almost did this setup but then i forgot how would i have wifi?

    • @Jims-Garage
      @Jims-Garage  11 หลายเดือนก่อน +1

      Hey, simply plugging the AP into the switch is all you need for it to "work". You then control it via the unifi controller. I'm going to do a video on this later. Just needs to be able to reach it.

  • @somesomea7391
    @somesomea7391 10 หลายเดือนก่อน +2

    Why do you use VLANS if you create a rule to allow the VLANs to speak to each other? Isn't the point of VLANS to separate traffic and improve security? Would subnetting be a better solution?

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

      It's more a demonstration of how to create them. You can add whichever rules makes sense for your setup.

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

      Because with routing rules you can limit what that device can or cannot access on a separate network. If they're all on the same network, then that device has access to everything.

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

    Any chance you would know how to setup multi wan failover or load balancing using unbound dns. I want to use unbound for its better security, but can't seem to get it to work. After setup, when I pull the main wan cable and it never switches over to the secondary wan connection even though I have, system ---> settings ---> general ---> "Allow default gateway switching". checked. Any help would be greatly appreciated.

  • @Tmacs-yp6vv
    @Tmacs-yp6vv 2 หลายเดือนก่อน +1

    Are there any disadvantages of running opensense as a proxmox vm?

    • @Jims-Garage
      @Jims-Garage  2 หลายเดือนก่อน

      If you're running more than 10Gb you might see a small performance loss, otherwise everything is a bonus over physical IMO.

    • @Tmacs-yp6vv
      @Tmacs-yp6vv 2 หลายเดือนก่อน

      Thanks! And could you use only one physical network adapter for both lan and wan?

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

    Sophos vs OpnSense - which one do you recommend for a home environment?

    • @Jims-Garage
      @Jims-Garage  10 หลายเดือนก่อน

      They're both great, I use Sophos XG

  • @emanbuoy7673
    @emanbuoy7673 8 วันที่ผ่านมา

    question, for the opn vpn settimgs,i see that ypu are routung your lan network via nordvpn so ypu arw protected, how would ypu configure it ir you had say 2-3 vlan. how woule you aet that up so all of the vlan+lan also use openvpn when assessimg the internet.. also how do ypu configure it so that you retain communication bettween the vlan while routing over vpn..
    i am currently trying to archive above but with wireguard+mullvad vpn but i keep gettimg stuck and alot of thw guides ate lowkey outdated... i ill really appreciate your help.. ty

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

    When I try to portforward I have to change the destination to wan address to get it to work, otherwise the port remains closed for me.. is this right?

    • @Jims-Garage
      @Jims-Garage  6 หลายเดือนก่อน

      Yes, that's correct.

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

      @@Jims-Garage Ah alright, was confused because in the video it was lan address.
      Thanks, love your content!

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

    Hope it's not rude to ask, but do you use a script? It doesn't look like you are reading from a script as your voice tempo is so natural but on the other hand I'm genuinely impressed at how densely packed (i.e. waffle-free) and how well-planned your topics are. Also there's a wealth of background understanding of networks behind what you are saying and it seems to underpin all you say / do / advise - I recognise a lot of this as I'm relatively experienced in network management / planning, but you are very good at communicating that. I'm sure it's possible to just freestyle like this, but if that's what you are doing then that's even more impressive. (It's what I tend to do as I'm lazy, but I end up being far more waffly.)
    Also - quick note to acknowledge what many people here probably already know: there are tonnes of stupid American videos on OpnSense. I have watched a lot of them and literally not a single one (bar Dave's Garage channel) touches on any of the technical detail I'm actually wanting to learn about. Maybe they just assume people will learn themselves, and they basically just bang on about getting the best hardware etc., maybe they are mostly sponsored? It's annoying. Also why do Americans always shout at the camera, it's so tiring to listen to. Your videos are far more peaceful and enjoyable, really.
    I found myself watching your first OpnSense video after I'd already installed it on Proxmox myself (and questioning whether it was even a sensible idea to do this as a VM at all) and laughed at every detail which I had already done the same, down to the exact amount of virtual memory 4096 and disk 32GB I had assigned... uncanny!)

    • @Jims-Garage
      @Jims-Garage  หลายเดือนก่อน

      Hey, really appreciate the feedback. I do not script any of my videos, just have a few bullet points in my head of what I'm setting out to do.

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

    Flashbang warning at 2:07 🤣

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

    Nice video and Merry Christmas can you create also a opensense waf naxsi?

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

    Thanks for this nice video. It might be helpful to share the Google Backup link to docs opnsense at 49:49. Tested, works! 😉

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว

      Thanks, I'll look to add!

  • @Julian-lv6ph
    @Julian-lv6ph 7 หลายเดือนก่อน

    I have Adguard Home using port 53. What do I need to do to have them both working?

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

    Can you run entire subnet thru a proxy ? To get static ip ?

    • @Jims-Garage
      @Jims-Garage  9 หลายเดือนก่อน +1

      Yes, you should be able to.

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

      @@Jims-Garage thanks , and is it better to run like opensence on old pc witj network card installed than use my isp router in accespoint mode plugged in my switch ?

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

    When I checked Enable WireGuard, my LAN network stops working, like the DNS resolution.

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

    Is it normal that my upload/download speed drops to almost half when IPS mode is enabled?

    • @Jims-Garage
      @Jims-Garage  6 หลายเดือนก่อน

      Yes, unfortunately. I believe suricata is single threaded. Only way to boost is likely a faster core clock but it won't work miracles.

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

      I changed the pattern matcher to hyperscan, and that improved my up/down speeds to what is was without IPS enabled! Is there any downside to hyperscan?

    • @Jims-Garage
      @Jims-Garage  6 หลายเดือนก่อน

      @@raylab77 I'm not familiar with it, I suspect it's either using some hardware acceleration, or it's not doing as thorough scan.

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

    Thank you so much for this Video

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

    could you run through ipv6?

    • @Jims-Garage
      @Jims-Garage  6 หลายเดือนก่อน

      Thanks, I'll cover that in the future

  • @aselolelole7267
    @aselolelole7267 28 วันที่ผ่านมา +1

    what is the aliases for?

    • @Jims-Garage
      @Jims-Garage  28 วันที่ผ่านมา

      @@aselolelole7267 a friendly name instead of a port or IP number

  • @-rm-rf
    @-rm-rf ปีที่แล้ว +1

    Really good one! Almost feel like trying it out.. if only I didn't join the ecosystem ^^

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว +1

      You're sucked in now... You belong to Ubiquiti ;)

    • @-rm-rf
      @-rm-rf ปีที่แล้ว

      We both know who is to blame for that @@Jims-Garage ....Jeffrey!!!!!!!!

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

    Thanks for the videos, great stuff, I haven't got past the VLANs on this tutorial yet. I must be doing something wrong as I can't get the VLAN DHCP server to give out any IPs. Since I'm not setting up a cluster I didn't give my OPNsense VM a static IP, I didn't understand why it would need one, as I thought it's IP is already the gateway IP? But I did the rest of the VLAN setup and have my Cisco router trunked for VLAN 1 and my VLAN 66 on 2 ports to 2 Unifi AC Pro APs, but it can't use the vlan. I also tried to set the Cisco vlan 66 only on one port and hard wired to it with a laptop, it that didn't work either. So DHCP doesn't seem to be working. Does anyone have any thoughts?

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

      For anyone having the troubles as me, I figured it out. I didn't have my Cisco port that the opnlan cable connects to trunked for the vlan, I just had the ports for the APs. Once I setup the port trunking for the new vlan for the lan port, then all went well!

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

    As you can see, the allowed IPs section is wrong 31:31 and corrected it at 31:43. There are so many mistakes in this section, including the way he used the private and public keys. He ultimately got it to work but never bothered to show us the right way to do it or the final configuration for it which resulted in a huge waste of time for me personally. Do yourself a favor and look for how to set up an inbound Wireguard server on OPNsense somewhere else.

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

    super nice but setting the vpn client on opnsense is kind of... sophisticated. Yes, I know, such firewall is sophisticated by itself, but still, it could have been a bit easier to get more people on board.
    Btw both are very useful: vpn server on opnsense and vpn client on opnsense. Let me try both with wireguard.
    btw you picked up "wrong" port of wireguard because:
    "It is scheduled to be removed on or after 2023-12-31."

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว

      Thanks for sharing. I agree it's quite involved, would be great if there was a NordVPN plugin (perhaps there is somewhere on GitHub) that had a web GUI.

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

      @@Jims-Garage no, NordVPN is only one of many - I think the issue is: configuration in too many places. If all parameters were on one card...? It would be easier. No, NordVPN plugin would make it biased. ;-)

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

    Hey man, don't leave out ipv6.
    More ipv6 please

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว

      You're right, something I want to play with later.

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

    I was expecting the IDS to be explained in detail but sadly you overlooked most of it. What a shame. For the rest of the video... Great job!

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

      It's ok, he put it on the wrong interface anyway. Putting it on the WAN just causes a lot of headache managing attacks that will never make it past your firewall anyway. Put your IDS on the LAN so it only detects an actual intrusion.

  • @bernzigruber
    @bernzigruber 10 หลายเดือนก่อน +2

    I appreciate your work, but the WireGuard configuration is unfortunaltely wrong.
    1) You need to copy the public key of the WireGuard CLIENT (windows, android, etc...) to the public key field of the peer in OPNsense, not the servers (instance).
    2) If you configure a WireGuard interface (which you do not need necessarily), you can spare the outbound nat rule. Firewall rules are sufficient to reach e.g. the internet.
    3) The allowed IPs field at the peer, has nothing to do which ip the clients can reach. It relates to the clients ip address (which client is allowed to connect).

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

      I have another issue with the Wireguard setup from this walk-through: when I configured it this way up to creating a peer, all outbound trafic form LAN to WAN stopped working. It took me some time to find out why that was happening and when I deleted the wireguard setup and wireguard interface everything worked fine again.

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

      Yeah this is so frustrating. Copying the instance's public key into the only peer's public key field is just wrong and someone new to wireguard are just going to have a miserable time setting things up if they watch this video. There's just so much confusing and wrong information about wireguard. Why even make a video if you're just going to add to the confusion.

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

    WHere is part 3?

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

      Maybe you start numbering the videos better..

  • @danmoscatt3636
    @danmoscatt3636 9 หลายเดือนก่อน +5

    Good video overall but you skipped over some key parts during setup, you assumed knowledge of Wireguard client AND you didnt show in YOUR Nord setup what values you were inputting. Like you said it was taken from the NORD config, yeah sick but WHAT was taken!! Took me so long so try and figure out what lines I needed to use. Try not to gloss over small stuff, video is 50mins long anyway, another 2 mins cant hurt :)

    • @Jims-Garage
      @Jims-Garage  9 หลายเดือนก่อน +3

      Thanks for the tips! I have already covered VPNs extensively in the past and people can find them. Unlike most others my videos are somewhat sequential.

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

      ​@Jims-Garage valid point, then when you mention the other video, please put a link on screen.
      I appreciate your hard work!

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

    hol up........i thaught the whole point was to REMOVE and REPLACE the isp router with the opnsnese box.

    • @Jims-Garage
      @Jims-Garage  4 หลายเดือนก่อน

      @@kazadori164 usually you need to put the ISP router in modem mode or bridge it. It's rare that you can fully remove it (even if you replace it with your own).

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

      @@Jims-Garage so , i can't replace a failing Best Buy router with the Opnsense box? I'm not referring to the modem that connects a router to the internet, whether it's cable dsl or fiber.

    • @Jims-Garage
      @Jims-Garage  4 หลายเดือนก่อน +1

      @@kazadori164 yes, you can. That's what this video is doing. I've installed it in a VM here, but you can also install bare metal on a new pc etc.

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

      It really depends. ATT requires their router to auth on their network. It's a significant hassle to emulate the auth step. Google is easier.

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

    Lol. When port forwarding, you said its dead easy... Thats not dead easy in my opinion. My old router was easy, this is hard, but doable. I guess it all depends on what once skill lvl is on..

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

      If you're just starting out I recommend Sophos XG - it's much simpler and most things are done with a wizard.

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

      @@Jims-Garage oh, i hoped this was a plugin.

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

    🙈You keep saying excetera, but it's literally Et cetera

    • @Jims-Garage
      @Jims-Garage  2 หลายเดือนก่อน

      @@moortu I know, I remember from Latin. Perhaps my pronunciation is problematic.

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

    I thought this was supposed to be a beginner video.

    • @Jims-Garage
      @Jims-Garage  6 หลายเดือนก่อน

      It is, it's the second part. There's a minimum level of knowledge you should have before thinking about running your own firewall.

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

      @@Jims-Garage I already run a Mikrotik Hex with 4 VLans; I appreciate your efforts, but couldn’t find what I was looking for.

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

    +1