[lxc-users] ssh the LXC container from outside world

Wojtek Arabczyk arabek at gmail.com
Thu Apr 23 07:36:55 UTC 2015


> On 16 Apr 2015, at 18:24, Sitesh Behera <sitesh.behera at bankbazaar.com> wrote:
> 
> 
> My issue is i can ping the container and even ssh from the local host. But unable to do so from any other host on the 192.168.13.x network. Please note the machine which hosts LXC is also on 192.168.13.X network.

You forgot to setup packet forwarding:

net.ipv4.conf.all.forwarding in sysctl.conf

Cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150423/dc8d4bdf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150423/dc8d4bdf/attachment.sig>


More information about the lxc-users mailing list