Forum archive
how the VMs networking works
refer the heading above i would like to know how the VMs networking works and also how have you made the webshell be accessed like that on the browser also i see a lot of VMs use the same IP address so my question is can i power up more then one VM and use them at the same time
Any steps or video tutorial on how the webshell is made to accessed on the browser would be Amazing
Hope i will learn something from you guys
Webshell is provided by software called 'shellinabox'. We currently host it behind stunnel so that all the HTTPS services can use the same SSL certs.
It should already be accessible via the same IP (or domain name) that you can access your existing server. As I noted, on the LAMP appliance, by default ti should have links to that (and other stuff) on the landing page.
If you are manually connecting, you just need to ensure that you are using HTTPS and add a colon (':') and the relevant port number (12320 for Webshell, 12321 for Webmin and 12322 for Adminer for the servers that have it) on the end. E.g. if your LAMP server is 192.168.1.100, then to access web shell in your web browser put the following in the address bar:
Like I said though, as a general rule, I would recommend using a proper SSH client.
Regarding how to set up DNS, that all depends on how you have things set up already and exactly what you are trying to achieve. If you are hosting in a local VM and want your server to be public available via a publicly registered domain name, then there are a few things that you'll need.
Firstly you'll need to configure your router/modem to allow your server to be publicly available. Depending on your hardware and how you want to configure it, you'll either need to configure routing (e.g. port forwarding, port triggering or similar) or have your server within a DMZ. You'll also need to ensure that your ISP isn't blocking the relevant ports. If your ISP is blocking ports, then hopefully they will unblock them for you if you ask nicely. If not, then you'll need to rethink things (e.g. find an ISP that doesn't).
Then you'll need a domain name. If you haven't already got one, you can buy one from any domain vendor, although personally I like namecheap. Then you'll need to configure an A record that points your domain name to your server's IP. If you don't have a static public IP for your internet connection, then you'll either need to get one of those (most ISPs offer them. although you often need to pay extra). Or you'll also need to configure a dynamic DNS service (to update your A record's IP address when your public IP changes). Some routers support that, or you can install a client on your server and configure that. If you want to use the TurnKey Hub to manage your domain, then you can use HubDNS.
Once you have that all set up, then you can use Confconsole's Let's Encrypt plugin to get free Let's Encrypt SSL certificates.