On Fri, Sep 24, 2010 at 17:21, Daniel Lezcano <daniel.lezc...@free.fr> wrote: > On 09/24/2010 05:17 PM, Sebastien Pahl wrote: >> >> Hi, >> >> you need to setup snat or masquerading if you want your containers to >> access the network. >> >> # sysctl -w net.ipv4.ip_forward=1 >> >> snat (you need your ): >> # iptables -t nat -A POSTROUTING -o wlan0 -j SNAT --to-source=WLAN0_IP >> >> OR >> >> masquerading: >> # iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE > > mid-air collision :P >
Your response is way better anyway:-P I guess I was too lazy. -- Sebastien Pahl @sebp ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users