You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Port forwarding is a nice way to expose services, but the process is too complicated. Let's say that I want to "forward tcp port 4321 from a public ip address to port 4321 on internal address 10.100.100.10". That means:
Find the existing port with 10.100.100.10, or create a new port with that address if one doesn't already exist.
Create a floating ip address.
Take the information from the first two steps and plug it into an openstack floating ip publishing command
It would be really neat if instead I could write:
openstack esi publish --network mynetwork --from 10.100.100.10:4321
And have it perform all the above steps. If I want to use a specific floating ip:
openstack esi publish --network mynetwork --from 10.100.100.10:4321 --to 128.31.20.112
And if I want the external port to be different from the internal port:
openstack esi publish --network mynetwork --from 10.100.100.10:4321 --to 128.31.20.112:1234
(I've gone with the verb publish here, because that's what we use in the container world, but we could just as easily use something like port forward)
The text was updated successfully, but these errors were encountered:
larsks
changed the title
Make publishing easier
Make port publishing easier
Dec 19, 2024
There should probably be a corresponding unpublish verb that would delete the port forwarding, and maybe optionally delete the internal port and the floating ip if there are no other port forwardings associated with it. Maybe that's something like:
openstack esi unpublish --purge --from 10.100.100.10:4321
Port forwarding is a nice way to expose services, but the process is too complicated. Let's say that I want to "forward tcp port 4321 from a public ip address to port 4321 on internal address 10.100.100.10". That means:
openstack floating ip publishing
commandIt would be really neat if instead I could write:
And have it perform all the above steps. If I want to use a specific floating ip:
And if I want the external port to be different from the internal port:
(I've gone with the verb
publish
here, because that's what we use in the container world, but we could just as easily use something likeport forward
)The text was updated successfully, but these errors were encountered: