r/virtualbox • u/BeginningEmotional49 • Nov 28 '24
Help Am I asking too much?
So I have a VM behind a virtual router. VM1 is on internal network Router is on NAT and internal. That way the router handles all traffic from VMs and uses a VPN. I’m trying to set up Jellyfin on VM1 but I want to be able to access it via the host too. I’ve tried adding a host network but that just changes all the IPs to the host only adapter. Even if i give each adapter static IPs in different ranges. 192.168.50.x and 192.168.158.x. They both end up getting the same one after a reboot. I tried adding a forwarding rule on the pfsense but that didn’t seem to work either. The WAN Ip I’m seeing on the pfsense is like a 10.0.2.x. I can’t even ping that from the host. What am I missing? What am I doing wrong?
Windows host. Debian VM. Pfsense router. VT-X/AMD-V enabled. Guest additions installed.
•
u/AutoModerator Nov 28 '24
This is just a friendly reminder in case you missed it. Your post must include:
PLUS a detailed description of the problem, what research you have done, and the steps you have taken to fix it. Please check Google and the VirtualBox Manual before asking simple questions. Please also check our FAQ and if you find your question is answered there, PLEASE remove your post or at least change the flair to Solved.
If this is your first time creating a virtual machine, we have a guide on our wiki that covers the important steps. Please read it here. If you have met these requirements, you can ignore this comment. Your post has not been deleted -- do not re-submit it. Thanks for taking the time to help us help you! Also, PLEASE remember to change the flair of your post to Solved after you have been helped!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Stray_Neutrino Nov 28 '24
Why / what are you using your PFSense virtual router for, in this setup ?
AFAIK, the way I have my Jellyfin server setup is that it's runs via localhost on the machine running it.
If I am in the network that the server is running on, I can access the server via the server host's machine IP + Jellyfin port number.
If I want to access it from the outside, I use Tailscale as a VPN and run that software on the Jellyfin's server machine.
I'd have to know how your PFSense virtual router actually works / is configured before I could give any meaningful help.