Managing port forwarding from host to guest #1250
Unanswered
nicholas-rees
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I believe that there is no native way to forward traffic from the host os to the guest VMs using the libvirt api alone. However, their documentation suggests a shell script which they say should be considered a "hack".
They also reference an "advanced" shell script and a hook written in python that both would still be considered a "hack" according to the documentation.
Further, all of these solutions are less than optimal, because they also require editing either the shell script directly, or a json configuration file.
I assume, that since these forwarding hooks are hacks, that there is no support for them using this provider?
I feel like this must have been an issue that someone using this provider must have come up against. How did you solve forwarding incoming connections to guest while using this provider? Did you also manage a separate configuration "hook" like the hacks suggested? Did you use terraform or some other tool to just configure iptables/ufw rules directly? Manual configuration is too messy, prone to error, and out of the question, so naturally that's my first instinct that I'm trying to avoid. . .
Any suggestions/thoughts?
Beta Was this translation helpful? Give feedback.
All reactions