I’ve been trying to find out if proxy devices are supported for VMs (yet?) but because there is so much development happening and the information is mostly in release notes it’s hard to figure out.
I don’t get any errors when adding a proxy device.
root@dream:~# lxc config device add vmtester aa-web proxy connect=tcp:0.0.0.0:4567 listen=tcp:0.0.0.0:25923 Device aa-web added to vmtester
However when querying the config it’s not in there.
root@dream:~# lxc config show vmtester | grep devices -A 20 devices: root: limits.max: 40iops path: / pool: test-pool size: 200GB type: disk
When I do the same with a container it does show up in the config there.
- Is the return message from the initial add command simply wrong and is it not supported yet?
- If so what’s the recommended best practice for port-forwarding to VMs