KVM with cloudmin (one static isp ip) (cannot connect from outside)

17 posts / 0 new
Last post
#1 Thu, 01/22/2015 - 09:58
markspoiss

KVM with cloudmin (one static isp ip) (cannot connect from outside)

Hi!

I have a little question/problem

I was running virtualmin and now i installed cloudmin on this machine.

Everythong looks working fine (domains, sub-domains...) in root machine but if make new virtual machine:

example: i have a domain in root: name.eu i can connet to it ping and make nslookup

i make new kvm with internet hostname: ub.name.eu it gets nternal ip 192.168.0.4

but i cannot ping that cause it shows local adress and nslookup shows to 192.168.0.4

What i must to do for that can connet to my virtualmachine from outside using ub.name.eu

Something in BIND config? some forwarding?

or i need second static isp ip?

Thanx!

Thu, 01/22/2015 - 10:02
tpnsolutions
tpnsolutions's picture

Hi,

To run multiple Cloudmin VPS' you need to have multiple public IP's assigned by your provider.

*** each VPS needs at least one IP address ***

Best Regards,
Peter Knowles
TPN Solutions

Email: pknowles@tpnsolutions.com
Phone: 604-782-9342
Skype: tpnsupport
Website: http://www.tpnsolutions.com

Ask me about my new support plans which include a FREE copy of Virtualmin Pro!!!

Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist
Fri, 01/23/2015 - 19:16 (Reply to #2)
Joe
Joe's picture

You wouldn't necessarily need multiple public IP addresses, though for serious server use you would want it.

You could just as easily use private addresses, and if you needed some ports to be accessible from the outside world setup port forwarding with iptables.

--

Check out the forum guidelines!

Thu, 01/22/2015 - 10:18
markspoiss

Ok thnx!

But cann u tell for me how to install windows in vm?

I have tryed but i dont underestand how i can access to it and start installation process.

Thnx!

Fri, 01/23/2015 - 19:18 (Reply to #4)
Joe
Joe's picture

Where are you having problems?

Installing a fresh OS requires you to setup an ISO image or DVD as installation media to boot from, in addition to the hard disk image which will host the OS, and then use the Graphical Console option to perform the installation (since there is no reasonable headless way to install a one-off Windows installation, unlike with many Linux distros).

--

Check out the forum guidelines!

Thu, 01/22/2015 - 10:21
tpnsolutions
tpnsolutions's picture

Hi,

Eric would probably be best in answering this as I don't make use of Cloudmin enough to provide too much details on this. I'll drop him a quick line over IRC to let him know that you need some assistance just in case he doesn't notice the thread right away. Remain patient :-)

Best Regards,
Peter Knowles
TPN Solutions

Email: pknowles@tpnsolutions.com
Phone: 604-782-9342
Skype: tpnsupport
Website: http://www.tpnsolutions.com

Ask me about my new support plans which include a FREE copy of Virtualmin Pro!!!

Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist
Sun, 01/25/2015 - 12:04
markspoiss

Hi!

Installing a fresh OS requires you to setup an ISO image or DVD as installation media to boot from, in addition to the hard disk image which will host the OS...

Yes underestand and it is done...

then use the Graphical Console option to perform the installation

but i dont no why i cannot use Graphical console... i just get this error message:

VNC has been configured on this system by Cloudmin, but the VNC server on port 5901 on host system ns1 is not accessible. If it was just enabled, the system will need to be rebooted before VNC is available.

I try to google for solution bot not find something helpful :(

Thu, 01/29/2015 - 10:19
markspoiss

so nobody dont know what to do with this graphical console error/problem?

:(

Sun, 02/01/2015 - 15:37
markspoiss

Hi! this problem is sloved now!

Thnx for all and for me to :)

But have a question about usb ports.

Is it possible to share my root machine usb ports for virtualmachines and how?

Thnx!

Fri, 02/06/2015 - 20:40 (Reply to #9)
Joe
Joe's picture

I have no idea! We've never had anyone ask. Cloudmin is usually used for servers that would have no use for USB ports.

I'm guessing KVM probably provides some means of sharing USB ports, but it's not something Cloudmin would address (though there's nothing stopping one from adding that configuration manually, assuming it is possible).

What kind of USB device are you trying to use? If it's a disk, I would suggest mounting it on the host system, and then sharing it via NFS or SMB to the guest systems. That's how I handle our build virtual machines, so they can all publish to the software repository without having to have their own copy.

--

Check out the forum guidelines!

Sat, 02/07/2015 - 02:48
markspoiss

Hi! First... thnx!

It is a usb dvb-t dongle what i need to use for some soutions, but it can be a pci-e to.

and i have other question to:

can i help with virtualmin translation:

to translate in Estonian language.

With best regards!

Marko.

Sat, 02/07/2015 - 21:36 (Reply to #11)
Joe
Joe's picture

For USB passthrough, it looks like you can use the "usbdevice" option to qemu-kvm (which is what Cloudmin uses to start KVM.

So, you'd need to get an option like this into the startup configuration:

-usbdevice host:bus.addr

Where bus and addr are the specific location of the hardware you want to forward. Or you could use the vendor ID and product ID for the specific device in the same format. There is a field for "Additional KVM parameters" in the Advanced KVM Settings section of the Edit System page, where you can add that.

You can get the device ID and location information via the lsusb command.

We love help with translations!

Here's the documentation on how to go about doing that: http://doxfer.webmin.com/Webmin/Translating_Webmin

That links to a Webmin module that can help make translating a little easier (and knows how to send the resulting translation files to Jamie).

However you do it, be sure to backup your work regularly! I've occasionally made the mistake of modifying language files and updating Webmin before backing up...losing my changes! The translation module makes it easy to backup what you're working on (I seem to recall), but I don't think it does it automatically.

If you ever need help understanding what the English means (and need it re-worded or need to ask clarifying questions), let me know. I'm always happy to help people who are making translations of anything in Webmin, Virtualmin, Cloudmin or Usermin. Translations are awesome!

--

Check out the forum guidelines!

Wed, 11/18/2015 - 16:43
itex

hello all,

how did you solve vnc problem :

VNC has been configured on this system by Cloudmin, but the VNC server on port 5901 on host system ns1 is not accessible. If it was just enabled, the system will need to be rebooted before VNC is available.

please help

Thu, 11/19/2015 - 10:07
markspoiss

Hi! What error or what u get?

Thu, 11/19/2015 - 11:16
itex

VNC has been configured on this system by Cloudmin, but the VNC server on port 5903 on host system name.com is not accessible. If it was just enabled, the system will need to be rebooted before VNC is available.

Fri, 11/20/2015 - 10:47
markspoiss

use this:

TightVNC Viewer

and password for vm you find in

root/kvm and then your vmname.monitor file

just open it with some editor... vi or nano.. or use

and you can edit password there

WinSCP

i hope it helps

Fri, 11/20/2015 - 20:46
itex

markspoiss you are the man

the problem is solved (root/kvm and then your vmname.monitor ) the password was there .

thank you for your great help

Topic locked