{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/lxd/issues/1343","repository_url":"https://api.github.com/repos/lxc/lxd","labels_url":"https://api.github.com/repos/lxc/lxd/issues/1343/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxd/issues/1343/comments","events_url":"https://api.github.com/repos/lxc/lxd/issues/1343/events","html_url":"https://github.com/lxc/lxd/issues/1343","id":118553838,"number":1343,"title":"How to access container from the LAN?","user":{"login":"techtonik","id":515889,"avatar_url":"https://avatars.githubusercontent.com/u/515889?v=3","gravatar_id":"","url":"https://api.github.com/users/techtonik","html_url":"https://github.com/techtonik","followers_url":"https://api.github.com/users/techtonik/followers","following_url":"https://api.github.com/users/techtonik/following{/other_user}","gists_url":"https://api.github.com/users/techtonik/gists{/gist_id}","starred_url":"https://api.github.com/users/techtonik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techtonik/subscriptions","organizations_url":"https://api.github.com/users/techtonik/orgs","repos_url":"https://api.github.com/users/techtonik/repos","events_url":"https://api.github.com/users/techtonik/events{/privacy}","received_events_url":"https://api.github.com/users/techtonik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":43,"created_at":"2015-11-24T08:02:41Z","updated_at":"2016-03-01T16:52:17Z","closed_at":null,"body":"Support you configured your LXD server for remote access and now can manage containers on remote machine. How do you actually run a web server on your container and access it from network?\r\n\r\nFirst, let's say that your container is able to access the network already through `lxcbr0` interface created automatically on host by LXC. But this interface is allocated for NAT (which is for one way connections), so to be able to listen to incoming connections, you need to create another interface like `lxcbr0` (called bridge) and link it to the network card (`eth0`) where you want to listen for incoming stuff.\r\n\r\nSo the final setup should be:\r\n- lxcbr0 - mapped to eth0 on guest - NAT\r\n- lxcbr1 - mapped to eth1 on guest - LAN that gets address from LAN DHCP and listens for connection\r\n\r\nThe target system is Ubuntu 15.10"},"comment":{"url":"https://api.github.com/repos/lxc/lxd/issues/comments/190807863","html_url":"https://github.com/lxc/lxd/issues/1343#issuecomment-190807863","issue_url":"https://api.github.com/repos/lxc/lxd/issues/1343","id":190807863,"user":{"login":"stgraber","id":2230599,"avatar_url":"https://avatars.githubusercontent.com/u/2230599?v=3","gravatar_id":"","url":"https://api.github.com/users/stgraber","html_url":"https://github.com/stgraber","followers_url":"https://api.github.com/users/stgraber/followers","following_url":"https://api.github.com/users/stgraber/following{/other_user}","gists_url":"https://api.github.com/users/stgraber/gists{/gist_id}","starred_url":"https://api.github.com/users/stgraber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stgraber/subscriptions","organizations_url":"https://api.github.com/users/stgraber/orgs","repos_url":"https://api.github.com/users/stgraber/repos","events_url":"https://api.github.com/users/stgraber/events{/privacy}","received_events_url":"https://api.github.com/users/stgraber/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T16:52:17Z","updated_at":"2016-03-01T16:52:17Z","body":"The upstream kernel doesn't really have bug trackers, when someone has a fix to contribute, the patch is just sent to a mailing-list for review.\r\n\r\nWell, they have https://bugzilla.kernel.org/ but it's not very actively looked at."}}