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

Kapil Thangavelu kapil.thangavelu at canonical.com
Thu Apr 17 14:23:03 UTC 2014


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

cheers,
Kapil


On Thu, Apr 17, 2014 at 4:59 AM, Andrew Wilkins <
andrew.wilkins at canonical.com> wrote:

> I don't have an immediate need for this, but just wanted to say it looks
> very handy. Thanks!
>
> Cheers,
> Andrew
>
>
> On Thu, Apr 17, 2014 at 1:08 PM, Casey Marshall <
> casey.marshall at canonical.com> wrote:
>
>> All,
>> I'd like to share a small set of juju plugins I've developed:
>>
>> https://github.com/cmars/juju-nat
>>
>> The juju nat-* commands automate the tedious process of port forwarding
>> and routing for services deployed into LXC containers.
>>
>> I like to use it with the manual provider for my personal stuff, or
>> standing up test environments -- I'll deploy a bunch of services '--to
>> lxc:0', then 'juju nat-expose' the ports I need public.
>>
>> You'll need to compile from Go sources to try it out for now. If there's
>> sufficient interest, I could distribute some binaries.
>>
>> Cheers,
>> Casey
>>
>>
>> --
>> Juju mailing list
>> Juju at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/juju
>>
>>
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20140417/77782f69/attachment.html>


More information about the Juju mailing list