[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nix-dev
Subject:    Re: [nix-devel] NixOS Container Bridge Networking
From:       Mark Gardner <mkg () vt ! edu>
Date:       2018-02-26 13:28:57
Message-ID: CAG=_CgD7g1n09ZZeYSwaJZi1Eu3GKyezvi+RnM1u7vQKpLXVcA () mail ! gmail ! com
[Download RAW message or body]

Hi Peter,

On Mon, Feb 26, 2018 at 4:13 AM, Peter Hoeg <peter@hoeg.com> wrote:

> I am trying to use a nixos container to contain the unifi controller. I
> > ...
> > But the networking is private. Ports have to be made available so the
> > Unifi AP can talk to the controller. I used NAT as outlined in section
> > 
> 
> We're running a bunch of unifi instances in declarative containers without
> any special networking configuration. The only thing to keep in mind is
> that the ports have to be opened on the host.
> 

​Are you using NAT or bridging? I got NAT to work but I have other services
that I would like to run that use some of the same ports as the Unifi
controller. With bridging, each container could have its own address hence
two containers running on the same port (:8080 for instance) would not
conflict with each other.

Mark
-- 
Mark Gardner
--

-- 
You received this message because you are subscribed to the Google Groups "nix-devel" \
group. To unsubscribe from this group and stop receiving emails from it, send an \
email to nix-devel+unsubscribe@googlegroups.com. To post to this group, send email to \
nix-devel@googlegroups.com. To view this discussion on the web visit \
https://groups.google.com/d/msgid/nix-devel/CAG%3D_CgD7g1n09ZZeYSwaJZi1Eu3GKyezvi%2BRnM1u7vQKpLXVcA%40mail.gmail.com.
 For more options, visit https://groups.google.com/d/optout.


[Attachment #3 (text/html)]

<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Peter,</div><div \
class="gmail_default" style="font-size:small"><br></div><div class="gmail_extra"><div \
class="gmail_quote">On Mon, Feb 26, 2018 at 4:13 AM, Peter Hoeg <span \
dir="ltr">&lt;<a href="mailto:peter@hoeg.com" \
target="_blank">peter@hoeg.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">   I am trying to \
                use a nixos container to contain the unifi controller. I<br></span>
   ...<span class=""><br>
   But the networking is private. Ports have to be made available so the<br>
   Unifi AP can talk to the controller. I used NAT as outlined in section<br>
</span></blockquote>
<br>
We&#39;re running a bunch of unifi instances in declarative containers without any \
special networking configuration. The only thing to keep in mind is that the ports \
have to be opened on the host.<br></blockquote><div><br></div><div \
class="gmail_default" style="font-size:small">​Are you using NAT or bridging? I got \
NAT to work but I have other services that I would like to run that use some of the \
same ports as the Unifi controller. With<span \
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:nor \
mal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spac \
ing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;wor \
d-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> \
bridging, each container could have its own address hence two containers running on \
the same port (:8080 for instance) would not conflict with each \
other.</span></div><div class="gmail_default" style="font-size:small"><br></div><div \
class="gmail_default" style="font-size:small">Mark</div></div>-- <br><div \
class="gmail_signature" data-smartmail="gmail_signature">Mark Gardner<br>--</div> \
</div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups \
&quot;nix-devel&quot; group.<br /> To unsubscribe from this group and stop receiving \
emails from it, send an email to <a \
href="mailto:nix-devel+unsubscribe@googlegroups.com">nix-devel+unsubscribe@googlegroups.com</a>.<br \
/> To post to this group, send email to <a \
href="mailto:nix-devel@googlegroups.com">nix-devel@googlegroups.com</a>.<br /> To \
view this discussion on the web visit <a \
href="https://groups.google.com/d/msgid/nix-devel/CAG%3D_CgD7g1n09ZZeYSwaJZi1Eu3GKyezv \
i%2BRnM1u7vQKpLXVcA%40mail.gmail.com?utm_medium=email&utm_source=footer">https://group \
s.google.com/d/msgid/nix-devel/CAG%3D_CgD7g1n09ZZeYSwaJZi1Eu3GKyezvi%2BRnM1u7vQKpLXVcA%40mail.gmail.com</a>.<br \
/> For more options, visit <a \
href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br \
/>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic