How to Install OPNsense firewall

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024

Комментарии • 47

  • @DavidMcClanahan
    @DavidMcClanahan 10 месяцев назад +1

    I love your choice of background pictures on the wall behind you. Those women are so iconic! Thanks for the video as well.
    As a retired software developer, engineer, and system architect I have needed to make this jump to a firewall/router of my own making for some time, as my off the shelf Linksys has long been without any security updates. This is probably the main reason we should all consider making and configuring our own, assuming we have the fundamental understanding of what makes it all tic. Your average user really has no clue and should probably use whatever their ISPs can provide. Those of us in the know understand those are not adequate either to really protect our internet lives, though complete internet safety is, as we all know, a myth. Making our own is the best we can do though. Thanks for the pointers.

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  10 месяцев назад

      No idea why, but that iconic photo of Ms Hepburn was the start and after a while I felt the wall was missing something so...
      Anyway, good to know the video was helpful
      And given the way things are going, open source seems to be the way to go

  • @daraghgraham
    @daraghgraham Год назад +3

    Just recently found your channel while looking for info about USB passthrough. Great videos, and very thoroughly explained! Upgraded one of my server hosts at work to XCP-ng from XenServer after watching it :) We recently purchased a Protectli with OPNsense for our main site and are setting it up. I hope you explore some more of the configurability in future videos! :D

  • @drreality1
    @drreality1 Год назад +5

    Another great tutorial
    I know that u may not prefer to use virtual firewall as your main one. Nonetheless, I’d be greatly appreciate a tutorial on how to harden proxmox and use pfsense/opnsense as the main home router
    Many thanks

  • @jibberjabber6919
    @jibberjabber6919 Год назад +2

    Love your channel. Please keep making videos.

  • @BACKSPIN9ball
    @BACKSPIN9ball Месяц назад +1

    the annoying thing about both open sense and pfsense is that there is not enough guidance out there as far as managing it, it seems all the content out there is a fork of the installation process.No one is making structred content on how to really really use it.

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  Месяц назад

      I must admit I've only covered High Availability and ZenArmor for opnSense
      Although I did do firewall rules in general in other videos
      I'll have a look and see what else I might be able to contribute, but I like to keep things simple so I only run it as a basic firewall
      If you start adding extra features to a firewall, like making it your DHCP server, you reduce the security because you're exposing it to more potential bugs and vulnerabilities on the internal network

  • @robertwestinghouse4098
    @robertwestinghouse4098 11 месяцев назад +1

    Loved your straight forward approach. Although I had to download it and watch it as OPNsense would not connect to the internet. Where is the next instalment? How to connect/protect from/to the internet. I am not really excited about pulling our the cable every time I want to print, watch a video or connect to my other PC's on the network. What is the next set of instructions.

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  11 месяцев назад +1

      Thanks for the feedback, much appreciated
      I suggest checking out this video which covers the basics of firewall rules
      ruclips.net/video/PBLFYvUIU54/видео.html

  • @b4g4b3l
    @b4g4b3l Год назад +2

    you could also use a stick with ventoy instead of rufus, thanks for the videos

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  Год назад

      That's an interesting option but few details about who actually makes this

    • @b4g4b3l
      @b4g4b3l Год назад

      @@TechTutorialsDavidMcKone there are a lot of videos about ventoy, look it up... been useing it for 3-4 years...i just made an 32gb stick with it, then i copy paste all my iso files on the stick, and you can boot anything you want from just that 1 stick... no more 1 stick for windous 10, 1 for win11 and 1 for linux :)

    • @julian.morgan
      @julian.morgan Год назад

      @@TechTutorialsDavidMcKone Actually I just tried to use my Ventoy USB stick to install OPNsense this afternoon and it doesn't complete the initial stage. Now that could easily be my fault using Ventoy wrong - but the fact is that when I just burned the OPNsense image to its own flash drive in the normal way, using Etcher, it completed without issue. That all said, Ventoy is fantastic working 90% fo the time, even for me.

  • @TheInspiration152
    @TheInspiration152 9 месяцев назад +1

    Hi sir, would like to ask if the device can handle 100 computer unit? Thanks for you tutorial. It's a big help...

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  9 месяцев назад

      I'm not quite sure what you mean by 100 computer unit, can you rephrase the question please?
      If you're asking can OPNSense handle the throughput of 100 computers then it depends on the computer the OS is installed on, how many CPUs and how much RAM it has, how fast the network interface is and so on

    • @TheInspiration152
      @TheInspiration152 9 месяцев назад

      Yes sir i mean the troughput. I am planning to use this device as firewall server for 100 computer if it can handle it. The device would be.
      Celeron N5105(10W TDP) Fanless Mini PC 4x Intel i225/i226 2.5G LAN
      CPU: Intel Jasper Lake Celeron Processor N5105, 4 core 4 threads,64 bit, 10nm, 2.0GHz up to 2.9GHz, 4M cache
      RAM: 16GDDR4 2666MHz
      SSD: 256GB M.2 2280 NVMe SSD.. thank you sir..

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  9 месяцев назад

      @@TheInspiration152 As a rough guide it's best to check the vendor's website
      docs.opnsense.org/manual/hardware.html
      That seems to suggest the computer specs would be fine for 100 users, but they can't account for things like traffic throughput or CPU load due to encryption like TLS hand off or VPNs
      E.g. if all the computers operate at the same time and have 1Gb network cards for instance the firewall may be limited by its own interface capacity and so can't cope
      On the other hand, if they mostly access the Internet through the firewall and that's limited to 1Gb, then the firewall will probably be fine because the limit is now the Internet connection
      Another challenge is if you plan to use encryption services as they place a lot of load on the CPU
      Again you need to know how much of that traffic will be in use to understand if the firewall would cope
      If it's a new network, you just don't know and all you can do is install the firewall and see if it copes, if not then it will need upgrading
      But if it's an existing network, the assumption would be there is already a firewall in place for instance to provide the details

    • @TheInspiration152
      @TheInspiration152 9 месяцев назад

      @@TechTutorialsDavidMcKone thank you sir. I'll give it a try on the device i mentioned then if it will not work, probably i will to upgrade. 🙂🙏

  • @terrelldavis4856
    @terrelldavis4856 Год назад +1

    Having an issue getting a Wan IP ....plugged in an ethernet cable and restarted the router and then the laptop with Opnsense downloaded
    Still no Wan IP appears

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  Год назад

      It needs to obtain that IP address from a DHCP server
      Otherwise you will have to give it static IP address

  • @DanielMateuss
    @DanielMateuss Год назад +1

    Hi David, great tutorial and very well explained however it doesn't work on the physical PC, I am able to create the installation USB boot from USB, install and when it reboots, there is no operating system available, and I did try the UEFI and the ZFS with no luck and also checked the legacy/UEFI options on the computer BIOS, do you know for this type of installation is there anything missing on my side? Cheers, Dan.

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  Год назад

      That's odd as I checked it on my laptop
      What type of storage did you install it on?
      And is that at the top of the boot order of the BIOS?

    • @DanielMateuss
      @DanielMateuss Год назад

      I did use 3 different storages to install
      1 SSD 128gb
      1 Toshiba HDD sata 500gb
      1 Seagate Barracuda 500gb
      I also created the boot use from 2 different usb (same steps)
      Boot order
      HDD/SSD always on first
      Tried all
      Boot Mode Auto
      Boot Mode UEFI only
      Boot Mode Legacy only
      I am using a lenovo computer i5 with 8gb ram and last bios update is 2014

    • @DanielMateuss
      @DanielMateuss Год назад

      Xubuntu and Windows 10 works fine

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  Год назад

      Someone reported an install problem, but found it worked after a 2nd attempt
      Others have suggested making sure all partitions on the drive are removed
      Have you tried UFS instead of ZFS?
      One common theme I'm picking up about FreeBSD and no operating system being found is partition problems
      You could try GParted for instance which can erase things
      I also came across a mention that Lenovo computers can have issues with partition tables as well it seems which may or may not be related
      forums.freebsd.org/threads/operating-system-not-found-on-thinkpad-edge-e120.28389/

    • @DanielMateuss
      @DanielMateuss Год назад

      ​ @Tech Tutorials - David McKone Hi mate, sorry to take long to reply, and Yes Lenovo BIOS can't boot OpenSense I spent a few hours trying changing settings on its BIOS with no luck. The Lenovo I have is a bit old it is from 2016 maybe it couldn't boot because of that, so I also had a Dell Optplex and worked after removing a security check on BIOS.
      Cheers
      Dan.

  • @teclote
    @teclote Год назад +1

    Outstanding, thank you.

  • @b4g4b3l
    @b4g4b3l Год назад +1

    could i pls pick your brain ? Have an Acer Veriton N N4640G with an i5-6500T (4 cores 4 threads) 8gb ram + Intel PRO 1000 VT, 10/100/1000, 4 Porturi RJ-45... Want to transform it into a router/nas... How should i go about it ? Proxmox > pfsense/opnsense as vm and another vm as truenas for plex/jelly or directrly truenas scale > opnsense vm ? Do i even have the horse power for what i try to do ?

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  Год назад

      Proxmox and TruneNAS Scale both run on Debian so under the hood they're basically the same thing
      But I'd rather have a NAS that can run other VMs rather than a hypervisor running a NAS as a VM
      I do run TrueNAS as a VM in my labs but it adds extra latency
      I did notice a forum post about having to do PCI passthrough mind for something like pfSense as otherwise the throughput could be bad
      Plex would benefit from its own GPU for transcoding and you'd probably benefit from more memory as even TrueNAS suggests a minimum of 8GB

    • @b4g4b3l
      @b4g4b3l Год назад

      @@TechTutorialsDavidMcKone i can expand the memory to 16gb... so should i go for truenas ?

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  Год назад

      I think TrueNAS would be the better option when a NAS is involved

  • @HydroKyl240COG
    @HydroKyl240COG Год назад +2

    Ty very much. Certainly not as intuitive as other SW, imo.

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  Год назад

      That's always the challenge
      Companies create standards for doing things, yet everybody comes up with different ways to do installations

    • @HydroKyl240COG
      @HydroKyl240COG Год назад

      @@TechTutorialsDavidMcKone I’ve got my router up and running now. Had a weird issue where my ISP wouldn’t issue the new router an IP address right off the bat, but all it took was a little time. Apparently it refreshes the system every 8 hours, with a limit of 4 routers (devices).

    • @HydroKyl240COG
      @HydroKyl240COG Год назад

      @@TechTutorialsDavidMcKone My house had phone jacks throughout, and found out it was utilizing Ethernet. So I swapped all the jacks, set the network up with switches and etc, and now the only thing left is to migrate the system over during a time it won’t potentially disrupt my wife’s work.

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  Год назад

      @@HydroKyl240COG Wow, that's a long time for a customer to wait

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  Год назад

      @@HydroKyl240COG That's extremely convenient
      I had heard of cablers putting in RJ45 cables instead of RJ11 for telephone systems
      Just wish they'd all do that