How can I do port forward Microstack Horizon's IP?

After installing Microstack, the IP address of Horizon dashboard is set up as 10.20.20.1.
Is there any way to port forward this to the same network with the host? (192.168.X.X)

Currently MicroStack uses 0.0.0.0 as a listening socket address so you should be able to reach horizon over any interface address on your machine.

Example:

sudo ss -tlpna 'sport = 80'
State                Recv-Q                Send-Q                                Local Address:Port                                 Peer Address:Port                                                                                                                                                                                       
LISTEN               0                     128                                         0.0.0.0:80                                        0.0.0.0:*                     users:(("nginx",pid=31632,fd=8),("nginx",pid=31631,fd=8),("nginx",pid=31630,fd=8),("nginx",pid=31629,fd=8),("nginx",pid=31628,fd=8),("nginx",pid=31627,fd=8),("nginx",pid=31626,fd=8),("nginx",pid=31625,fd=8),("nginx",pid=31624,fd=8),("nginx",pid=31623,fd=8),("nginx",pid=31621,fd=8),("nginx",pid=31620,fd=8),("nginx",pid=31618,fd=8),("nginx",pid=31617,fd=8),("nginx",pid=31615,fd=8),("nginx",pid=31613,fd=8),("nginx",pid=31612,fd=8),("nginx",pid=31610,fd=8),("nginx",pid=31609,fd=8),("nginx",pid=31607,fd=8),("nginx",pid=31606,fd=8),("nginx",pid=31605,fd=8),("nginx",pid=31604,fd=8),("nginx",pid=31602,fd=8),("nginx",pid=31601,fd=8),("nginx",pid=31600,fd=8),("nginx",pid=31599,fd=8),("nginx",pid=31598,fd=8),("nginx",pid=31597,fd=8),("nginx",pid=31596,fd=8),("nginx",pid=31595,fd=8),("nginx",pid=31594,fd=8),("nginx",pid=31593,fd=8),("nginx",pid=31592,fd=8),("nginx",pid=31591,fd=8),("nginx",pid=31590,fd=8),("nginx",pid=31589,fd=8),("nginx",pid=31588,fd=8),("nginx",pid=31587,fd=8),("nginx",pid=31586,fd=8),("nginx",pid=31585,fd=8),("nginx",pid=31583,fd=8),("nginx",pid=31582,fd=8),("nginx",pid=31581,fd=8),("nginx",pid=31580,fd=8),("nginx",pid=31579,fd=8),("nginx",pid=31578,fd=8),("nginx",pid=31577,fd=8),("nginx",pid=31574,fd=8))

Note that unlike containers in general, snaps do not use network namespaces so the services are able to create sockets on host interfaces (if they are allowed to by relevant plugs).

Just as note to this thread, in case anyone else finds it, at least as of today (2022-12-01), this is no longer the case and the Microstack Horizon web UI is only initially available if you are on the host or forward ports.

Link: OpenStack for the edge, micro clouds and developers

If you’ve installed MicroStack on a remote server you can use SSH local port > forwarding to access Horizon:

sudo ssh -i -N -L 8001:10.20.20.1:443 @

Then point your browser at: https://localhost:8001.