Network drive question

Hello, I’ve recently setup a homelab using an old desktop pc, and decided to install proxmox on it and then TrueNAS scale VM for Network drive for storage and to use jellyfin for personal movies and tv shows. Couldn’t get jellyfin to work inside TrueNas scale so tried TrueNas core didn’t boot up at all after creating the VM (the install of core went fine no issues till reboot, then it hung and wouldn’t load) . Long story shorter. switched back to Scale added in Ubuntu server for jellyfin and seems to work. however now have an issue connecting a network drive for Ubuntu to see from the Truenas VM running. It is an SMB drive due to others using windows in the home (and yes I have checked to make sure the storage drive is working and accessible. On multiple machines.).

I am completely out of my depth with the command line as I am really new to linux and have been trying to find all the information I can on every topic I can find. Perhaps I am biting off more than I can chew in regards to learning how to network and do a home lab / server. I am learning lots and hope to find all the information and help to successfully get my homelab working amazingly and even accessible outside of my home network in the future. ( after many updates and security upgrades. )

Thanks hope I haven’t rambled too much.

Also any tips on firewalls and routers / switches (cheap cough cough) would be amazing also. Thanks again for any insight.

Welcome to the forum!

Congratz on your homelab. But can you please explain what exactly are you setting up. because I didn’t understand. Are you running TrueNAS Core as a VM in proxmox? And Jellyfin inside TrueNAS

If your main hypervisor is proxmox, I would have storage straight on it and make the shares on it, but since you’re a beginner, I guess a truenas vm makes sense as of right now. Maybe installing OpenMediaVault straight on Proxmox might serve the same purpose better (as it gives you access straight to hardware) and still gives you the GUI to manage stuff without knowing a lot.

The way I’d set up jellyfin would be a debian VM inside proxmox. Then you mount the share from OMV / Proxmox inside the VM and you’re gold. Just make sure to disable proxmox’es own firewall in the network config tab in the proxmox web gui in the VM managment (haven’t used proxmox in a while, I think it’d be in the VM options, but definitely when editing the network interface). Proxmox might be blocking access from the vms to itself by default.

For firewalls, pfsense / opnsense are always beginner friendly firewall OS, can’t go wrong with them. You could virtualize it in proxmox, but you need at least 2 (preferably 3) network interfaces on the host. I don’t like virtualized firewalls, but that’s just me (I’d get something like an asrock j3455m, or an odroid h3 non-plus with the network case and the 4 port m.2 card). For the virtualized route, all you need is a 2 port NIC for pfsense and one nic for proxmox (technically you could get away with 2 if you make a bridge in proxmox, but if you mess something up in the firewall, getting back into proxmox will be a tough job without the third port used for the management interface).

If you want a new switch, I’d recommend the zyxel xgs1210-12, which I own. It doesn’t have any CLI interface (to its own detriment IMO), but it’s easy to setup and has a decent web gui. If you don’t mind scavenge hunting, get an old enterprise switch (but most of these don’t come with guis). Cisco is typically the easiest to find documentation and tutorials for, but the concepts translate to most switches, just that the commands don’t match. Zyxel and HPE switches are nice (used to own a hpe procurve 2910al, really good, except it was loud frfr).

bullet point setup

consumer router
vm truenas scale ( as core wouldn’t work after install)
ubuntu server with jellyfin running for media

Issue Ubuntu server doesn’t want to talk to TrueNas for media files stored there at the moment.
I didn’t realise proxmox had a built in firewall that made talking between vm’s difficult.
I’ll post an update once i have a chance find that and see if that is the issue.
Thanks and I will look at your network switches and router suggestions.
Much Appreciated.

I think you are biting off more than you can chew for a beginner. Too many moving parts to master. I think TrueNAS is a lot for an inexperienced person to learn. How familiar are you with Linux and permissions? If Linux and permissions are foreign to you, you may be better off running CasaOS to start. Or delay using Jellyfin and just get the hang of running a NAS first. I like the idea of Openmediavault. My very first homelab project was setting up OMV as a NAS on a raspberry Pi.

As far as firewalls, I love the fanless pfSense boxes on Amazon (Moginsok, Qotom, Hunsn, etc.). As far as switches go, as long as you are OK with 1gbe, its kind of hard to go wrong with the TP-Link TL-SG105E. Its a 5 port managed switch (so you can set up VLANs some day) for $22.

Thanks for the reply.
My working knowledge of linux and all the permissions is limited at best. Coming from windows to linux I’m still learning the file structure and how to find everything. The command line is daunting however I am learning and the whole reason behind setting up my homelab in proxmox is the limitations I currently have on hardware to use. I think i have the issue solved to get the vm’s to talk to each other for storage of media files. I’m working on creating / making all my dvd’s and tv shows accessible to me first just at home. Although at some point in the future I likely will setup for access from anywhere.
Originally I was going to use TrueNAS core in a vm for creating storage drives for my media files and a vm to create all those files. As the only dvd player I have is in that proxmox server. So I was wanting to create the file, dump it to storage, then from storage use handbreak to transcode it with the video card in that server and then refile it on the storage drive in the right paths. Then from there use another vm to have it on all my personal devices or home tv’s as I wanted or needed.

Convoluted I’m sure for a homelab project but what better way to get experience doing everything I was looking to do then all at once and as I hit challenges try and find solutions, and ask questions.

Hopefully this gives you the insight into what I’m doing and why it might be a little more difficult from the start.
That managed switch looks exactly like what I’m looking for.
Thank you.

Linux and the command line are not particularly difficult if you come into it with an open mind. In fact, I would argue that it can be easier, and sometimes, even too easy. People like Jay, Network Chuck, and others often provide copy and paste commands to walk you through the process. You can’t really do that with a GUI. But if you don’t understand what is being done, then it becomes a bear to troubleshoot when something goes wrong. I would say go one step at a time and learn as you go.

1 Like

Don’t get me started on all the deprecated tutorials for pfsense 2.2 and the GUI change. :smiley:
(although some things can be inferred, you may need to look into different spots)