[Lxc-users] Setting up server in lxc container for dummies
Tony Su
tonysu at su-networking.com
Tue Aug 13 15:12:30 UTC 2013
LXC Containers are configured with their own networking, so require a
bridging device like what Michael describes. If you wanted to share
networking with the Host you could setup a chroot instead.
Port(and IP) Forwarding should be enabled, but that by itself is typically
insufficient.
After you have your networking configured properly, you should then verify
your FW isn't blocking and in some cases also verify the transparent bridge
filters are disabled, typically at
/proc/sys/net/bridge
Which might all need to be set to zero, on my machine I configured in the
sysctl.conf instead of writing directly to the /proc files.
Tony
On Aug 12, 2013 10:26 PM, "Dan Kegel" <dank at kegel.com> wrote:
> On Mon, Aug 12, 2013 at 10:14 PM, Michael Fox <michaelf at heimic.net> wrote:
> > Not sure it will help. But below is my notes on how I do it on Ubuntu
> 12.04
> > and use a bridge interface for my containers.
> >
> > http://heimic.net/2013/08/07/ubuntu-12-04-2-lts-and-lxc-continued/
>
> Thanks, I may try bridging if I can't get simple port forwarding to work.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130813/fe602720/attachment.html>
More information about the lxc-users
mailing list