✅ pfsense on 1 network/ethernet port PC using VLANS

Поділитися
Вставка
  • Опубліковано 14 лис 2024

КОМЕНТАРІ • 293

  • @ITVOIP
    @ITVOIP  4 роки тому +33

    My most popular video! if you like videos like this and would like to see more please like and subscribe. It really encourages me to give it that extra effort and do better.

    • @WANWAN-gj6rl
      @WANWAN-gj6rl 2 роки тому

      What are the advantages of your specific pfsense setup what other setup is it superior to whats the goal of your accomplishment ?

  • @modemfox
    @modemfox 7 років тому +42

    Where was this video when I was trying to figure this out? Great work! I was looking for a video like this about 2 years ago, asked for help in pfsense forums and got talked down to because I didn't understand how to set it up. Thank you for this video.

    • @ITVOIP
      @ITVOIP  7 років тому +8

      Just 3 days ago. Glad i could help. The pfsense forums are sometimes not very welcoming to certain types of questions. I think pfsense is great piece of software and everyone should be allowed to configure it the way they want if it solves their problem.

  • @wiedapp
    @wiedapp 4 роки тому +6

    Setting up pfsense that way is actually pretty neat. I only need something for VLAN setup and routing, but I didn't want to replace my router for...reasons. I don't need a firewall either.
    The way you have shown is a concept most IT people seem to not understand, when it comes to pfsense being involved.

  • @bobmcbob4399
    @bobmcbob4399 Рік тому +1

    That's pretty amazing. A router with just single port with VLANs. Impressive.

  • @AbhishekKumar-nt3in
    @AbhishekKumar-nt3in 3 роки тому +4

    Best video with full step-by-step instructions. Thank you very much. I was able to setup my pfSense firewall router on a stick using a managed switch and VLANs. Without your help, I wouldn't be able to do it by myself. Thanks again.

    • @ITVOIP
      @ITVOIP  3 роки тому +2

      Great to hear!

    • @AbhishekKumar-nt3in
      @AbhishekKumar-nt3in 3 роки тому

      ​@@ITVOIP What do you think about OPNsense?? pfSense 2.5 has a lot of issues and after looking at some of the reddit posts I am planning to switch to OPNsense.

  • @DanWahrenberger
    @DanWahrenberger 3 роки тому +8

    Simple and to the point. Well Done. I have the same series switch and could follow along using an old Atom netbook for the PfSense box. Worked a treat.

  • @fubarsnafu4994
    @fubarsnafu4994 5 років тому +2

    Just wanted to say thanks. I had started a pfsense project using a NUC I had purchased for another project. Decided to give it a shot and realized that one gig port could be an issue. Some of the NUCs are lucky enough to get an add on card from a vender called GoRite. Bummer they don’t seem to make one for my older NUC. So I have a gig router I’m not using and have to admit I got a little excited. Rain forecasted for the weekend so the grass is out. Be in my shack if anyone is looking for me. Thanks again for the video.

  • @Miksalot
    @Miksalot 6 років тому +5

    Thank you so much. I picked up that exact switch a little bit ago off ebay and I had a micro PC that I wasn't using any more that I wanted to turn into a pfsense router. I was going to just use a USB ethernet adapter but a lot of people said they get a lot of errors from them so I scrapped that idea. I banged my head against the wall for a while trying to set up the VLANs for this until I stumbled across your vids. Very easy to follow and I got things set up quickly. Liked and subbed. Keep up the good work!

    • @ITVOIP
      @ITVOIP  6 років тому +2

      that's great...thanks for the kind words.

  • @joeyjojojr.shabadoo915
    @joeyjojojr.shabadoo915 Рік тому

    This is so helpful, even 4 years later, as many people will be running into the issue of greater than 1Gbit Internet access and how to accept/distribute it without spending a fortune.

  • @JoeZelMusic
    @JoeZelMusic 4 роки тому +3

    Awesome video and got me much better in understanding VLAN capabilities. I used some old junk laptop for the PoC pfSense box and successfully did this with Netgear ProSafe, an older Ubiqiti ToughSwitch 8 and some super-old Dell switch. When trying to do this with new Unifi switch though, it definitely didn't appreciate having 2 connections to my dumb switch (one for WAN and this PoC and the other separate for other PC's plugged into the switch) and all with VLAN's assigned to the 3 ports. To be fair, when I just plugged in WAN, pfSense and a LAN computer with nothing else on the switch, it certainly worked. My guess is that RSTP or STP is messing with me when it comes to loop detection but even with them disabled, could not get the Unifi switch to stop tripping out. I guess back to the older/cheaper switches for PoC work like this.

  • @ifscale3
    @ifscale3 5 місяців тому +1

    Excellent video on using pfSense with a single NIC.

  • @JensHove
    @JensHove 6 років тому +20

    This is EXACTLY what I was looking for. Thank you!

  • @projectspage5396
    @projectspage5396 2 роки тому

    Most people like Top from Lawrence and others show it with setting up with both wan and lan. But most of us as using it for homelab only have 1 port. This was especially useful. I only realized it after setting it up and getting into pfsense that we can use vlan to separate the port. This makes it so much clearer. LOL thanks!!!

  • @ppal64
    @ppal64 5 років тому +5

    Perfect. No waffle. Just info.

  • @StephenByersJ
    @StephenByersJ 5 років тому +6

    Awesome video. Thanks so much. This helps a ton for someone like me still just getting started with VLANs. I didn’t think doing something like this was possible, but makes a ton of sense and opens a lot more possibilities with single port micro PCs!

    • @porkbelly872
      @porkbelly872 5 років тому +1

      especially those ultra-small form factor units like a Dell Optiplex 9020! i5-4590S processor, 4gb Ram, throw in a small SSD and you have a beast of a router for about $200 max and extremely compact and reliable and I daresay being a corporate device it might just outlast those aliexpress units. If your upload + download speeds on the WAN link is less than 1Gbps you're all good to go in terms of not having this setup bottleneck your Internet bandwidth. those multiport units in aliexpress can be overpriced for what they offer vs the performance of the CPU.

    • @freakyweirdo92
      @freakyweirdo92 4 роки тому +1

      @@porkbelly872 hi there. i have 800 down and 200 up internet connection. will this setup work? and not bottleneck overall network connectivity?

    • @Dylan-xc8yz
      @Dylan-xc8yz 4 роки тому +1

      @@freakyweirdo92 you will get 400 down/100 up because the WAN and LAN interface share a 1gbit link.

  • @rvkasper
    @rvkasper 3 місяці тому

    this was so helpful and in doing this i think i finally mostly understand - esp when to use tagged, untagged and what PVID is - thank you!

  • @bQ5rL3m6D
    @bQ5rL3m6D 4 роки тому +3

    My MAN, THANK YOU for this, I finally have a solid use for my old laptop

  • @jacobisstressed
    @jacobisstressed Рік тому

    this just helped solve a problem i've had for over 2 years now. thank you for this!

  • @dvc214
    @dvc214 4 роки тому +1

    Thank you. I've done this with a MiniPC T11 & a Netgear managed switch. Works a treat! I'm not too familiar with VLANs but managed to translate your settings to the Netgear ones. Been running for 3 weeks flawlessly.

    • @Ntwobike
      @Ntwobike 4 роки тому +1

      Hi David would you mind to share which type of switch you are using? I have a layer 2 unmanaged switch it doesnt get an ip address. I'm looking to buy a small manage switch

  • @robertogonzalez9607
    @robertogonzalez9607 4 роки тому +1

    Nick, unfortunately couldn't get this running on my Netgear Prosafe GST108, but... for fun tried your dual USB 3.0 gigabit adapters on my 4th gen i3NUC, worked but wasn't too stable, just got in my Cisco SG-200, and OMG... Running like a champ!!! Thank you SO MUCH for these tutorials, appreciate your work, time and effort u put in to these for enthusiasts / tinkerers like myself. Speeds from wired and wireless APs (WiFi6 / ax) running circles around my recently purchased Ubiquiti USG. If u have a Patreon, etc, please direct me to that. Thanks again!!!

    • @ITVOIP
      @ITVOIP  4 роки тому +2

      Hey I am glad everything worked out. thanks for the donation offer but i am good, i have day job.

  • @steelfalconx2000
    @steelfalconx2000 2 роки тому

    It's your basic router on a stick setup, I didn't know pfsense supported virtual interfaces. Very cool.

  • @LB-wg3mr
    @LB-wg3mr 4 роки тому +6

    Dude, I really wish you used a HP switch for this great tutorial. Trying to convert what you're doing in the CISCO config to HP is giving me a headache.
    I have an older single port Celeron powered NUC and a HP ProCurve 1810G-8 that I 'thought' would be fun to setup with pfsense.

    • @kathleenabeana
      @kathleenabeana 4 роки тому +1

      I recently came into a hp procurve myself! How has it been working out for you?

  • @antonioaguiarfilho
    @antonioaguiarfilho 6 років тому +8

    These are SOLID instructions. Great job.

  • @alexandrumaran1184
    @alexandrumaran1184 5 років тому +2

    Excellent guide. I never taught to use single port for pfsense

  • @jsmithepa
    @jsmithepa 6 років тому +1

    Excellent info, this can save $ for folks who wants to pfsense with single-LAN boxes available at cheaper than the purposely built multi-LAN boxes.

  • @Shambolicoholic
    @Shambolicoholic 5 років тому +1

    Thanks! I did this with a TL-SG108E. 2 WAN inputs and everything worked fantastically. I'm so pleased!

    • @malikonthesus
      @malikonthesus 2 роки тому

      hey i know i’m 2 years late but is the gui any different from the cisco one, could you show me on how to get it working before i buy that switch

  • @shivanSpS
    @shivanSpS 5 років тому +7

    Thank you, i never trought about doing this. Im going to use a old Mikrotik router instead of a managed switch.

  • @karmakanic475
    @karmakanic475 8 місяців тому

    Great video. Clear instructions and straightforward. Question: do you have to give the switch a static IP?

  • @gpk6458
    @gpk6458 3 роки тому

    I actually bodged a second NIC into my Dell Optiplex using the internal mini-PCIe slot. I was planning on trying to modify the case to make the port external, but ended up just having a cat5e cable coming out of the hole for the wifi antenna (which I don't have) which is plugged into the nic inside the case. I didn't know about VLANs at the time. This way is probably easier, but my way is probably cheaper.

  • @BIGTONE-lc4vd
    @BIGTONE-lc4vd 4 роки тому +2

    Thank you very much. That's what I call step by step instruction

  • @spudforyou4124
    @spudforyou4124 4 місяці тому

    Thank You!!! Works great an old acer veriton l460 pc with an sg200-08 switch.

  • @martinwashington3152
    @martinwashington3152 2 роки тому

    Best I've seen this week using my SANdisk Cruiser install media was 1007 files/sec.. Nice video buddy :D

  • @Larimuss
    @Larimuss Рік тому

    Legend man! I literally have the same optiplex micro and wanted to use it as a pfsense router and I have a tp link switch but no idea how to vlan.

  • @jbx907
    @jbx907 4 роки тому +1

    it will work nice solution but, to prevent packet collisions from not having separate WAN LAN, in order to rx and tx simultaneously, on one port, it has to receive and store and send if its clear, or the Ethernet will work half the duplex for each network or even 1/4 duplex, since it has to handle 4 lanes, 2 lane WAN tx/rx, and 2 lane lLAN rx/tx, the NIC has still the same principle right. nice solution, but it cannot be a standard, or everyone should only buy a 4 port smart switch for a 8 port or even 16 port requirement. nice video

  • @silverismoney
    @silverismoney 2 роки тому

    I was really wondering if I really needed to buy extra NICs or not. I've got a 10G nic and a 10G switch, there's probably not much need to buy anything else. Thanks for the video.

  • @robr4662
    @robr4662 6 років тому +1

    This is exactly the info I was looking for. Thank you so much for your clear and concise information!

    • @ITVOIP
      @ITVOIP  6 років тому

      I'm glad it helped you out. thanks for the sub!

  • @danielwillingham3708
    @danielwillingham3708 Рік тому

    Why did we select 10 as our VLAN instead of just one? Great video!

  • @daninmanchester
    @daninmanchester 4 роки тому +1

    Helpful thanks. this is a great way to repurpose mini/micro PC hardware it's just a shame that they don't come with 10Gb.

  • @xeress
    @xeress 7 років тому +3

    Excellent and timely info, please keep up the good work.

    • @ITVOIP
      @ITVOIP  7 років тому +1

      Thanks - much appreciated.

    • @BenKraal
      @BenKraal 6 років тому +1

      I agree with xeress! informational and fast walk through without unnessary "crap talk". Keep up the good work Nick

  • @dannyaustin84
    @dannyaustin84 Рік тому

    Thanks for doing this. I found it really helpful. I'm setting up on a Mac mini with a Netgear 4port managed switched.

  • @ierosgr
    @ierosgr 4 роки тому +1

    Nice!!! Probably missed the part where the cable from WAN coming? Did you have your ISP modem as bridged opassing through the connection or coming from the wall to the port8 and through that straight to the pfsense?? - in which case you didnt configure pfsense with your ISP credentials so how come and you have internet? (Pf sense doesnt have ero touch configuration to auto setup itself)
    Am I missing something here?

    • @ITVOIP
      @ITVOIP  4 роки тому +1

      WAN is on DHCP by default. WAN port was created as a vlan in the console mode section. you probably jumped directly into the GUI portion and missed this critical step.
      ua-cam.com/video/z59_MWWPL-Q/v-deo.html

  • @joshharding6925
    @joshharding6925 4 роки тому +1

    I'm about to build a pfSense router using a HP mini PC with 1 NIC connected to a Cisco 3560 12p PoE switch. Can the pfSense WAN interface VLAN 10 be configured as a PPPoE connection? Excellent UA-cam vid also!

    • @ITVOIP
      @ITVOIP  4 роки тому +1

      did not test with PPPoE but i think it should work.

  • @qinliwei
    @qinliwei 4 роки тому +1

    Thanks for this video. Help me a lot. Can you advise what are the Pros and Cons between pfsence on 1 network port PC and 2 network port PC?

    • @ITVOIP
      @ITVOIP  4 роки тому +1

      2 is always better than 1. Easier to manage and more data you can route with 2 network cards. Some people want to use use these low powered single nic PC's - this gives them that option.

  • @abdullaalblooshi2406
    @abdullaalblooshi2406 4 роки тому +1

    Thanks. Very useful. I think you are not connecting pfsense PC directly to your ISP line, I mean there is another router or modem in between because your WAN IP is in the private IP range.
    I bought a used sg300-28 switch and tried your way it worked.
    However when I connected the pfsense PC directly to my ISP line, where I needed to enter some pppoe settings (ISP username & password), the vlan interface settings changed.
    So sad to use my USB to NIC again !
    Thanks again for the knowledge

    • @ITVOIP
      @ITVOIP  4 роки тому +2

      for ppoe setup you need to go to INTERFACES -> WAN
      switch the IPv4 configuration to PPPoE
      Now scroll down to the PPPoE configuration section and enter your USERNAME and PASSWORD
      and click the SAVE button at the bottom of the page.
      If you you see apply changes at the top of the page hit that as well.

    • @abdullaalblooshi2406
      @abdullaalblooshi2406 4 роки тому +2

      @@ITVOIP Thanks man. You are really kind.

  • @Martin-ot7xj
    @Martin-ot7xj 2 роки тому

    Hi there , on your mini pc that you had setup as pfsense there was one lan and wifi card !! why you didn't use network card as WAN and wifi card as LAN?? ,so from network card you get internet from wifi card give internet to all your devices. then all your devices on your network can connect to your pfsense wirelessly and access to the internet, and you hadn't used vlan or use a switch ?????thankyou

  • @zeusuki7328
    @zeusuki7328 5 років тому +1

    this is clever. plus you can use that dell's wifi (i'm guessing that's a wifi antenna port at the back) as an AP and will make it a solid setup. definitely be doing this kind of rig.

    • @ITVOIP
      @ITVOIP  5 років тому +1

      unfortunately the wifi isn't detected.

    • @zeusuki7328
      @zeusuki7328 5 років тому +1

      i tried this, and yes mine was not detected as well. :)
      for some who might want some further reading about supported wireless cards:
      docs.netgate.com/pfsense/en/latest/wireless/supported-wireless-cards.html

    • @Shambolicoholic
      @Shambolicoholic 5 років тому

      @@zeusuki7328 Wifi NICs are not suited for use as an AP but if you have an old wireless router sitting around most likely it can be used in AP mode. In the past I've used an Archer C9 and Asus RT-AC68U and they worked well.

  • @dalsomteam5238
    @dalsomteam5238 2 роки тому

    Hello, very good explanation. Quick question: can you use the USB ports as additional lan ports using USB/RJ45 dongle?

  • @Ultimatejeeves
    @Ultimatejeeves 3 роки тому

    thank you so much man, i was suck on one part and this helped get it all working finally!

  • @ramosel
    @ramosel 5 років тому +1

    Excellent tutorial, I don't need it (have SG-4860) but wanted to see and understand your configuration. if you spin up the "interface statistics" widget, do you seem many errors or collisions when the system is under high load?

    • @ITVOIP
      @ITVOIP  5 років тому +1

      I don't have this anymore. But I know there was some issues with the realtek network drivers that were used in the base bsd that pfsense used.

  • @Albisyx
    @Albisyx 5 років тому +5

    Very helpful video. Why did you created just one VLAN? I saw another tutorial that created two of them, one for WAN and the other for LAN. What is the difference between your setup and the one with 2 VLANs?

    • @ITVOIP
      @ITVOIP  5 років тому +2

      only needed one vlan. you can create additional vlans for other purposes.

    • @slidetoc
      @slidetoc 5 років тому +4

      There are actually two vlans there.
      re0.10 = vlan 10
      re0 = vlan 1
      vlan 1 is usually applied a non configured switchport / default.
      So what ever you plug into any device will be on vlan1, unless configured otherwise.

  • @worldtravels2763
    @worldtravels2763 Рік тому

    Man, you are mashing that enter key, what did it ever do to you? Jokes aside, great vid!

  • @slidetoc
    @slidetoc 5 років тому +11

    It's also worth nothing that, if you have a 1Gbit WAN connection or you plan on sharing files between seperate vlans, then you'll only be able to get 500Mbps out of it with this configuration, because upstream and downstream and both used at the same time and that hits the link speed max .

    • @Zeest898
      @Zeest898 3 роки тому +1

      Thank God I read this comment before placing an order for this switch

    • @Zeest898
      @Zeest898 3 роки тому

      I need some guidance, can you help

    • @NiklasRooms
      @NiklasRooms 3 роки тому

      I'm pretty sure this is incorrect.
      1 Gbit/s in full-duplex means that 1 Gbit/s can be sent and 1 Gbit/s can be received.
      In other words: a 1 Gbit/s port can handle 1 Gbit/s incoming & 1 Gbit/s outgoing traffic -> you will be okay.
      Only exception: you have a symetric 1 Gbit/s connection. Than you won't be able to fully saturate your connection in both directions at the same time.

  • @didierdel2319
    @didierdel2319 2 роки тому

    Bonjour, merci pour cette vidéo qui m'a permis de comprendre comment faire. J'ai le même pc !.

  • @Honggan689
    @Honggan689 3 роки тому

    Thank you very much for sharing your knowledge. You have helped me tremendously. I just set up the router successfully following your instruction! Many thanks! :D

  • @EmilePolka
    @EmilePolka 6 років тому +2

    You can also use a standard soho router that is supported by openwrt and had vlan capable ethernet ports which luckily most of the router supports openwrt do.

    • @ITVOIP
      @ITVOIP  6 років тому +2

      thanks for the info. I I try to use what ever i have. If you have a combination of hardware that does the same thing please list it out for anyone else that might benefit.

  • @TeymurBagirov
    @TeymurBagirov 5 років тому +1

    I have the same hardware, but i use virtualization. So PC works as router, file server and there's a lot of ram and storage to act as lab for tests. Just Install VMware, Hyper-v or smth. and install pfsense as usual without vlans. Inside host create virtual ethernet adapters with vlan. That's it. Profit: you can backup whole VM, you can make snapshot before update, so you will never get failed router.

    • @ITVOIP
      @ITVOIP  5 років тому +1

      what's the performance like?

    • @TeymurBagirov
      @TeymurBagirov 5 років тому +1

      @@ITVOIP Even on fanless 4 watt Intel Celeron N2807 averages are: 0.72 0.42 0.36
      It has MultiWan (summary ~70 Mbit/s), OpenVPN. Several PCs, mobiles and ip phones. Ip phones over vpn work flawlessly, That's mean there is no packet drops or smth other problems

    • @TeymurBagirov
      @TeymurBagirov 5 років тому +1

      Just one tip: use zfs instead of ufs. Pfsense sinse 2.4 has strange behavior in Hyper-v. It cannot save state correctly, so after host restart pfsense starts as after power failure. And once i got problems on UFS installation. ZFS is steady for unexpected "power off". VMs with pfsense 2.3/2.2 work on UFS without problems (due to correct state saving).

  • @redmapleleafwanderer
    @redmapleleafwanderer 2 роки тому

    trying to follow your configurations and it seems to me it is similar to cisco inter vlan router on a stcik configuration. Im going to try it.

  • @GunwooGim
    @GunwooGim 6 років тому +2

    Thanks for the video. can I use one of the remaining trunk ports for a access point?

    • @ITVOIP
      @ITVOIP  6 років тому +1

      yes...you can use the remaining ports on the switch plugin what ever you like.

  • @allsortsofstuff3952
    @allsortsofstuff3952 5 років тому +3

    obviously you need a smart switch .. or you can also buy anther Ethernet port for your mini pc :)

  • @Jamesaepp
    @Jamesaepp 4 роки тому +1

    You didn't talk about the compatibility of the NIC itself on the Dell - is yours 802.1q compatible or is there something nuanced that you left out?

    • @ITVOIP
      @ITVOIP  4 роки тому +2

      The only thing i can add is if it is supported by freebsd drivers it should work. I didn't do anything outside of the video to make this setup work. There are times when certain hardware (network card or switch) that advertise supported features are still not compatible under certain operating systems. So going by 802.1q alone i can't say that every card that has this feature will work. Best is to try.

  • @Martin-ot7xj
    @Martin-ot7xj 4 роки тому +1

    Hi there, why you didn't use wifi as secend lan port option??

  • @darellsison
    @darellsison 4 роки тому +1

    Thank you very much for this guide. I get lost on setting port 8 as access point as I have a netgear gs908e. Any ideas?

    • @ITVOIP
      @ITVOIP  4 роки тому +1

      in the manual it shows vlan usage but i am not entirely sure.

  • @userhandler0tten351
    @userhandler0tten351 3 роки тому

    He brought the paper clip, bro.... 🙏🏽

  • @Vadinaka
    @Vadinaka 4 роки тому +2

    Hi,
    I am a retired pilot and I am teaching myself some IT. Would appreciate some guidance.
    I have a ubiquiti switch 8-60w, can I use it for this?

    • @ITVOIP
      @ITVOIP  4 роки тому +1

      if it's a managed switch it should work. I haven't tested on those switches yet.

    • @liutang
      @liutang 4 роки тому +1

      Yes you can.

  • @AlonsoVPR
    @AlonsoVPR 4 роки тому +1

    Great video!!, I'm looking a way to virtualize pfsense on a synology NAS that has 4x 1gb ports , my goal is to simply connect the modem to one of the ports and my unify AP to another one using the remaining ports as a switch.. do you know if it's possible on DSM?

    • @ITVOIP
      @ITVOIP  4 роки тому +1

      Since the DSM can act as a router already it's technically possible. I can't guarantee anything but it would be interesting to see.

    • @AlonsoVPR
      @AlonsoVPR 4 роки тому +1

      @@ITVOIP Just received this message from Synology
      You can assign specific NICs to be used for VM networks but this does not dedicate the NIC to only being used by VMs: www.synology.com/en-us/knowledgebase/DSM/help/Virtualization/network

  • @MrAzureKite
    @MrAzureKite 6 років тому +2

    after some days of researches i finally have found your video and gave me more hope of using a spare old laptop as a pfsense router, yes it has no aes-ni unfortunately but for my first try i wanted to try it this way, to not use an desktop instead (power usage).
    the question i've got is: after doing what you did i guess i can just put my crappy modem/router in bridge mode and stick it into the switch, and then configure pfsense to connect the internet after that right ?
    We still use old adsl over phone line here so i am obliged to go through the dlink 2750 in bridge mode.
    And i guess i can't use any switch for this to work, (no dumb switch i mean) or else i cannot configure it so that it works this way.
    Sorry if my question seems dumb but i'm really new to networking and to pfsense too ^^"

    • @ITVOIP
      @ITVOIP  6 років тому +1

      the switch you need will be either labeled a smart switch or managed switch. And it should say that it supports VLAN's. You normally have to login to some kind of GUI in order for this to be configured.
      if your switch does not have an ip address or web interface than probably not the right switch.

    • @ITVOIP
      @ITVOIP  6 років тому +1

      if you are using this laptop just for learning pfsense you can also use USB ethernet. I have another video where it shows which brand i used.

    • @MrAzureKite
      @MrAzureKite 6 років тому +1

      @@ITVOIP thanks you very much for your answer.
      since getting new hardware or alternative low power hardware here is very expensive, going the old hardware i have in my house seems to be the best solution for me, at least for now until i get something better with time, yes it's an old laptop but it's half the power draw from the wall than the lga 775 cpus and mobos i have. ( monthly payment for is 140€ really so yeah ......)
      all i wanna do i create a small home network on our new house so that i can monitor it and manage the bandwidth that each user can use at max, (4mbps or maybe 8 in the future) that would hurt if someone just use it all. and there's no way a 10/100 ethernet port can bottleneck the internet too.
      i will experiment with the "add-on" we can install on pfsense too but i know that i'm limited by the old dual core it has.
      only two or three devices will use ethernet, the rest of the users are the multiples wifi devices (will try to hook up an access point for those ) i'm thinking something like this if i can manage to get a smart switch with how you explained it
      laptop router ----------------------> switch with bridged modem

  • @brocktyler2818
    @brocktyler2818 5 років тому +2

    So WAN is port 8, it has to send it out over port 1, router receives it and routes the traffic, then has to send it back over the same interface, switch gets it back in on 1 then routes it over to the destination. I'm kind of new to this, help me understand, if there's local traffic within the same subnet the switch should be able to see the destination and just handle it right there without it needing to go over to the router, correct? However if multiple hosts are needing to route out to the WAN its all having to go over that single interface, is this fine since normal http traffic ect shouldn't bottleneck that?

    • @ITVOIP
      @ITVOIP  5 років тому +2

      vlan's are a compromise in a every solution that i have seen. you get a feature at the cost of something. In this case it's performance or full capacity of WAN/LAN speed. Yes it's possible to saturate the LAN/WAN if you have enough traffic. With 10 GB nic's now shipping with some PC's it becomes less of a problem.

    • @brocktyler2818
      @brocktyler2818 5 років тому +1

      @@ITVOIP I see, thank you.

  • @Martin-ot7xj
    @Martin-ot7xj 5 років тому +1

    Hi there, if we have laptop and we want to use wireless instead of the rj45 cable to connect to the pfsense then what should we do? In this case you have 1 pc, 1 switch and connect your laptop with rj45 cable to the switch, my question is we want 2 more laptops connect to network by wireless? In this case what should we do?

    • @weppami6693
      @weppami6693 5 років тому +2

      just plug a wireless access point in one the other ports

  • @tjle4900
    @tjle4900 2 роки тому

    Nice video tutorial, thanks for sharing!!!

  • @familyplans3788
    @familyplans3788 5 років тому +4

    lol so obvious but it never occurred to me to do it !! thanks and have a subcriber

  • @attilavidacs24
    @attilavidacs24 2 роки тому

    Why did you get a private IP address allocated on your WAN interface?

  • @cryptclown
    @cryptclown 6 років тому +1

    I was looking for this thanks. My situation though I have those ISP provided (sagemcom fast 5250 ) wireless router/modem combo. I have FTTN 50/10 mbps connection DSL to modem; PFsense will be Dell inspiron 530 (1 nic). It will just be those 2 devices for now. PFsense box and ISP box, will this work? I want the ports on the ISP box to still work and use it for Wifi.

    • @ITVOIP
      @ITVOIP  6 років тому +1

      yes. you would need to put your is[ modem /router into bridge mode. yes wifi can still operate in this mode but you won't be able to route through it with pfsense. Your wifi will be completely on a separate network this way.
      Your other option is to do a double NAT setup. and for any public port forwarding you would need to do this at 2 levels. the isp router and pfsense - really messy.

  • @Dragon14is
    @Dragon14is 5 років тому +1

    Hi, thanks for your videos. Is it better to use USB Nics or VLANs? I will use: LAN, ISP1 (100mbps), ISP1 (80mbps). Please let me know if possible the best configuration for my PFsense router with i5 8gb ram SSD. Thanks and continue these videos. Subscribed. Thanks,

    • @ITVOIP
      @ITVOIP  5 років тому +1

      the usb nics seem to fail/freeze over time. I would go with vlans if I had to choose between those options. And 100Mbs should be fine as long as your network ports are gigabit.

    • @Dragon14is
      @Dragon14is 5 років тому +1

      @@ITVOIP thanks for the answer. I will stick with Vlans. Is there any better solutions? I have a Hp 840 G1 it 8gb ram. Thanks,

    • @ITVOIP
      @ITVOIP  5 років тому +2

      with a notebook you really don't have any other options.

    • @Dragon14is
      @Dragon14is 5 років тому +1

      @@ITVOIP so the best would be to stick with my one LAN with Vlans. What about USB nic failover? Is it possible? Could you please do a video on it? Would be amazing. Thanks,

  • @elguru3873
    @elguru3873 4 роки тому +2

    Can you do the same thing using esxi instead of a switch? If so... how?

    • @ITVOIP
      @ITVOIP  4 роки тому +1

      you should but i don't know my way around esxi.

  • @toysareforboys1
    @toysareforboys1 6 років тому +3

    Is there any performance loss? i.e. I have gigabit ethernet, would your setup make it single duplex? or only 500mbps? Could you put a PC on the wan side and run a throughput test and see if you get full gigabit? Thanks!

    • @ITVOIP
      @ITVOIP  6 років тому +4

      I can add this to my list of things to check...but yes there is a performance hit. if your internet (not ethernet) speed is more than 500Mb this setup is not good.

  • @emersoncristal5351
    @emersoncristal5351 3 роки тому

    Does the WAN need any configuring or firewall rules set with this 1-port setup? Or, is pfSense set to its default - block any into WAN/allow any out from LAN - like it is on a 2-port setup? Thank you.

    • @DanWahrenberger
      @DanWahrenberger 3 роки тому

      Once the Vlans are created, LAN & WAN interfaces are assigned. PFSense will treat the interfaces exactly as if they are hardware ports just like a 2 or more port setup. No other special configuration needed.

  • @richardwatkins6725
    @richardwatkins6725 4 роки тому +1

    great video, well made and clear

  • @llfrater19
    @llfrater19 3 роки тому

    @nicks hardware
    How do you setup with a Cisco 2960 switch

  • @Valkween
    @Valkween 6 років тому +1

    thank you! this is a very simple to understand guide

    • @ITVOIP
      @ITVOIP  6 років тому +1

      glad you liked it.

  • @DutchHollandLowz
    @DutchHollandLowz Місяць тому

    Im so close to getting this working. the problem is my switch is so different i cant seem to understand hot to set mine and know it is matching what you did here if anyone can help that would be great.

  • @WingGT1
    @WingGT1 Рік тому

    I followed this video exactly with a tp link switch but pfsense isn't getting a WAN IP. Any idea what the issue could be?

  • @Martin-ot7xj
    @Martin-ot7xj 4 роки тому +1

    Hi there, with this configuration all devices must connect with lan port i mean rj45 to the switch? If yes, how we connect mobile or laptops thought wireless to the network?? With this configuration is it possible wirelessly devices connect to pfsense??

    • @ITVOIP
      @ITVOIP  4 роки тому +2

      pfsense does not recognize the wifi drivers on this pc. if it did yes but not the point of the video.

    • @Martin-ot7xj
      @Martin-ot7xj 4 роки тому +1

      @@ITVOIP thank you for your quick reply, for example i have lenovo tiny model and i want to use as pfsense firewall, my lenovo pc mini only has 1 rj45 lan port, and 1 wifi port, my question is how can i configure this things that wireless devices can connect to pfsense firewall like mobile and laptop wirelessly ? Please help me

  • @MIDNIGHT2225
    @MIDNIGHT2225 7 років тому

    Nick's Hardware -- Excellent job. You have resolved my issue. @ my location, its difficult to find the Atom / Celeron motherboard with 2 onboard lan interfaces or with additional pci slot. For me its a great great help.
    I have couple of queries though.
    1. I have Dual Core Celeron PC with 1 Gbps Ethernet port. Wan speed is about 50 Mbps and there are 15 PC on Lan side. With the configuration you have suggested will it hamper the speed of the network ?
    2. I have spare TP-LINK TL-SG108E 8-Port Gigabit Easy Smart Switch with 8 10/100/1000 Mbps RJ45 Ports ( Costed me $40) . Can I use this switch instead of Cisco which is bit costly?
    3. Can I configure additional vlan on single interface on PFsense side + on smart switch so that I can create additional network ( DMZ for server + vlan for accounts dept )
    Regards and nice to see such excellent video . Keep it up !!!

    • @ITVOIP
      @ITVOIP  7 років тому +1

      1. yes it will work. since your WAN speed is 50M and WAN/LAN Interface will be 1G it should not affect performance. You should test the final configuration.
      2. Technically that switch should work. it does support VLANS. I have not tested though.
      3.Yes - you can configure as many vlans as you have ports on your switch (minus one) . You can even add additional switches to each access port to expand the network. And that would affect performance. Always test!

  • @m.m.m.c.a.k.e
    @m.m.m.c.a.k.e 2 роки тому

    Will this work in docker? Thanks!

  • @iamrage4753
    @iamrage4753 5 років тому +1

    Wish i could get this figured out on a cisco sg300-10 as similar in some ways, but not so in others on latest fw

    • @ITVOIP
      @ITVOIP  5 років тому +1

      see if you can find a tutorial for the SG300 that shows you how to set the vlan id's for each port. You just need to match up the same id's as i have listed.

    • @iamrage4753
      @iamrage4753 5 років тому +1

      @@ITVOIP i did find this ua-cam.com/video/bPBAnRLuco4/v-deo.html it's a step in the right direction

    • @iamrage4753
      @iamrage4753 5 років тому +1

      @@ITVOIP i have a few screenshots of switch vlan configs could you take a look please to see if they are ok? not getting an ip as guessing it's due to not having port to vlan not set to every switch port
      ibb.co/M1YYSwz
      ibb.co/GvGQDrr
      ibb.co/BPCfznF

    • @ITVOIP
      @ITVOIP  5 років тому +1

      Did you setup the vlan on the pfsense side? This is right at the beginning of the text part of the installation.

    • @iamrage4753
      @iamrage4753 5 років тому +1

      @@ITVOIP yes, one is setup...using opnsense pretty much the same settings wise only thing i left out is dns settings in the initial setup, all i can think is that the vlan needs to be joined to the rest of the ports on the switch, does the configuration screencaps look right to you?

  • @AFiB1999
    @AFiB1999 4 роки тому +1

    What is the difference between 1 port to share WAN and LAN vs 1 port for WAN and 1 Port for LAN?

    • @ITVOIP
      @ITVOIP  4 роки тому +1

      it's always better to have a dedicated nic(port) for your lan and wan. If you want to use a micro PC as a router there no place to install a second nic(port). This method allows you to do that by configuring a small switch.

  • @kylelaker539
    @kylelaker539 Рік тому

    Can you do this on openwrt router act as a manage switch?

  • @radium6454
    @radium6454 4 роки тому +1

    Awesome video sir, thank you

  • @Martin-ot7xj
    @Martin-ot7xj 4 роки тому +1

    Hi there, if we have pc mini with only 1 rj45 lan port, can we use normal switch or we must to use switch with vlan support?? Thnx

    • @ITVOIP
      @ITVOIP  4 роки тому +2

      vlan switch

  • @cineaviation3220
    @cineaviation3220 3 роки тому

    Is there any performance drop doing this? I would ask if it could handle 200 Mbps internet connection

  • @mikemckenna4816
    @mikemckenna4816 4 роки тому +1

    Nick, I have an HP Procurve 1800-8 (J9029A). Do you know if that switch would work?

    • @ITVOIP
      @ITVOIP  4 роки тому +1

      From the data sheet it looks possible.

  • @Valnurat
    @Valnurat 6 років тому +1

    Do you have video on how to setup a Cisco Catalyst 2960c 8 port?

    • @ITVOIP
      @ITVOIP  6 років тому +1

      no...not something i use in day to day setups.

  • @jcholland1518
    @jcholland1518 9 місяців тому

    Why is linking at 100 mbps? Gigabit PC and switch, I have same problem

  • @JHACbiz
    @JHACbiz 5 років тому +1

    I tried this with a cisco sg200-08 and a old Gateway laptop and never could get the WAN...got 0.0.0.0. I was wondering if the NIC has to be gigabit...I'm not sure what that laptop's capability is. I have Suddenlink cable internet if that helps.

    • @ITVOIP
      @ITVOIP  5 років тому +2

      it would need to support vlan's (the gateway laptop nic port), don't think gigabit would be the issue.

    • @JHACbiz
      @JHACbiz 5 років тому +1

      @@ITVOIP Well I assumed the Gateway nic was working on some level with vlans. There would have to be some bi-directional abilities going on here. I've had the trunk port hooked up to the switch and was getting connectivity to the lan leading to my other computer to get the web ui up and running. I wasn't sure if there maybe was some limits to what the NIC could actually handle. Same switch works fine on my main pfsense box with vlans. I just wanted to try this for fun mainly. One thing in your video about the switch that's different from my setup is the other ports 2-7 you left as default Trunk where as mine are all Access allow all untagged. I can't imagine that would matter though.

  • @metube5691
    @metube5691 4 роки тому +1

    Any advice for running Pfsense on Proxmox? I cannot seem to get this setup going, and I suspect its down to not having the host or vm networking set up correctly. I lose access to Proxmox (and thus pfsense running in a VM) when I try.

    • @roberttalk7834
      @roberttalk7834 4 роки тому +1

      This worked for me: www.dlford.io/pfsense-nat-how-to-home-lab-part-3/

  • @Martin-ot7xj
    @Martin-ot7xj 2 роки тому

    Hi , why you didn't use network card as WAN and wifi card as LAN , setup DHCP server on PFsense to give IP address to all devices , then from network card set as WAN get internet from Wifi card that set as lan give internet to your wireless devices without using vlan and switch to anything else ? why you didn't make your mini PC as pfsense and DHCP server and WiFi Access Point , ???thnx

    • @ITVOIP
      @ITVOIP  2 роки тому

      not the point of video. this was to show how to use a single network port. but even if you wanted to use it that way its not possible - doesn't recognize the wlan card. you can use usb dongles and other wlan cards if you wanted to use it like another pfsense pc setup.

  • @zaluq
    @zaluq 6 років тому +3

    Would you add info on using a dd-wrt router instead of cisco ?

    • @ITVOIP
      @ITVOIP  6 років тому +2

      I can add that to my list of things to do next. what are you using dd-wrt on? what kind of hardware?

    • @kristopherleslie8343
      @kristopherleslie8343 6 років тому +1

      Gunnvald Kleveland lol ddwrt should be put away. Use ubiquiti

    • @Miksalot
      @Miksalot 6 років тому +2

      Don't be a douche. For a ton of us, dd-wrt works perfectly fine.

    • @avamaria8447
      @avamaria8447 3 роки тому

      doesn't pfsense handle everything dd-wrt does and more?

  • @craigrider9822
    @craigrider9822 3 роки тому

    Is this a bit like VM reverse engineering (sic)?

  • @ilducedimas
    @ilducedimas 5 років тому +1

    Great awesome video. I have tried puting a vlan on both lan and wan just our of curiosity and that does not work. Does anyone have a clue as to why this failed?

    • @ilducedimas
      @ilducedimas 5 років тому +1

      Correction : it worked but i had to reboot pfsense and make sure the port connected to the pfsense box was tagged to both VLANs used for LAN & WAN.

  • @pierrebeauregard5369
    @pierrebeauregard5369 6 років тому +1

    Hi question in msc tab there was power option, can we undervolt under pfsense? like in windows with xtu...

    • @ITVOIP
      @ITVOIP  6 років тому +1

      did not check that system is out of my hands now...but what would undervolting do? not sure what the benefits would be.

    • @pierrebeauregard5369
      @pierrebeauregard5369 6 років тому +1

      @@ITVOIP let says you get your cpu down to 1v instead of its 1.1v its tdp will be less the heat output will be reduced and your power bill will also be less. ~0.08cent power * 24/7 365days 10watts egal to $5.80. Not hard to tweak under windows, but some hp mono etc offer no bios option, thats why I asked if freebsd offense as the option.

    • @ITVOIP
      @ITVOIP  6 років тому +1

      yeah that makes sense. maybe someone else can chime in on this...not sure if this is possible in freebsd.