mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-04-25 23:45:56 +03:00
[GH-ISSUE #349] How to bind specific IP address for a specific instance? #224
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/webvirtcloud#224
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @OpenSource03 on GitHub (Jul 30, 2020).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/349
Hi there. After a long time, I've finally figured out how to setup webvirtcloud. The issue always was that you did not specify we need to add www-data to a specific group.
Now, I have a problem. I don't know how to allocate a specific IP address to a specific instance. I would like to request help in that segment, as there are 0 guides on that part. I am able to create an instance, install OS, and connect to it via "Console access", but for example, if I host a website on that machine, I can't access it as it does not have an IP address.
Please walk me through the whole process, as it's the only thing I need to start using WebVirtCloud. Please note that I purchased a new IP, and it is not connected to any network interface, so please start from that point.
Thanks!
@catborise commented on GitHub (Jul 30, 2020):
how do you access your host?
is there two ip on the host interface? (private ip, public ip?)
@OpenSource03 commented on GitHub (Jul 30, 2020):
I do have access to the
IP | Subnet | rDNS | Gateway | Netmaskof each IP address. Sadly, I do not have access to a private IP address, there is only a public one. My current provider is https://zare.com - baremetals btw.@catborise commented on GitHub (Jul 30, 2020):
there are some options related with networking. you should focus on that.
according to your purpose you can use bridges or nats or routed networks or macvtaps.
what is your purpose?
after creating an instances what will you do these instances.
@OpenSource03 commented on GitHub (Jul 30, 2020):
I'm planning on selling those as VPSes. SolusVM is taking a significant part of revenue, so I do not really think it is great for such things, while this, as a free alternative, is great. Proxmox is good, but it's a standalone OS pretty much and I require something that would work with ubuntu.
Overall, WebVirtCloud is the best option, it has a great interface, a lot of features, and all that for free, which would make prices of my VPSes significantly lower than other competitors.
I just need to find a way how to bind a specific IP address to an instance and that would be it.
@purerosefallen commented on GitHub (Aug 4, 2020):
You have to focus on iptables. Disable their networks when using wrong IP addresses.
Is WebVirtCloud WHMCS addon coming?@OpenSource03 commented on GitHub (Aug 4, 2020):
@purerosefallen were you able to achieve that effect. If so, please contact me on discord OpenSource#3310.
@catborise do you have any guides or ideas on what I have to do, even on external websites? Your explanation was not really useful for me. There should be an option on the panel for the IP such things. I'd really like to start using webvirtcloud, but no matter what I try, I am not able to bind a specific IP address to a specific server.
@catborise commented on GitHub (Aug 4, 2020):
it is not related with virtual machines. it is up to your network configuration. may be you can use a reverse proxy / load balancer etc , if you have only one real ip.
@OpenSource03 commented on GitHub (Aug 4, 2020):
No, I’ve purchased an additional real IP for the VPS, just don’t know how to assign it so other people can use that IP to connect to that VPS @catborise
@OpenSource03 commented on GitHub (Aug 4, 2020):
Here is an example of what I want to achieve:
I have a host dedicated server on 1.0.0.0 (as an example).
I've created a virtual private server and purchased an additional IP for it from my hosting provider
Now, I need to assign that IP to that VPS so users can access it through that IP
@catborise commented on GitHub (Aug 5, 2020):
https://superuser.com/questions/1284491/one-public-ip-and-multiple-vps-servers
may be you should install a gateway like pfsense then route requests to your instances.
this requires extra manual works. as i said before you should use webmin/virtualmin.
@purerosefallen commented on GitHub (Aug 7, 2020):
NAT VPS?
a solution may be:
But it may be no help if the bad actors change both IP and MAC addresses.