Port Forwarding

Hi my setup is that i am running a windows computer in which running a vm of ubuntu . i want to port forward the ports from the virtual machine (192.168.10.130:25560) to my network so others can connect from anywhere is there a way to do that ? (Running a modded minecraft server self hosted) Thanks
7 Replies
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by onlyrhythm#0
snowznz.bak
snowznz.bak2y ago
why are you running it in a vm especially on windows, you'll have a massive overhead
Chechu
Chechu2y ago
^^^ this. You can just run the server on windows if self-hosting. Also, keep in mind the risks of self-hosting, unless you're doing it for friends, don't, specially if you don't know what you're doing. As for the technical solution to that, if you still need it for some reason, it would be helpful to know what vm are you using. Commonly, you have to set up your network vm adapter as a bridge if I am not wrong, then it will share the network with your pc and you can forward it as usual. This should apply for hyper-v, vmware and virtualbox. If you truly need it, tell me and I will search it up.
Discount Milk
Discount Milk2y ago
Depends on what method he uses to virtualize, but yeah in general there is a non-zero amount of overhead
snowznz.bak
snowznz.bak2y ago
If you want it isolated, run it in a docker container Preferably also run it on Linux
OnlyRhythm
OnlyRhythmOP2y ago
thanks for the replies i have resolved this issue !close
Admincraft Meta
post closed!
The post/thread has been closed!
Requested by onlyrhythm#0

Did you find this page helpful?