Setting up VLANs in pfSense

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

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

  • @James_Knott
    @James_Knott 10 หลายเดือนก่อน +6

    One point about the VLAN subnet. You said to use private addresses. While that's likely true for IPv4, with IPv6 you may very well have public addresses you can use. For example, I get a /56 prefix from my ISP. This gives me up to 256 /64 prefixes, any of which can be used for any LAN or VLAN interface. In addition, it's possible to use private address too. On IPv6, they're called Unique Local Addresses (ULA), which can be used in the same manner as RFC1918 addresses on IPv4. Also, there are some situations where you want to be able to access one subnet from another. For example, my main LAN can access anything on my guest WiFi VLAN, but not the other way around.

  • @alexfischer9493
    @alexfischer9493 ปีที่แล้ว +5

    I just bought a managed switch for my setup. Thanks for the well timed tutorial!

  • @NightHawkATL
    @NightHawkATL ปีที่แล้ว +9

    Perfect explanation to VLANs! I use aliases on my servers & IoT VLAN so that I have to provide an IP in the alias to allow it to have access to anything. That way, if anything happens and some one gets access to my proxmox server or anything on it, just any DHCP address cannot get out to the internet. I also use Pihole for all of my VLANs except the server VLAN so that a lot of traffic is blocked on the other networks and especially the IoT VLAN.

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

    This VLAN walk-through is awesome. I appreciate all the insight and your teaching method.

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

    Very good tutorial. Concise, no fluff, straight to the point. Well done.

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

    How do I put my linux machine in a vlan, please I need to know how have to present a work in college Monday

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

    Thanks for the walkthrough, wonderfully explained!
    Am I correct in assuming that without a managed switch, this setup is not feasible?
    My current setup involves a pfsense, & a primitive, ISP provided wireless AP among other things. This AP probably cannot differentiate between one or more VLANs...

  • @RonnyNussbaum
    @RonnyNussbaum 6 วันที่ผ่านมา

    Clear, concise, and very helpful. Thank you so much!

  • @zackwalker6397
    @zackwalker6397 ปีที่แล้ว +5

    Thanks for the videos! You’re one of the few TH-camrs in this space that has a personality and you’re very entertaining to watch. Even if I’ve seen some LSU stuff in some of your videos, you’re not that bad ;)

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

      Haha thanks! Geaux tigers 😜

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

    Many thanks. Exactly what I needed to create separate network for noisy IOT devices

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

    took me a while to figure out vlans but this one video does tick all boxes for me. thank you!

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

    Thank you for the tutorial, very well done and laid out, Great job as always.

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

    I've come back to this video a couple times. Great resource. thanks!

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

    Oh man this is super well explained. Thanks so much.

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

    Thank you for such a great walk through... Some of the fields are now named differently because of the updates to PF Sense.. Can you throw up some text updates on top of the video to account for the mismatch of selection settings..?

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

    Nicely done video & Very Informative. Thank You!

  • @be-kind00
    @be-kind00 ปีที่แล้ว +1

    How do we take this setup and assign guests on a specific Wi-Fi SSID to the Vlan you setup that does not have access to all private networks. Assume the Wi-Fi is on ap’s plugged into a managed layer 2 switch port that also has the pfsense device on one of the switch ports. Thanks! @RaidOwl

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

      I have the same question! Were you able to figure it out?

    • @be-kind00
      @be-kind00 ปีที่แล้ว

      I'm still working on it using ppsk. ​@@MegaNatebreezy

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

    Great video! Thank you for the explanation

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

    I couldn't get DNS to work on the VLAN until I added an Access List under the DNS Resolver for the new VLAN network. Under Services / DNS Resolver / Access Lists, add a new one for the VLAN.

  • @isaacstyles92
    @isaacstyles92 23 ชั่วโมงที่ผ่านมา

    Great guide. Thanks!

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

    Just curious if your still using pfsense or did you switch to open sense or are you using unifi firewall. I can’t figure it out. I set up the vlans and subnets on my network with proxmox, but some of the cluster nodes and VMS can’t reach the Internet.

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

      I’m using Unifi now

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

    Man, you help me A LOOOOOOOOOOOOOOOOOOOOOOT
    Iwas blocked around like 30 days on a problem, I'm using pfsense too and my VLAN cannot reach my LAN and with ur video I understand why now!
    Thanks a lot bro!

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

    Video helped me a lot to achieve setup what I wanted. Keep it going!

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

    Wouldn’t you only want to set an Alias like that on a Guest network? Because not only is that going to block being able to ping devices on another VLAN, but also on the same VLAN as well as access to the Firewall itself.
    It’s basically a complete black hole.

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

    12:50 what is testVLAN address mean? You didnt have to specify the IP address?

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

    How do you determine what device is on the VLAN? I didn't understand that part.

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

    Thanks for the tutorial and it helps alot to understand vlans a little better in pfsense. I do have a question. I have two interfaces LAN and WAN and I setup my Asus wireless router as an Access Point with its own VLAN on the LAN interface for my wireless devices. Enabled DHCP on the VLAN and added the DNS rule. But now for some reason my wireless devices are being handed out DHCP addresses from the DHCP server on the LAN interface instead of the VLAN I created. What am i doing wrong? Thanks.

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

    Do you have a video explaining how you run certain devices on your network through a VPN? Not sure if you have a video on this already, if you do please send me the link. This video was super helpful by the way as someone whose a totally new to pfsense.

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

      I don’t currently have one but Tom Lawrence has a solid video on exactly that. th-cam.com/video/TglViu6ctWE/w-d-xo.html

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

      @@RaidOwl I appreciate the referral.

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

    Thank you - I have VLANs implemented and they are correct as proved in your video. They do what the firewall is letting them. The problem I have with active VLANs, and could not find any solution, is on adding Zenarmor pfsense. As soon as I activate in Zenarmor the Interface where I have VLANs on, I can't reach any device on the VLANs. The other interfaces provide no problems. The same problem I had before when I was trying to have dual wan with failover in pfSense implemented. Any hint?

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

    Good video, explained a lot. Thanks

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

    Great into to pfsense VLANs. I want to setup an isolated VLAN (IoT) that I can access from my LAN network. I've got it setup where I can ping the IoT from LAN, but can't connect to an HTTP service on the IoT. What I am missing?

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

    Nice presentation of the procedure. I have the problem that the machine connected to the newly created vlan is being assigned with an ip address of the vlan's segment but it has no internet access, cant ping it's gateway and of course can t ping the LAN. At the last part where you create a rule for the dns I suppose it would also work if would have destination any and not udp 53. Still doesn t work though. It might have something to do with outbound NAT which you didn t show on the video. There are 4 options for the outbound NAT. It would be more complete if you would have shown that as well (what rules you created or had been created by default). Of course I still can t figure out why it doesn t work (My outbound NAT is set as Manual Outbound - third of the four options)
    Any thoughts?
    PS I used a specific port from pfsense device (it is qotom one with 4 ports). What I mean by that is the igb0 is the wan coming from the modem, the igb1 is for the lan connected to a microtik switch and igb2 transfers vlan20 (only since i didnt used the igb1 which has also the lan).Via a physicala cable it ends up in the last port of the switch where it transfers it untagged to port 23. So I connect port 23 with a laptop for instance it takes an ip of that segment (so eerything is good up until now) but no internet access. Properties of the network card of the laptop shows for all services (DHCP/DNS/GATEWAY) 192.168.20.1

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

      New edit: Found the issue and it was on the switch side (Mikrotik one).

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

    What is the difference between configuring VLANS on pfsense vs VLANS on switch and do we need both?

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

    Can you explain how to set up Nginx Proxy Manager in a DMZ with Pfsense? I'm running a virtualized Pfsense in Proxmox with two dedicated NICs. I want to use Nginx Proxy Manager in a LXC on the same host to make some services available to the public but with proper security.

  • @DireNeeds
    @DireNeeds 13 วันที่ผ่านมา

    I have created a vlan that I cannot access the internet with. I think after I get through my coffee this morning I can use this video to help me solve this issue. Thanks!

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

    I'm late to this party, but MAN!! I thank you. This was the slow breakdown I needed.

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

    Thanks for the video. I want to use an old PC with a dual port network card one WAN and one LAN, pfsense installed on SSD drive. I do have the house wired with cat 6 with at least one ethernet outlet per room. The LAN port configured on the pfsense box goes directly to an 24 port managed switch to connect all the wired network. I do not know how to setup VLAN, as in do I configure VLAN on pfsenese or do I use VLAN setup on the 24 port managed switch? Any help?

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

    ottimo video, Grazie!

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

    Awesome tutorial 😊

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

    Thank you.

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

    great video, cheers

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

    Thank you for this video.

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

    I created my whole network set of rules thanks to this video, something that I'm still blasting my head off is when I want to isolate my iot network to prevent the devices seeing each other :/

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

    If we add all private network subnets on the alias, won't it also block the vlan interface's own private IP addresses as well? What if I need to place a few web servers on the vlan and want them to connect internally via private IPs?

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

      Traffic between a LAN (or a VLAN) never go to the firewall. It goes through only the switch thus it doesn't matter if you are allowing or not allowing any traffic within the subnet network itself.
      If you want to reach to the other VLAN's, you simply add the allow rule above the invert rule he mentioned.

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

    great vid!

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

    Please make a tutorial to make pfSense to intercept all traffic behind it with my own SSL cert

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

      You mean HAProxy with a wildcart cert of your own domain?

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

    Is it posible to send in syslog the vlan name? I see the vlan ID, but no the vlan name.

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

    Why pfsense cant create a vlan tagging on USB interfaces ?

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

      Not sure. I assume the usb device in question supports tagging?

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

    Thank you

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

    i would like to set up 3 VLANs... 1 for wifi/devices, 2 for my unraid server, and 3 for my cameras... however i need a docker on unraid to recieve rtsp from the cameras, but i dont want the cameras hitting the WAN, and I want any PC I want to access the Unraid Server (for back up purposes), but keep my server or pc safe if one got attacked the other would be safe.... does that make sense? like could i maake a rule where vlan3 (cameras) only talks to VLAN:8991 to give rtsp data?

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

    I blocked traffic from LAN -> VLAN25, from VLAN25 -> LAN, and allowed VLAN25 -> Internet. But from LAN, I can ssh a host in VLAN25 (should not happen).

  • @M.W-u7q
    @M.W-u7q 3 หลายเดือนก่อน

    Many thanks for the outstanding explanation. This video helped me a lot.
    Just cant figure out how you are able to ping from 192.168.1.100 to 192.168.50.10
    This is giving me: "Network is unreachable"
    Can you trowh some light here please? Many thanks in advance.

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

    very good video thank you :)

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

    perfect

  • @1ryanlc
    @1ryanlc ปีที่แล้ว

    I tried this once before, but I couldn't get my unifi access point to use the new vlan. Is there a trick to adding WiFi devices?

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

      Did you go into the Unifi UI and set up the VLAN on that side too?

    • @1ryanlc
      @1ryanlc ปีที่แล้ว

      @@RaidOwl I tried, but very possible I missed something. Do I need a managed switch? Right now I'm using a basic TP-Link switch

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

      @@1ryanlc Yes, most 'dumb' switches will kill any tagged packets that come in.

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

      @@1ryanlcthat‘s what „vlan only“ stands for when creating a new network within unifi. If your setup is all unifi then you create a network, give it a vlan tag and you‘re good to go. If you‘re mixing up your environment with pfsense/unifi and pfsense is charge of your network creation, unifi still needs to „know“ that there‘s a vlan passing through its switches. You need to create the same network as in pfsense but give it the „vlan only“ and it should work as planned.

    • @1ryanlc
      @1ryanlc ปีที่แล้ว

      @@cirniman Thanks so much!! I'll be giving that a try!

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

    this guide doesn't show how to determine which IPs are your private IPs, so I won't be able to make any use of it until I figure that out

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

      Private IPs are up to you, you can pick just about anything as long as it falls between one of the private IP ranges like shown in this video at 2:30

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

    ❤❤❤

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

    Poor adio volume

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

    Great start but you totally lost me at 4:35 when you jump into another machine with no explanation of what you are doing: using the tag 50, already attached to the Vlan you have just created: how can that be? What did you do to connect that other machine using tag 50? What does that even mean? You assume that your audience already knows what you are teaching them. If I knew that, I wouldn't need your tutorial. When pros talk to pros they skip steps, use a shorthand language and assume the other pro knows what they are talking about. You are not teaching, you are just talking to hear yourself speak, bragging about your knowledge, fine, but what does that do for the audience? Also the screens are so blurry they are practically useless. Sh!tty job, thumbs down.

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

      Thanks for the thumbs up!

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

      @@RaidOwl The title should be, "If you already know Vlans, here are the screens on pfSense." And at the beginning, get rid off the intro, "Add these things called Vlans," and say if you don't already know Vlans, please see x,y, z. You make a joke out of it, but if you intend to teach, rather than just show off your knowledge, you should put yourself in the place of the audience, not make them jump through your illogical hoops. Thumbs down, not up.

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

      Glad you enjoyed the video!

    • @teclote
      @teclote 6 วันที่ผ่านมา

      @@RaidOwl I didn't enjoy it. Don't worry, I found a better one. You obviously know networking, which is expected from a pro, but your teaching needs improvement. You need to think through what you say before you say it.

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

    thank you