Thanks, Denny
I looked /usr/share/perl5/PVE/HTTPServer.pm
It seems the HTTPServer.pm file has changed in ProxmoxVE 5.0?
How do I change the new HTTPServer.pm file?
Thanks for the info about Apple Support.
So I double clicked the "pve-root-ca.pem" file, there are three options: "login", "Local Items" and "System". I imported into "login" and "System" ("Local Items" failed), unfortunately, there is no change.
I wonder why there is a problem such as SSL...
Alright, I have tried.
In the case of Let's encrypt, it is impossible for my situation since ProxmoxVE is on a LAN, no public domain.
So it seems I have to add the certificate to my machine (macOS). I learned that the ProxmoxVE's pem file is located at
/etc/pve/pve-root-ca.pem
I tried...
It seems --insecure option is for "vagrant box" command, it does not work for "vagrant up"
Anyway, I am new about vagrant, I need to learn more about how to use vagrant. Thanks, pabernethy!
Thanks, pabernethy.
So I tried adding "proxmox.box_download_insecure = true" as follows:
Vagrant.configure('2') do |config|
config.vm.provider proxmox do |proxmox|
proxmox.endpoint = 'https://10.111.66.153:8006/api2/json'
proxmox.user_name = 'root@pam'...
Hi, there.
I am trying to use Vagrant for provisioning VMs in ProxmoxVE 5.0. However, vagrant-proxmox hasn't been updating for a long time, so I tried the newest fork.
But when I try to provisioning by (on MacOS):
$ vagrant up --provider=proxmox
It says:
Unable to communicate with...
I used the following command for port forwarding (I guess that's qemu as you mentioned):
qm set 104 -args "--redir tcp:10422::22"
Unfortunately, I am only given one public IP. Worse still, only a single MAC address is allowed for security reason. So "NAT with port forwarding" seems to...
Thanks, pabernethy!
I have applied the "NAT with port forwarding" way to solve my problem. It works well (for the time being).
In the case of building "a virtual network and have a virtual router to connect it to the physical network" as you mentioned, since the server only has one public IP...
Alright, I kind of succeeded in port forwarding, only on host though. Here is what I did, simply use the following command:
# qm set <VMID> -args "--redir tcp:<HostPort>::22"
For example, if your VM's ID is 101, and you use port 5555 for forwarding, you just (in ProxmoxVE)
# qm set 101 -args...
Great, thanks! So you mean I can indeed ssh into VM use NAT by port forwarding? Please give me an example on how to port forwarding, suppose I have Ubuntu VM with IP 10.0.2.5
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.