Office Network Design and Planning with VLANs, LLDP, Rules, IoT, Guest using UniFi & pfsense

Поделиться
HTML-код
  • Опубликовано: 25 июн 2019
  • Amazon Affiliate Store
    ➡️ www.amazon.com/shop/lawrences...
    Gear we used on Kit (affiliate Links)
    ➡️ kit.co/lawrencesystems
    Try ITProTV free of charge and get 30% off!
    ➡️ go.itpro.tv/lts
    Use OfferCode LTSERVICES to get 5% off your order at
    ➡️ lawrence.video/techsupplydirect
    Tesla Referral Program Offer
    🚘 www.tesla.com/referral/thomas...
    Lawrence Systems Shirts and Swag
    👕 teespring.com/stores/lawrence...
    Digital Ocean Offer Code
    ➡️ m.do.co/c/85de8d181725
    HostiFi UniFi Cloud Hosting Service
    ➡️ hostifi.net/?via=lawrencesystems
    Protect you privacy with a VPN from Private Internet Access
    ➡️ www.privateinternetaccess.com...
    Google Fi Service Referral Code
    📱g.co/fi/r/TA02XR
    More Of Our Affiliates that help us out and can get you discounts!
    ➡️ www.lawrencesystems.com/partn...
    Twitter
    🐦 / tomlawrencetech
    Patreon
    🔗 / lawrencesystems
    Our Forums
    🔗 forums.lawrencesystems.com/
    GitHub
    🔗 github.com/lawrencesystems/
    Discord
    🔗 / discord
    Our Web Site
    🔗 www.lawrencesystems.com/
    PIA Internet Access Affiliates Link
    www.privateinternetaccess.com...
    Office Network Design and Planning with VLANs, LLDP, Rules, IoT, Guest using UniFi & pfsense. This network was built with the following hardware
    UniFi Cloudkey Gen 2
    amzn.to/2Yl5skc
    Ubiquiti UniFi Switch - 24 Ports Managed (US-24-250W)
    amzn.to/2RBCIRr
    Ubiquiti Networks Unifi Protect 4K Ubiquiti G4-Pro
    amzn.to/2X3msdh
    Netgate SG-3100
    www.netgate.com/solutions/pfs...
    Review of the SG-3100
    • Netgate SG-3100 Teardo...
    #pfsense #Firewalls
  • НаукаНаука

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

  •  3 года назад +37

    Finally, a video that explains VLANs to actual humans! I wish I had seen it earlier...

  • @823Labs
    @823Labs 3 года назад +59

    I've been in IT for 20 years and this was the most succinct explanation on network design I've seen... well done.

  • @tomferrin1148
    @tomferrin1148 8 месяцев назад +2

    This "best practice" video tutorial never grows old. I've used it as the basis for several SOHO setups and have never gone wrong with it. It covers all the common types of devices one might want to connect to a SOHO network. I especially like the LLDP-MED port provisioning for connecting VoIP phones having a pass-through network jack for desktop computers. The UI on the Unifi controller may have changed some since this video was made, but the same functionality is still there and this video is still just as relevant as when it came out 4+ years ago.

  • @patricwinger5199
    @patricwinger5199 2 года назад

    This should be the first watch for all that want to tinker with home networks. Tank you Lawrence for taking the time and educating us.

  • @greenmountainitsolutions4722
    @greenmountainitsolutions4722 5 лет назад +34

    Tom, you make it too easy! I can't imagine how much time I would have saved if I had this video when I was starting out. That being said I think I learned more by getting lost and finding my way back. Thank you!

  • @bobhcs
    @bobhcs 2 года назад +5

    Tom, I've been watching your channel for a couple months and just wanted to say thanks for all great information, training and tips!!! I have been designing my dream home network for a new house that we are having built. I am starting to test some of the network hardware that I chose with the help and insight of all your experience in IT. I don't always get it the first time but I can't count how many times now I am working on something and think "boy did Tom have that right!" or "that's what he meant by that!". Thanks Tom!!!! And,now I finally joined your RUclips channel and I'm also going to check out your website!

  • @AlbaTech
    @AlbaTech 5 лет назад +16

    Hi Tom, thanks for the great video. I've been trying to get my UniFi cameras on an isolated VLAN for the exact reasons you described. One of the mistakes I had been making was giving the G3 a static IP so when I set the port to the 'video' profile I lost connection to the Protect server. But having watched this I've got it all sorted. Keep up the good work.

  • @clydebryant2665
    @clydebryant2665 5 лет назад +28

    Tom, this is an excellent video and covers a number of configuration consideration I need to address when revamping my home/lab network. I'm a retired systems programmer/Architect for the past 12 years, networking is new to me beyond the basic home router setup. I'm able to use your videos in my education on more complex networking configuration concepts, so, thanks and keep up the great videos.
    Regards

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

    Fantastic. I made some changes to address my particular setup (pfsense as a virtual machine within truenas scale with multiple bridged vlans), but this remains a fantastic resource --- 4 years later. Thank you!

  • @vadim282
    @vadim282 5 лет назад +4

    Exactly what i’m doing for my customers ))) Good job bro!

  • @Red1Wollip
    @Red1Wollip 4 года назад +2

    Tom, this is one of the best explanations of secure networks I have ever seen. Thank You for doing this.

    • @emmettbradford6983
      @emmettbradford6983 3 года назад

      Google BRADFORD TECHNOLOGY 🌎🖥️🖨️🖱️⌨️ great nationwide internet reseller company helping a lot of people save money 💰 on internet service

  • @viaujoc
    @viaujoc 4 года назад +7

    Great setup and great explanation!
    I like the fact that you made the LAN into an IT management zone and make the regular users connect to another zone (OFFICE). This way, the pfSense anti-lock out rule will always bring the pfSense UI to the management zone and not back into the user network.
    If there is IT staff on-site, they get to have ports to the LAN zone in their office. If there is no IT staff on-site, which is common in small businesses, I use a VPN to get into that zone. Of course, I always keep an available untagged port on that zone (VLAN) on the main switch just in case the VPN fails for some reason and I need a physical access to the management network to repair something.

  • @ejbully
    @ejbully 4 года назад +2

    I appreciate ALL of your networking videos. Especially pfsense. Thank you!

    • @emmettbradford6983
      @emmettbradford6983 3 года назад

      Google BRADFORD TECHNOLOGY 🌎🖥️🖨️🖱️⌨️ great nationwide internet reseller company helping a lot of people save money 💰 on internet service

  • @rgtechnologies2746
    @rgtechnologies2746 5 лет назад +4

    GREAT VIDEO!!! Very informative...keep up the good work Tom

  • @jbb6372
    @jbb6372 2 года назад +1

    Really loved the video! great explanations, nice and easy to follow! something easy to get people thinking!

  • @mikelawson3304
    @mikelawson3304 5 лет назад +10

    Thank you Lawrence that is exactly the same as my network. FYI, one thing that needs to be added is dhcp snooping needs to be disabled on vlans due to bug on usw Mike

  • @itpugil
    @itpugil 6 месяцев назад

    I saw this last November and thought that moving the cameras to a separate VLAN and only allowing it to talk to the NVR from a separate subnet was cool. Did it with our office's hikvision cameras just last week. The unifi switch was a bit iffy when I configured each port in the port manager but managed to get it to work. My boss liked the suggestion so much as I explained that it was a great security measure in case someone outside would disconnect the camera/s and connect it to a laptop or a malicious raspberry pi, but he immediately got the gist of it. Thank you!

  • @RM-hy4so
    @RM-hy4so 3 года назад

    I can’t tell you how much this video has help me. Thanks! And keep it going

  • @TheWrathRE
    @TheWrathRE 5 лет назад +1

    Fantastic run through, thank you!

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

    Great video - thank-you! I sat through the whole one to just revisit pfsense tinkering as I haven’t tinkered in a few years. Such great tutorials though and so clearly explained and demonstrated!

  • @peterdee1900
    @peterdee1900 4 года назад +8

    Hey Tom, great video. One really important step you missed in the video was creating the networks in the Unifi controller as well. It is not shown in the video and took me ages to work out. Lucky you had an older video from 2017 that should this step. Once I completed this step as well we were away and working perfectly!! Thanks for the amazing content. Keep it up!

    • @crankharder123
      @crankharder123 3 года назад +3

      Think i just ran into this as well. Lots of detail there that is missing. Presumably about what the VLAN & DHCP settings should be inside the unify controller - but no clue.

  • @NasirMxd
    @NasirMxd 5 лет назад +1

    Thank you for doing this Lawrence

  • @MajesticBlueFalcon
    @MajesticBlueFalcon 5 лет назад +5

    You have made a fan out of me with these type of videos. Keep em coming bud!

    • @emmettbradford6983
      @emmettbradford6983 3 года назад

      Google BRADFORD TECHNOLOGY 🌎🖥️🖨️🖱️⌨️ great nationwide internet reseller company helping a lot of people save money 💰 on internet service

  • @sorbanbela
    @sorbanbela 5 лет назад +1

    It was very informative. Thank you for the video and the work on it.

  • @Crazy--Clown
    @Crazy--Clown 2 года назад

    Great Vid specially explaining LLDP

  • @masterbjohnson2
    @masterbjohnson2 5 лет назад +1

    Love this, thank you

  • @woxit6107
    @woxit6107 2 года назад

    Thanks for the time and effort.

  • @QuickQuips
    @QuickQuips 4 года назад

    Ooh. Just got my sg1100 and erx combo working. It's quite a solid setup for home use. Thanks for the useful reviews. Definitely will use this so my cameras are not flat with my other devices.

  • @Setola
    @Setola 5 лет назад +7

    best video of the year! great work!

  • @VredesbyrdNoir
    @VredesbyrdNoir 3 года назад +1

    Great video! I've only just discovered your channel and you cover this stuff very well.
    I would be interested to hear more about designing subnets for route aggregation and stuff like VLAN tagging.

  • @NikumbaUK
    @NikumbaUK 5 лет назад

    Really great video gives me some ideas for my own home network

  • @RM-hy4so
    @RM-hy4so 3 года назад

    Passed links to your videos and channel to family and friends and told them to subscribe. Thanks.

  • @m.m.m.c.a.k.e
    @m.m.m.c.a.k.e 2 года назад

    Thanks bro you are a great presenter

  • @silentmajor3594
    @silentmajor3594 2 года назад

    This is fantastic! Thanks

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

    3:45 Interface -> Assignments -> VLANs (Creates IOTCrap VLAN & iface)
    6:00 DHCP Server
    8:30 Firewall Rules
    15:00 Unifi switch VLAN settings
    26:15 Shows physical devices and connections

  • @DonGerico
    @DonGerico 4 года назад +1

    Thank you.. the more I see you make videos on the SG-3100 the more I am considering upgrading to it from my USG. I had thought about the ER-4 but pfsense looks quite nice.

    • @emmettbradford6983
      @emmettbradford6983 3 года назад

      Google BRADFORD TECHNOLOGY 🌎🖥️🖨️🖱️⌨️ great nationwide internet reseller company helping a lot of people save money 💰 on internet service

  • @EdwardHanley
    @EdwardHanley 5 лет назад +1

    great content - thanks

  • @ronaldvargo4113
    @ronaldvargo4113 4 года назад +2

    Great video, can't wait for the same with a Untangle router, I would like to compare what you have done vs. what i have done with home/small business networks for VLAN, and IoT isolation. I have been able to get 5 or 6 of my fiends to move away from the cheep all-in-one router/WiFi solution once they understood how vulnerable their home networks are with a flat addressing plan.

  • @UnkyjoesPlayhouse
    @UnkyjoesPlayhouse 5 лет назад +3

    Excellent video :)

  • @mx2ce782
    @mx2ce782 2 года назад +1

    Lawrence, you have a great full fan from da UP eh! Thanks for the excellent content

  • @generalregistry
    @generalregistry 2 года назад

    Thanks for this

  • @ccie.master
    @ccie.master 4 года назад +1

    You are awesome!

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

    Nice one Lawrence 👍

  • @lanceeilers5061
    @lanceeilers5061 5 лет назад

    Cool thanks a bunch Tom , yes there are additional features one can add in pfsense like pfblocker , snort , VPN , adding to Zabbix server for monitoring , running virtualized etc , but great for home use as is .… keep smiling and have a great one :-)

  • @kristopherleslie8343
    @kristopherleslie8343 5 лет назад

    Stellar job again

  • @classi-cal
    @classi-cal 5 лет назад +1

    This is so good.

  • @CrankyCoder
    @CrankyCoder 5 лет назад +3

    Really liked this one! Big fan of pfsense and was happy to see pfsense tied in with something as nice as the ubiquiti stuff

    • @emmettbradford6983
      @emmettbradford6983 3 года назад

      Google BRADFORD TECHNOLOGY 🌎🖥️🖨️🖱️⌨️ great nationwide internet reseller company helping a lot of people save money 💰 on internet service

  • @rudypieplenbosch6752
    @rudypieplenbosch6752 4 года назад +1

    Great video, you gave me ideas howto setup my new network, it used to be flat🤣. Your Pfsense tutorials gave my 6yo laptop a new life and provided me with new insights👍

    • @martintimmermans8952
      @martintimmermans8952 4 года назад

      Nice to hear you improved your lan! :D Just not sure if I understand the relation to an old laptop? Or are you now using it as your pfsense instance and routing all (including incoming/outgoing) over 1 physical port? :P If yes, are you using any IDS/IPS functions and/or VPN tunnels? What performances are you getting out of an old laptop? You could consider getting something cheap/power efficient, ie from Aliexpress (like I did).. Just search for pfsense and you'll get tons of options, anywhere from a simple j1900 to a nice i7 :)

    • @emmettbradford6983
      @emmettbradford6983 3 года назад

      Google BRADFORD TECHNOLOGY 🌎🖥️🖨️🖱️⌨️ great nationwide internet reseller company helping a lot of people save money 💰 on internet service

  • @zachfenton608
    @zachfenton608 2 года назад

    Awesome video

  • @adrianvesnaver
    @adrianvesnaver 2 года назад +2

    When creating the pfsense firewall rules on each VLAN you don't need to create a rule blocking access to the firewall's web interface as all traffic is blocked by default unless there is another rule granting access (assuming the default deny configuration has not been changed in the main pfsense settings). In the example used in the video for the locked down VLANs you have a rule granting access to everything other than the private networks. As the pfsense web interface is on the private network, access will still be blocked by default with this rule.

  • @nvelopd
    @nvelopd 5 лет назад +2

    Yes please do Untangle!

  • @pfsmith007
    @pfsmith007 5 лет назад +2

    You're good.

  • @Fisher1374
    @Fisher1374 4 года назад +1

    Hey Tom, thanks for all of the help! I am setting up a SOHO network now with a Netgate SG-3100 and unifi ap and have had trouble finding the right guides for getting it setup (I am fairly new to all of this). Is there anyway you'd be able to organize a playlist from the videos you have for getting pfsense setup in a manner that would be useful for a home office/small business?

  • @alejandrovelasquez247
    @alejandrovelasquez247 3 года назад +4

    Another nice thing to do with Cameras switch ports is they should also be protected by only allowing the Mac address of the camera.

  • @naderbarakat3001
    @naderbarakat3001 4 года назад

    Hello , This is great for people to understand basic networking, the only thing i would change is Intra-VLAN routing on the router.
    For example, a VLAN want to communicate with another VLAN, The packet will need to go all the way to the router to be routed, then go back to the switch.
    A layer 3 managed switch with Intra-VLAN routing, route the traffic without reaching the PFsense router, but all vlan gateways should point to the switch interface IP ( Layer 3 ).
    if a PC on the PC network ( PC VLAN) want to open a camera ( CCTV VLAN) , the router would be involved , in a small office its fine but i recommend a layer 3 switch to handle your intra-vlan routing.
    Thank you,
    Nader

    • @eDoc2020
      @eDoc2020 2 года назад

      AFAIK most L3 switches are stateless. This makes it hard or impossible to allow TCP connections from subnet A to subnet B without also allowing subnet B to initiate connections to subnet A.

  • @brandonbrand2338
    @brandonbrand2338 5 лет назад

    Nice one Tom

  • @ozmosyd
    @ozmosyd 5 лет назад +4

    Love ya work very informative indeed thanks chap. And yes could you do Untangle equivalent, please?

  • @BrettMartin84
    @BrettMartin84 4 года назад +2

    Thanks for making this video. I tried to do this a year ago and never got it working. Your video had the missing pieces I needed to get it working. I now have a secure IoT and Camera network.

    • @jmcbri
      @jmcbri 4 года назад

      I don't get it. If the iot crap is blocked from private networks, how do you use those devices? Wouldn't you allow the mothership ip on wan only, and allow on LAN?

    • @BrettMartin84
      @BrettMartin84 4 года назад +1

      James McBride most iot crap wants to work inside and outside the home. To do this it needs internet access not lan access. Eg ecobee thermostat works from app -> internet -> lan > thermostat. Not directly from device to app. Therefore if you are giving an unknown device both lan and wan access it could do whatever it wants on your lan and send it over the internet. By making an iot network that can’t access the lan you secure your lan. It’s the opposite for cameras. You want them to have lan only access and no wan access.

  • @MarvinFroeder
    @MarvinFroeder 2 года назад

    Thanks! Wondering what I would miss if I try the same setup using omada firewall.

  • @NinoM4sterChannel
    @NinoM4sterChannel 5 лет назад

    Also a good reason to set the static IPs manually on each device is that if the router (DHCP server) ever goes down, they can still talk to each other. I did that with my servers at home. the rest of the devices are managed by the DHCP server.

  • @akletke1
    @akletke1 5 лет назад +1

    Great vid. I manage a private school's network with pfsense, cisco switches, and unifi access points and a vpn to another campus. Separating students from teachers, restricting what students can touch is the game. We'll be adding voip phones soon, seeing how that is setup on unifi switches is nice. I'm so used to cisco's command line.

    • @springbok4015
      @springbok4015 5 лет назад +1

      Might want to do the same for the teachers.

    • @akletke1
      @akletke1 5 лет назад

      @@springbok4015 Teachers have their own restrictions.

    • @jcnash02
      @jcnash02 5 лет назад

      I hate Cisco’s command line, but their GUI is improving on the SG switches.

  • @ifscale3
    @ifscale3 4 года назад +1

    Excellent video, I really appreciate the hint on using lldp-med to inform the phones what vlan to use.

    • @viaujoc
      @viaujoc 4 года назад +1

      Another way of doing that, if you don't like adding broadcast or multicast traffic to your network, such as LLDP, is to supply option 132 (named "VLAN ID") in the DHCP leases on the OFFICE interface pointing to the PHONE VLAN ID (300 in this video). This way, when an IP phone boots up, it will first get an IP address in the OFFICE (untagged) network. When the IP phone sees that an option 132 is supplied, it will immediately release that IP address, start tagging its traffic on the VLAN ID received in option 132 and make a new DHCP request on that VLAN. The nice thing about this is that the traffic that passes through the PC port at the back of the phone will remain untagged in the OFFICE network. Most IP phones on the market support VLAN configuration with DHCP option 132, it is really easy to set up. Of course, you still need to create a port profile on the switch to supply the tagged PHONE VLAN.

    • @basiliodiaz1411
      @basiliodiaz1411 4 года назад

      @@viaujoc Is this entered in the Additional BOOTP/DHCP Options section? Should it be entered as a String or Text? Is the Value format (vlanid=300)? Thanks, in advance.

    • @viaujoc
      @viaujoc 4 года назад

      @@basiliodiaz1411 It is indeed entered in the Additional BOOTP/Options section in the pfSense DHCP Server for the OFFICE interface (the interface on the untagged VLAN). It is not clearly documented how the option should be entered: as a string or an integer, with or without quotes. I guess it depends on how the phone firmware was programed to handle that setting. In my case, I am using Yealink T4 phones and I have configured option Number 132, Type String and Value "300" (with the quotes in the field). You should check your IP phone documentation about how it handles the VLAN ID option in case this method does not work for you, many phone will support more than one format. In my case "VID=300" (still including the quotes) would probably work too.
      If you have many brands of phones on your network with different VLAN ID option requirements, you may need to configure each brand to expect a different DHCP VLAN ID option number in the phone configuration: Yealink on option 132, Cisco on option 133, Fanvil on option 130, ... This way, you may avoid struggling to produce a single format that will satisfy every brand at the same time.
      Don't forget to also tag the switch port with the Voice VLAN. This is a personal experience: I cursed during an hour trying to find a working DHCP option that would allow my phone to boot and all that time I had forgotten to add the switch port as a tagged member on the voice VLAN.

    • @basiliodiaz1411
      @basiliodiaz1411 4 года назад

      @@viaujoc I failed to mention that the phones are Mitel 5320's. I found some information indicating to try Option 43 but failing that, to use an Option between 128-132. I'll give that a try and see what works. Thank you for your reply.

    • @viaujoc
      @viaujoc 4 года назад

      @@basiliodiaz1411 Mitel phone seems to use a single "Magic" configuration string for VLAN ID, TFTP server address and other basic settings on option 43 or 156. Some guy seems to have figured it out: unixwiz.net/techtips/mitel-ipphone-networking.html. pfSense does accept to push option 43 in the Additional option, maybe you should try it out. In this case, because the DHCP option supplies more than the VLAN ID, you have to push it both on the OFFICE (untagged) VLAN and on the VOICE VLAN.

  • @davidbarnett1826
    @davidbarnett1826 2 года назад

    I just started researching youtube for training, and maybe I will eventually find a video that has the Office network & planning not just in the Firewall software (i assume pfsense dashboard for assignment only). I REALLY NEED A DIAGRAM, OR DRAWING OF SOME SORT... I will keep looking though. Thanks for the info

  • @Jamesaepp
    @Jamesaepp 4 года назад +1

    Tip: The problem you discuss at 3:00 can be mitigated with IPv6 addressing. :)

  • @Daniel-ud6od
    @Daniel-ud6od 5 лет назад +2

    Where do you put the printers (and stuff like that)?? I use to put them on a seperat VLAN and only allow access to the printserver/smtp for scan.

  • @finitevoid4520
    @finitevoid4520 5 лет назад +1

    great video; how would you handle EPOS?

  • @stevenmishos
    @stevenmishos 3 года назад

    Interesting detail I hadn't observed before this walk-through is pfSense firewall rules are created/applied per interface. My experience is with Checkpoint and it's not the case there (at least it wasn't the case 10 years ago).

  • @SimpleFlyTech
    @SimpleFlyTech 5 лет назад +3

    Weird seeing a cameras link state at 1gbps.. Good work!

    • @sitte24
      @sitte24 5 лет назад +1

      It sure is weird because it is not needed, even with the 4k resolution. But hey it looks nice

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

    Howdy. I appreciate your videos. I'm late to the party. I have a Protectli with Pfsense on it. And a tplink tl-sg1024DE behind it. At this point I think I want/need 5 or 6 VLANS. Would you recommend having pfsense to control the vlans and trunk to the tp link switch OR have the switch to handle the vlans?

  • @3waver
    @3waver 4 года назад +1

    Similar Untangle Video would be great!

    • @emmettbradford6983
      @emmettbradford6983 3 года назад

      Google BRADFORD TECHNOLOGY 🌎🖥️🖨️🖱️⌨️ great nationwide internet reseller company helping a lot of people save money 💰 on internet service

  • @asdf51501
    @asdf51501 3 года назад +1

    I suppose another way to do it would be to have a LAN, a WAN, outside access rules, and then point to a Layer 3 switch on the internal LAN which can route, create vlans, ACL's and so forth.

  • @vdarkobar
    @vdarkobar 5 лет назад +3

    Tom for President #2020

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

    Hi Tom. Thanks for another great video. Not sure if you said it in this video, but I know I've heard you comment/remind us that when you setup VLANs this way, it's all on one physical cable/port. Meaning, bandwidth can be a factor. So when you have a Netgate 4100 for example, I would ask why not utilize the four ports and spread those networks/VLANs across them? Maybe LAN and OFFICE on one port, CAMERAS on one port, and the rest PHONES/GUEST/IOT and a third? Maybe keep one port open for future needs. Again, looking for the Pros/Cons on this design. Thanks in advance.

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

      Using vlan instead of individual ports is for convenience

  • @dominiquerichardson
    @dominiquerichardson 5 лет назад +1

    you mentioned that the usg doesnt have all the features needed in the firewall rules could you use the usg pro?

  • @rammartinez6873
    @rammartinez6873 4 года назад +1

    Hi Tom! Thank you so much for the video. I would like to know how you were able to put 2500baseT Speed duplex for the LAN Network?
    Etherchannel?
    Thanks again

    • @danielknight4575
      @danielknight4575 4 года назад

      His environment runs on virtualization. It's likely sitting on a server with SFP+ ports. If you have a spare PCIex4/8 slot in your PFSense server, you could add an SFP+ card and link it to a compatible switch. It will downclock to 2500BaseT for none 10Gb switches.

    • @viaujoc
      @viaujoc 4 года назад +1

      The SG-3100 is connected internally to the switch at the back at 2.5GBase-T
      Here is the description from Netgate web site:
      2x 1GbE, configured as dual WAN or one WAN one LAN
      four-port 1 gbps Marvell 88E6141 switch, uplinked at 2.5 gbps to the third port on the SoC for LAN.
      So, in reality, the pfSense "PC" inside the SG-3100 box has only 3 physical ports: two at 1Gbps that are exposed as RJ45 connectors at the back (WAN and OPT1) and one 2.5Gbps connected by the circuit board to a Marvell switch which is exposing four 1Gbps RJ45 ports (LAN1 to LAN4).

  • @FSCMV6
    @FSCMV6 10 дней назад

    This is an awesome tutorial. One thing I am uncertain of though -
    I have a UCG-Ultra with defined networks / VLANS. If I put a USW-PRO-MAX behind it and have clients connected at 2.5 (but on different vlans) - connectivity between those devices would be limited to the routing speed of the UCG correct? Or am I way off base?

  • @richardcorfield9926
    @richardcorfield9926 3 года назад +1

    One challenge (I've not tried this on the Unifi yet so it may not be challenging on better kit) - IoT things like TVs and Streaming Players and ChromeCast that want to be found by broadcast packets. I guess it means that the adults in the house need to be on the same network as these devices, but we can keep kids and guests off so they can't change what we're watching on the TV.
    I guess this is like your printers. Ours also likes broadcast but we can hand configure IP address in clients if needed.

    • @richardcorfield9926
      @richardcorfield9926 3 года назад

      Looks like I need an MDNS Repeater - yay for more standardised network protocols rather than the pick-some-port-and-code-it we had in the 90s when I was coding these things.

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

    So I followed this guide, as I am new to UI but not pf/opn but I cant connect to a IoT SSID now.

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

    Hi Tom, apologies for questioning an old video, but I thought it pertinent. Could you please do a video explaining how you would set up an office / home environment with a network that has over 253 devices, so keeping .1 as the gateway and .255 as a broadcast, if you had 300 devices how would you configure PFSense securely to segment and talk across the networks? Thanks.

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

      If you want them all on the same network just use a /22 instead of a /24.

  • @jeffluongo7103
    @jeffluongo7103 5 лет назад

    Liked the video. Would have liked to see what the UniFi dashboard looked like with the pfsense appliance matched up with the UniFi switch and AP.

    • @EciOwnsYou
      @EciOwnsYou 5 лет назад

      It doesn’t show anything. Only shows UniFi hardware. Otherwise blank.

  • @martincerveny2284
    @martincerveny2284 3 года назад +1

    7:40 Yes! And that's why I hate UDM Pro :-) Anything like this config would be too complicated there.

  • @TechUniversity1
    @TechUniversity1 4 года назад +1

    How do the phones and devices know what vlan network to connect to? Is that with the dhcp reservation? I’m just confused because you didn’t show reserving the phone ?

  • @LordHog
    @LordHog 5 лет назад +1

    Would it be beneficial to get a Ubiquiti Edge Switch (ES-16-150W) instead of a Ubiquiti UniFi Switch? What are the pros and cons?

  • @johnmcquay82
    @johnmcquay82 3 года назад

    While I do get why some people often pick up on blocking addresses normally associated with internal LAN addresses, there's another thing to bear in mind; ISPs now are starting to use CGNAT, so you're going to see "internal" IPs in some WAN connections.

  • @davidibrahim129
    @davidibrahim129 4 года назад

    Hey Tom, great video. I see that the LAN network (192.168.5.0/24) is more like a management network for the devices - firewall, switch, camera, etc. I believe the VLAN for this network is the default VLAN 1 right?
    So, I'd like to ask, what if I want to change that VLAN ID to something else? Is it possible?

  • @anyheck
    @anyheck 5 лет назад

    Add the raspberry pi on using a Ubiquiti Nanoswitch or similar and the camera won't even be offline to attract attention beyond the time it takes to plug that in.

  • @rider275
    @rider275 2 года назад +1

    I have been looking for an example that I can use in my home lab. My goal is to replicate a similar network topology for professional development. Thanks!

  • @fudgemelons
    @fudgemelons 4 года назад +1

    Hi! Thanks for the video.
    I noticed that you put an explicit block rule in the firewall configs for "This firewall" over all interfaces... I thought it was block by default?
    In my personal setup I have an alias called "PrivateNetworks" consisting of "192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8", all of my interfaces are in the 192.168 range, and my allow rules all say "Destination !PrivateNetworks"... Above these allow rules i configure any rules that hit nodes on the private network / across subnets.... Is this sufficient??? I'm pretty new to writing my own firewall rules

  • @zxcvb_bvcxz
    @zxcvb_bvcxz 5 лет назад +3

    I've found the Cloud key extremely limited - on the first one at least, mongodb will break if you turn up the logging.

    • @peterpain6625
      @peterpain6625 5 лет назад +1

      Same here. Went to a vm which is working flawlessly.

  • @DJKidNyce
    @DJKidNyce 5 лет назад +1

    Everything looks great. Had a few questions.
    Once you setup the VLans in pFsense, do they automatically show up in the Unifi switch?
    Regarding the Unifi Protect network, wouldn't blocking the cameras from accessing the internet block firmware updates when they become available or would it try and pull the update from Unifi Protect?
    Worse case scenario, someone disconnects the switch from the pFsense box and plug it in to their pc or Raspberry Pi, would they have access to all VLans if it they make it appear they are a switch?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  5 лет назад +3

      As I said in the video, you need to create them both on the pfsense and UniFi, the NVR is pushing the firmware updates so as long as it has internet access it will push them to the camera, if someone has physical access they can move what ever port they want.

  • @JB-tz9pi
    @JB-tz9pi 3 года назад

    Hey Tom. I'm not quite tracking what you're saying about the port 443 that you changed to 10443. Where is it assigned by default in the settings? There's so much to learn. It's overwhelming but I'm getting there. Thanks for your videos. Hopefully I get a nice segmented network going on at home.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  3 года назад

      you do that here docs.netgate.com/pfsense/en/latest/recipes/remote-firewall-administration.html

  • @EciOwnsYou
    @EciOwnsYou 5 лет назад

    Hey Tom! Great video as always. I’m attempting a simple VLAN home setup for NVR. I’ve got a pFsense box on a Qotom AliExpress PC with only two Ethernet ports. I understand I need a managed switch for VLANS, but I’m guessing you need it to be connected directly to pFsense and Then NVR to switch, can’t have a dummy switch in between pFsense and managed switch?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  5 лет назад

      Correct

    • @martintimmermans8952
      @martintimmermans8952 4 года назад +1

      I guess 'correct' would be the short and wise answer here, but afaik dumb switches could do pretty much anything with tagged packages.. It could drop the packages due to their increased size, or your switch may even just crash because of them.. Or... it may just work :-) if you have a dumb switch laying around and if you got time on your hand.. If this is your private network, nothing keeps you from trying ofcourse! Send tagged input to your dumb switch, hook something up to it and see what happens :-) Having that said.. If you can, do yourself a favor and spend a few bucks on a nice l2 switch.. They are cheap these days :-)

  • @Trevor_Green
    @Trevor_Green 5 лет назад

    What would you propose for multiple cameras? A POE switch on your port you set up for the camera in your example (like a dumb poe switch extending that 1 port) or map more ports to the smart switch?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  5 лет назад

      ideally mapping more ports to the smart switch.

  • @BradMottram
    @BradMottram 5 лет назад

    I wouldn’t have thought routing HD Cameras through the FW would be a good idea. Maybe it’s quite common I don’t deal a lot with CCTV side of things.

  • @michaelp.caputo8190
    @michaelp.caputo8190 4 года назад

    Tom, Thank you again for another great video. I have a question. If I'm running the UNIFI controller on a PiHole, do you really need the Cloud Key? What is the major function of the cloud key other than remote network access?

    • @crankharder123
      @crankharder123 3 года назад

      Hi Michael - did you ever get an answer to this? I have the same question. Thanks!

    • @michaelp.caputo8190
      @michaelp.caputo8190 3 года назад

      Josh Sharpe no

    • @williamp6800
      @williamp6800 3 года назад +1

      The Cloud Key is just hardware to run the Unifi Controller software. No other special benefit to it.
      You can also run the Controller Software virtualized, or bare metal on a Raspberry Pi, as an application on a regular Windows, Mac, or Linux computer, or another way you can get it to run. It’s just a Java app.
      You don’t even need to keep the controller running once you’re setup, unless you want to use the guest portal on the Unifi access points or to monitor network traffic.

  • @bennettgould5546
    @bennettgould5546 3 года назад +1

    Can you do a video like this, but address VLANs by MAC address and or port and MAC VLANs on the same network?

  • @peters8858
    @peters8858 2 года назад

    Hi Tom - Thanks for doing all the great content you create and sharing it with the community. I’d like to ask / request if you’d be willing to do a video for your followers on how to get Sonos setup on a separate VLAN to your controllers and get the connectivity working between them using tools on PFSense like Avahi or PIMD? I’m transitioning a home network away from a basic configuration to a more secure network design ahead of a 1GbE Fibre being installed later in the year and would like to get all these elements created. I’m using a Netgate 4100 Base with a Ubiquiti Unifi 24 PoE switch, two Ubiquiti Unifi U6 Pro’s, Several Ubiquiti USW Mini Flex’s and several G4 Bullet Cameras communicating to a Cloud Key Gen 2 Plus. I’ve got most of what I want in place but the Sonos VLAN to Controller VLAN connectivity is the last part Id like to get working. Any advice would be very helpful. Best wishes from Perthshire in Scotland!

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  2 года назад +1

      Newer SONOS systems do not work properly across VLAN like the older ones do.

    • @peters8858
      @peters8858 2 года назад

      @@LAWRENCESYSTEMS I appreciate you reaching out and replying. In this circumstance, what would you recommend as a viable alternative? Perhaps setting up a dedicated tablet on the same VLAN thus negating the need to have the controller / devices trying to traverse the VLANs?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  2 года назад +1

      @@peters8858 I have a video on building pfsense home firewall rules ruclips.net/video/bjr0rm93uVA/видео.html and your phone is an IOT device.

  • @AMATeLL1
    @AMATeLL1 3 года назад

    Hi Tom! Hoping that you can make a tutorial about running PFSense with Windows Active Directory. Where AD has the DHCP and DNS instead in PFSense :D

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  3 года назад +2

      Just turn off DHCP in pfsense and turn on DHCP in Windows.

  • @brandonbolla9937
    @brandonbolla9937 3 месяца назад

    With all these vlans. Cross talk packets must go back to the router right?
    If i am moving a large file from device A to Device B will that go back to router to change vlans?
    How often would One need to worry about saturating the GB link?

  • @joebleed
    @joebleed 5 лет назад

    i'm a bit late to finishing this video, though i'm not completely through yet, Is there any reason you're not doing the routing in the switch vs pfSense? It doesn't look like you're doing a lot of rule sets in this case. Or is that switch not capable? I've recently started looking for a decent l3 managed switch with poe for my home use. The ones we use at work or very expensive and maybe that's why. I'm seeing different levels of managed poe switches in my searching. I've messed with a couple other brands; but still no unify.