juju-nat: Easy NAT routing for services in LXC containers

Stuart Bishop stuart.bishop at canonical.com
Fri Apr 18 08:13:16 UTC 2014


On 17 April 2014 21:23, Kapil Thangavelu <kapil.thangavelu at canonical.com> wrote:
> Unrelated but in a similar vein, if you need access to services in a
> remote/vbox local environment, you can sshuttle to the remote and route the
> lxc bridge addresses.
> sshuttle -r ubuntu at remote_machine 10.0.3.0/24

For automated tests, I'm using 'juju run' to introspect the
relationships and pull the connection details, and then 'juju ssh' to
setup port forwarding. Less useful for when you are wanting to poke
around and test manually, but working generally fine for my test
suite. The only glitch is I still need to reap the spawned ssh
subprocesses harder (Bug #

I'm not sure if I could replace this use case with Casey's plugin. My
service-unit will refuse connections that are not coming from a
related client-unit, so my tunnel needs to go via the client-unit
rather than the controller.

-- 
Stuart Bishop <stuart.bishop at canonical.com>



More information about the Juju mailing list