How do I know if my vpn connection is working in unraid?

The setup was rather easy, I made a new connection via config file from proton. I also can turn it on but I get no verification which makes me uneasy.

I thought about installing Firefox or something where I have a web gui, use my vpn as network for it and google „what’s my ip“. But that feels wrong.

I’m not sure how you have your VPN set up, but when I was setting up the full tunnel with wireguard I’d connect my laptop to a different internet connection (some other wifi, or my phone’s hotspot) and make sure I could see items on the home network, and doing a “what’s my IP” to make sure it returns my home IP

Edit: Oh wait, is this a connection from unraid to an external VPN? If so open a terminal and enter

curl -4 icanhazip.com

That should return the external IP

Hopefully, this helps. There is a console command to check your ip address for the docker.

Even better, if you go to settings → VPN Manager → Import Tunnel then set up the config. I have surfshark and had to set up a manual connection (I believe it was called). Once you set that up, go to the container(s) you want to be behind the VPN set that as the network. You gotta make sure it is active in the VPN Manager but after that, go to the Console for the container behind it and put in

curl ipconfig.io

Then match that with your own system. If you want be make extra sure, open the console of another container and do the same thing

This is what I plan on doing. Did you use wireguard for both server and client side?

Thank you! This is what I was hoping for!

Oh yes that’s another thing I need to generally wrap my head around. I’ve used that for a duck dns remote access test once. You got a recommendation on YouTube where it is explained well?

Yeah I’ve got it working. A big issue was the web gui not working properly in Firefox which I dumped hours into removing and reinstalling different docker builds for qbit. After it finally opened in chrome I simply added the wireguard config, changed the network of qbit to that and it seems to work. The ip is a bit off tho. The last 2 digits are different to what the config file says it should be. Still a bit hesitant tho. I still have to watch and read more about unraid to be sure that my server isn’t somehow vulnerable to the outside world .
Ty for the comment regardless! It would have saved me a lot of time and was exactly what I was searching for

WireGuard is typically used for secure remote access to your internal network from the public network. To set it up as a proxy VPN (which is what you were asking about testing), you would have to set up a VPS with WireGuard or the external VPN proxy you’re using would have to provide a WireGuard config option (some of the good ones do).

If you’re wanting to a setup like mine (full tunnel access from a remote to the home network) it was actually very easy to set up. Under Settings and VPN manager there’s a pretty straight forward setup process on the Unraid side. Once that’s set up unraid will generate the config files for the clients. I have it handling my cellphone, my ipad, and my macbook. All were painless to set up.

curl ifconfig.co

Type that into the console of any docker container to get the external IP.

Honestly I literally just use the linux server qbittorrent client, the one without the VPN and it works so well. I don’t use firefox or anything. What are you using firefox for?

Thanks, it would have been smarter for me to just type it than give the link to the video.

Thank! That was super helpful and simple.

For the web GUI. I know I can do it all with CLI, but it’s frustrating not knowing if stuff works or not. So I prefer a web gui to learn how it works and slowly switch over to cli. Currently I don’t have stuff like sonarr and mainly want to not have to use my desktop with vpn to use qbit because I can’t really use it for online stuff when it connects to another country

Teach a man to fish…

Oh don’t bother. You always learn new things you didn’t know before with videos like that, it was helpful to me!

I don’t use CLI at all and never really have. All you have to do is download the linuxsever qbittorrent, put it behind the VPN like I mentioned, it has a web GUI. Once you have that set up, you can add in magnet links and boom, downloads start. It is very simple. Also, Radarr and Sonarr are very very easy to set up and don’t take up a lot of resources.

I used to use my PC for all my downloading of Linux ISOs, but I got sick of having to stop anytime I wanted to use my PC for something that I couldn’t use my with my VPN (like playing games). Set up the qbittorrent on Unraid and haven’t done back since.

Or lead the horse to space invader 1…

That’s the general plan. But being located in Germany with law firms scraping IPs on torrents I want to be 100% sure that it works. And right now I’m not confident enough it does what I think it should because I simply have not used it yet.

Yes the web gui was the problem here. In Firefox it loads the gui but the login didn’t work. Neither with adminadmin as password nor with the temporary password I could see in the logs. On chrome it worked immediately. Another reason for me to automate it and not bother with the web gui , since I don’t use chrome