I installed vagrant-lxc on my VPS ( VmWare virtualization ). Container created correctly with provisioned application - Drupal. Now I'd like to open site from the outside:
- Vagrant container have private IP address: 10.0.3.1 - interface "lxcbr0" ( when I checked "ifconfig" from host )
- Inside Vagrant machine, "ifconfig" showing IP: 10.0.3.22 .
- VPS have public IP
How can I get access from my local PC to Vagrant machine ( which is inside to VPS )? I found command "redir" ( here is description: https://linux-tips.com/t/tcp-port-redirections-with-redir/199 ) but I'm not confident if is it right way.
Thanks for help.