LXD network instance network configuration

Hello everyone.

I am new to this Linux containers thing and so far I am pretty amazed of possibilities.

Reason I got seriously interested in this is that I got old but not obsolete Dell Power edge r610 server blade and been playing with it and trying to figure how to set it up and configure properly which was bit of learning curve.

Anyways my problem is this: I got instance setup and it works well and can connect to internet (got proof since it did install one lgsm server which is running. However I can’t connect from local area network to that instance and can’t connect with game client either to server.

For me it seems that problem is that there is no route from server to that instance and I got no idea how set that up, been reading through guide but got no idea so far.

So I would really appreciate for help with this since I am not going back to old style which was running server on individual user on simple installed server.

Hello @JohnRivera!

If you use the standard lxdbr0 then only the host will have access

If you need to have access to the container from outside, then you need to make a port forward or give access to your local network

here’s how to do it

How to use the LXD Proxy Device to map ports between the host and the containers (https://blog.simos.info/how-to-use-the-lxd-proxy-device-to-map-ports-between-the -host-and-the-containers/)

How to get LXD containers get IP from the LAN with routed network (https://blog.simos.info/how-to-get-lxd-containers-get-ip-from-the-lan-with-routed-network/ )

Hope this helps you! :slight_smile:


Thanks I check that out.

@JohnRivera If there are any questions I will try to answer them!