this post was submitted on 11 Mar 2024
90 points (96.9% liked)

Selfhosted

40394 readers
203 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I'm a noob to all this, and love this server. I've recently set up Proxmox and Portainer, got Home Assistant transferred onto my new computer and set up an Arr stack on Windows VM.

I kept adding storage to that stack until it was talking half my internal storage so I bought a usb3 cable and hooked up an old 1tb HDD I had lying around.

I decided I wanted NAS storage with the HDD. I had already set up OMV but it was being a bit funny. Whenever I logged in to it I had no options, so I couldn't add the HDD to it.

So I did some looking around and found TrueNAS. Installed it and started fiddling. Jesus it's hard work to just add an SMB share from it!

After literally hours of tinkering I still was no closer so I gave up and went for a bath.

In the bath it occurred to me that maybe I was logging in to OMV wrong. I fired up the browser on my phone in the bath and instead of logging in with my name, I tried "admin" and lo and behold there is all the options I couldn't see before.

5 minutes later I had half a tb in an SMB share, and then it was a simple case of making network shared folders on all my windows machines.

Thought you guys may be amused by the noob error of logging in as Admin.

you are viewing a single comment's thread
view the rest of the comments
[–] Lifebandit666@feddit.uk 2 points 8 months ago (2 children)

Now then, you may be my new best friend:

I just spent the better part of a day figuring out how to run Mullvad on it and force all my torrent traffic to use it.

Mine all runs on a Windows machine because I could not work out how to get everything to talk to each other in containers. Then I tried to do the Mullvad thing too. I tried OpenWRT, OpenVPN (docker), Wireguard (Docker), Traffaek (Docker), and even Tailscale (Docker) and couldn't get anything running right.

ATM I just have Mullvad installed on the Windows machine and have it turn on when the VM starts up, but I'd like it all in containers instead.

Do you have any handy links as to how you get Mullvad working?

I think my next project is getting all my Arr working in containers, but I need to get them working through Mullvad to do that, or at least Prowlarr and my Real Debrid or qBittorrent through it

[–] thegreekgeek@midwest.social 3 points 8 months ago (1 children)

I think when mullavad disabled port forwarding it kinda borked it. I ended up getting my *arr docker stack nested in an LXC along with one of those qbittorrent+VPN containers.

[–] Lifebandit666@feddit.uk 1 points 8 months ago

Have a look at my reply to the other guy, I'm pretty sure I've got it working now

[–] SaintWacko@midwest.social 2 points 8 months ago* (last edited 8 months ago) (2 children)

Ugh, I wish I could be more help on that, but I couldn't get Mullvad to work that way either. I think what needs to be done is to use pfsense or something to create a virtual LAN, set the container running Mullvad to be the gateway on that network, then give each container a virtual network bridge connected to that virtual network. What I ended up doing was just installing Mullvad (through WireGuard) on the same container as qBitTorrent and telling qBitTorrent to use the virtual network device that Mullvad creates.
Fortunately, that's the only thing that really needs to run through it for me (I think your Real Debrid will need to as well). AFAIK, the *arr stuff doesn't need to be hidden.
As to getting things to talk to each other in containers, where were you having trouble? You should just be able to give all the *arr stuff the addresses where you reach the other ones. That may just be their IP address, or I run PiHole so I can have a local DNS and give them all their own hostnames.

Edit: I'm doing all this in Debian LXCs

[–] Lifebandit666@feddit.uk 1 points 8 months ago* (last edited 8 months ago) (2 children)

Well I've had another go this morning and believe I've managed it. My problem seemed to be that I already had 5 devices in Mullvad through my tinkering, so I deleted one and made a new one (just as an fyi in case you hit the same issue).

So I followed this guy on YouTube to set up an Openwrt router VM https://www.youtube.com/watch?v=3mPbrunpjpk&t=897s

When you are able to route traffic through the VM stop following the tutorial and use this link instead to set up the VPN https://mullvad.net/en/help/running-wireguard-router

And apparently I'm now running the Openwrt router through Mullvad.

I did all the SSH parts in Console and I put my public key into the website through the Mullvad link above and copied the IP addresses from the same page.

So theoretically I just have to set vmbr1 as my bridge to containers and VMS that I want to run through my VPN and set up port forwarding for them in the OpenWRT interface and they'll route through Mullvad

Hope this helps.

[–] SaintWacko@midwest.social 1 points 8 months ago (1 children)

Nice! Glad to hear that works. I'll have to give it another go. I had spent the whole day trying to get Mullvad (without WireGuard) working, but it kept failing to create the tun device, so by the time I got it working with WireGuard I didn't really feel like trying to figure out the VLAN thing too lol.

[–] Lifebandit666@feddit.uk 1 points 8 months ago

This is with Wireguard too, it's just inside OpenWRT.

I've put my Windows VM behind it and checked it's working and it is, but now I can't access Plex and SMB lol, more tinkering when I finish work I guess

[–] PipedLinkBot@feddit.rocks 1 points 8 months ago

Here is an alternative Piped link(s):

https://www.piped.video/watch?v=3mPbrunpjpk&t=897s

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

[–] Lifebandit666@feddit.uk 1 points 8 months ago

I probably can get the container way working now I've had some time with it. The problem is routing it through Mullvad. Prowlarr deffo needs to go through it, otherwise it can't see the indexers (I've been using Prowlarr without a VPN for a while and it's much better with it). Debrid doesn't need a VPN I just prefer it to be there

I watched a YouTube tutorial to get an OpenWRT container set up to route traffic through ,and managed to get it working. I struggled however to set the VPN up through it, I feel like I was in spitting distance!

The bonus of using that method was that I could have multiple containers use the OpenWRT container, meaning they would all share the same IP address and just have different ports, so all my Self Hosted containers would be in the same place on my network.

I'll keep plugging away and give pfsense a look. Now that I have OMV running I can kill my Windows server without losing the media