✅ pfsense on 1 network/ethernet port PC using VLANS

  Рет қаралды 190,998

Mr. Nick's Hardware & Food

Mr. Nick's Hardware & Food

Күн бұрын

Complete setup of pfsense 2.4.2 on single port nic PC, VLAN configuration on pfsense and Cisco SG-200 8 port gigabit switch. All info is provided. Using Dell Optiplex 3050 as an example but you can now use any single port PC as your router!
Subscribe and Nick will answer your questions!
NOTE: BIOS Changes required to install pfsense from default Dell shipped configuration.
=================CREDITS====================
Tech Live Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0 License
creativecommons.org/licenses/b...

Пікірлер: 287
@ITVOIP
@ITVOIP 3 жыл бұрын
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 ?
@DanWahrenberger
@DanWahrenberger 2 жыл бұрын
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.
@modemfox
@modemfox 6 жыл бұрын
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 6 жыл бұрын
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 жыл бұрын
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.
@JensHove
@JensHove 6 жыл бұрын
This is EXACTLY what I was looking for. Thank you!
@tommydags1
@tommydags1 4 жыл бұрын
My MAN, THANK YOU for this, I finally have a solid use for my old laptop
@Miksalot
@Miksalot 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 5 жыл бұрын
that's great...thanks for the kind words.
@bobmcbob4399
@bobmcbob4399 7 ай бұрын
That's pretty amazing. A router with just single port with VLANs. Impressive.
@Shambolicoholic
@Shambolicoholic 4 жыл бұрын
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
@robr4662
@robr4662 6 жыл бұрын
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!
@dvc214
@dvc214 4 жыл бұрын
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 жыл бұрын
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
@StephenByersJ
@StephenByersJ 4 жыл бұрын
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 4 жыл бұрын
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.
@i1mran92
@i1mran92 4 жыл бұрын
@@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 3 жыл бұрын
@@i1mran92 you will get 400 down/100 up because the WAN and LAN interface share a 1gbit link.
@fubarsnafu4994
@fubarsnafu4994 5 жыл бұрын
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.
@alexandrumaran1184
@alexandrumaran1184 5 жыл бұрын
Excellent guide. I never taught to use single port for pfsense
@BIGTONE-lc4vd
@BIGTONE-lc4vd 4 жыл бұрын
Thank you very much. That's what I call step by step instruction
@ppal64
@ppal64 5 жыл бұрын
Perfect. No waffle. Just info.
@jacobduque7603
@jacobduque7603 9 ай бұрын
this just helped solve a problem i've had for over 2 years now. thank you for this!
@AbhishekKumar-nt3in
@AbhishekKumar-nt3in 3 жыл бұрын
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 жыл бұрын
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.
@ifscale3
@ifscale3 26 күн бұрын
Excellent video on using pfSense with a single NIC.
@xeress
@xeress 6 жыл бұрын
Excellent and timely info, please keep up the good work.
@ITVOIP
@ITVOIP 6 жыл бұрын
Thanks - much appreciated.
@BenKraal
@BenKraal 6 жыл бұрын
I agree with xeress! informational and fast walk through without unnessary "crap talk". Keep up the good work Nick
@antonioaguiarfilho
@antonioaguiarfilho 6 жыл бұрын
These are SOLID instructions. Great job.
@JoeZelMusic
@JoeZelMusic 4 жыл бұрын
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.
@jessezarzycki2409
@jessezarzycki2409 3 жыл бұрын
thank you so much man, i was suck on one part and this helped get it all working finally!
@projectspage5396
@projectspage5396 Жыл бұрын
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!!!
@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.
@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
@shivanSpS
@shivanSpS 5 жыл бұрын
Thank you, i never trought about doing this. Im going to use a old Mikrotik router instead of a managed switch.
@dannyaustin84
@dannyaustin84 9 ай бұрын
Thanks for doing this. I found it really helpful. I'm setting up on a Mac mini with a Netgear 4port managed switched.
@steelfalconx2000
@steelfalconx2000 Жыл бұрын
It's your basic router on a stick setup, I didn't know pfsense supported virtual interfaces. Very cool.
@jsmithepa
@jsmithepa 6 жыл бұрын
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.
@Valkween
@Valkween 6 жыл бұрын
thank you! this is a very simple to understand guide
@ITVOIP
@ITVOIP 6 жыл бұрын
glad you liked it.
@martinwashington3152
@martinwashington3152 2 жыл бұрын
Best I've seen this week using my SANdisk Cruiser install media was 1007 files/sec.. Nice video buddy :D
@richardwatkins6725
@richardwatkins6725 4 жыл бұрын
great video, well made and clear
@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.
@radium6454
@radium6454 4 жыл бұрын
Awesome video sir, thank you
@robertogonzalez9607
@robertogonzalez9607 4 жыл бұрын
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 жыл бұрын
Hey I am glad everything worked out. thanks for the donation offer but i am good, i have day job.
@ihatecivicssomuch
@ihatecivicssomuch 3 жыл бұрын
super helpful. thanks for making this.
@tjle4900
@tjle4900 2 жыл бұрын
Nice video tutorial, thanks for sharing!!!
@karmakanic475
@karmakanic475 3 ай бұрын
Great video. Clear instructions and straightforward. Question: do you have to give the switch a static IP?
@GuillyTV
@GuillyTV 6 жыл бұрын
nice video man keep them up
@hongkongbuffet22
@hongkongbuffet22 4 жыл бұрын
You are amazing!
@BekBrace
@BekBrace 3 жыл бұрын
Great video !
@daninmanchester
@daninmanchester 3 жыл бұрын
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.
@didierdel2319
@didierdel2319 Жыл бұрын
Bonjour, merci pour cette vidéo qui m'a permis de comprendre comment faire. J'ai le même pc !.
@spr75befare
@spr75befare 4 жыл бұрын
Nice one. Thanks
@jackadamsdaniels6719
@jackadamsdaniels6719 6 жыл бұрын
Very Cool !
@familyplans3788
@familyplans3788 5 жыл бұрын
lol so obvious but it never occurred to me to do it !! thanks and have a subcriber
@gpk6458
@gpk6458 2 жыл бұрын
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.
@LB-wg3mr
@LB-wg3mr 4 жыл бұрын
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 жыл бұрын
I recently came into a hp procurve myself! How has it been working out for you?
@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.
@Malik-IT
@Malik-IT 3 жыл бұрын
excellent video
@dalsomteam5238
@dalsomteam5238 2 жыл бұрын
Hello, very good explanation. Quick question: can you use the USB ports as additional lan ports using USB/RJ45 dongle?
@danielwillingham3708
@danielwillingham3708 11 ай бұрын
Why did we select 10 as our VLAN instead of just one? Great video!
@worldtravels2763
@worldtravels2763 Жыл бұрын
Man, you are mashing that enter key, what did it ever do to you? Jokes aside, great vid!
@jbx907
@jbx907 4 жыл бұрын
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
@ramosel
@ramosel 5 жыл бұрын
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 жыл бұрын
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.
@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.
@qinliwei
@qinliwei 3 жыл бұрын
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 3 жыл бұрын
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.
@HboskO1982
@HboskO1982 3 жыл бұрын
Thanks.
@zeusuki7328
@zeusuki7328 4 жыл бұрын
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 4 жыл бұрын
unfortunately the wifi isn't detected.
@zeusuki7328
@zeusuki7328 4 жыл бұрын
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 4 жыл бұрын
@@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.
@olliemaster2442
@olliemaster2442 5 жыл бұрын
Great video! It would have been easier and faster to use cli on the switch though ;)
@ITVOIP
@ITVOIP 5 жыл бұрын
I don't think this switch is capable of CLI.
@GunwooGim
@GunwooGim 6 жыл бұрын
Thanks for the video. can I use one of the remaining trunk ports for a access point?
@ITVOIP
@ITVOIP 6 жыл бұрын
yes...you can use the remaining ports on the switch plugin what ever you like.
@ierosgr
@ierosgr 4 жыл бұрын
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 жыл бұрын
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. kzbin.info/www/bejne/sGackICNjLV_Y7M
@TheChyamp
@TheChyamp 9 ай бұрын
Thanks
@EmilePolka
@EmilePolka 6 жыл бұрын
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 жыл бұрын
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.
@carl313313
@carl313313 4 жыл бұрын
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 жыл бұрын
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 2 жыл бұрын
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.
@userhandler0tten351
@userhandler0tten351 2 жыл бұрын
He brought the paper clip, bro.... 🙏🏽
@Martin-ot7xj
@Martin-ot7xj 4 жыл бұрын
Hi there, why you didn't use wifi as secend lan port option??
@toysareforboys1
@toysareforboys1 6 жыл бұрын
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 жыл бұрын
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.
@abdullaalblooshi2406
@abdullaalblooshi2406 4 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@ITVOIP Thanks man. You are really kind.
@darellsison
@darellsison 4 жыл бұрын
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 жыл бұрын
in the manual it shows vlan usage but i am not entirely sure.
@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
@joshharding6925
@joshharding6925 4 жыл бұрын
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 KZbin vid also!
@ITVOIP
@ITVOIP 4 жыл бұрын
did not test with PPPoE but i think it should work.
@Phil-D83
@Phil-D83 6 жыл бұрын
For an intel nuc or such
@cryptclown
@cryptclown 5 жыл бұрын
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 5 жыл бұрын
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.
@MrAzureKite
@MrAzureKite 5 жыл бұрын
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 5 жыл бұрын
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 5 жыл бұрын
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 5 жыл бұрын
@@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
@cineaviation3220
@cineaviation3220 3 жыл бұрын
Is there any performance drop doing this? I would ask if it could handle 200 Mbps internet connection
@MIDNIGHT2225
@MIDNIGHT2225 6 жыл бұрын
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 6 жыл бұрын
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!
@TeymurBagirov
@TeymurBagirov 4 жыл бұрын
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 4 жыл бұрын
what's the performance like?
@TeymurBagirov
@TeymurBagirov 4 жыл бұрын
@@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 4 жыл бұрын
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).
@allsortsofstuff3952
@allsortsofstuff3952 5 жыл бұрын
obviously you need a smart switch .. or you can also buy anther Ethernet port for your mini pc :)
@Raymond6494
@Raymond6494 2 жыл бұрын
nice vib
@Valnurat
@Valnurat 6 жыл бұрын
Do you have video on how to setup a Cisco Catalyst 2960c 8 port?
@ITVOIP
@ITVOIP 6 жыл бұрын
no...not something i use in day to day setups.
@Martin-ot7xj
@Martin-ot7xj 4 жыл бұрын
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 4 жыл бұрын
just plug a wireless access point in one the other ports
@llfrater19
@llfrater19 2 жыл бұрын
@nicks hardware How do you setup with a Cisco 2960 switch
@Albisyx
@Albisyx 4 жыл бұрын
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 4 жыл бұрын
only needed one vlan. you can create additional vlans for other purposes.
@carl313313
@carl313313 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.
@kylelaker539
@kylelaker539 10 ай бұрын
Can you do this on openwrt router act as a manage switch?
@emersoncristal5351
@emersoncristal5351 2 жыл бұрын
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 2 жыл бұрын
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.
@xxxXXXCH04XXXxxx
@xxxXXXCH04XXXxxx 3 жыл бұрын
Wow
@AlonsoVPR
@AlonsoVPR 3 жыл бұрын
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 3 жыл бұрын
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 3 жыл бұрын
@@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
@Jamesaepp
@Jamesaepp 4 жыл бұрын
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 жыл бұрын
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.
@ilducedimas
@ilducedimas 4 жыл бұрын
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 4 жыл бұрын
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.
@m.m.m.c.a.k.e
@m.m.m.c.a.k.e Жыл бұрын
Will this work in docker? Thanks!
@metube5691
@metube5691 4 жыл бұрын
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 3 жыл бұрын
This worked for me: www.dlford.io/pfsense-nat-how-to-home-lab-part-3/
@mikemckenna4816
@mikemckenna4816 4 жыл бұрын
Nick, I have an HP Procurve 1800-8 (J9029A). Do you know if that switch would work?
@ITVOIP
@ITVOIP 4 жыл бұрын
From the data sheet it looks possible.
@attilavidacs24
@attilavidacs24 Жыл бұрын
Why did you get a private IP address allocated on your WAN interface?
@marcello4258
@marcello4258 2 жыл бұрын
how secure is it compare to have 2 different nics?
@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?
@Dragon14is
@Dragon14is 5 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@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 жыл бұрын
with a notebook you really don't have any other options.
@Dragon14is
@Dragon14is 5 жыл бұрын
@@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,
@Martin-ot7xj
@Martin-ot7xj 4 жыл бұрын
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 жыл бұрын
vlan switch
@greasydave1318
@greasydave1318 Ай бұрын
i accidently made this youtube video my browser homepage 2 years ago and been too lazy to change it since
✅ pfsense  - turn those extra router ports into switch!
6:54
Mr. Nick's Hardware & Food
Рет қаралды 51 М.
Setting up VLANs in pfSense
13:32
Raid Owl
Рет қаралды 62 М.
СНЕЖКИ ЛЕТОМ?? #shorts
00:30
Паша Осадчий
Рет қаралды 8 МЛН
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31
Install & Configure Pfsense Using 1Nic & Vlans
25:48
Jason's Lab
Рет қаралды 26 М.
How to Virtualize Your Home Router / Firewall Using pfSense
15:04
pfSense Proxmox Setup
6:20
Divgitally
Рет қаралды 28 М.
Our BIG network upgrade! - OPNsense DEC4280
18:03
ShortCircuit
Рет қаралды 527 М.
pfSense on Thinkpad
22:12
Jaren Havell
Рет қаралды 11 М.
I hope you don't need internet.... - PfSense Router Update
27:31
Linus Tech Tips
Рет қаралды 2,4 МЛН
Network Virtual LANs (VLANs), Explained Simply (VLANs, Part 1)
28:38
Doug Johnson Productions
Рет қаралды 130 М.
Неразрушаемый смартфон
1:00
Status
Рет қаралды 1,9 МЛН
CY Superb Earphone 👌 For Smartphone Handset
0:42
Tech Official
Рет қаралды 826 М.
Lid hologram 3d
0:32
LEDG
Рет қаралды 9 МЛН
Main filter..
0:15
CikoYt
Рет қаралды 12 МЛН
Ждёшь обновление IOS 18? #ios #ios18 #айоэс #apple #iphone #айфон
0:57